-
cfleizach@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=112396 Reviewed by Tim Horton. Source/WebCore: Prevent nil access to items in the ARIA menu flow when deleting objects from the DOM. Test: accessibility/menu-item-crash.html * accessibility/AccessibilityNodeObject.cpp: (WebCore::siblingWithAriaRole): (WebCore::AccessibilityNodeObject::menuButtonForMenu): LayoutTests: * accessibility/menu-item-crash-expected.txt: Added. * accessibility/menu-item-crash.html: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@145866 268f45cc-cd09-0410-ab3c-d52691b4dbfc
5fb8b4b8