-
dmazzoni@google.com authored
https://bugs.webkit.org/show_bug.cgi?id=87409 Reviewed by Abhishek Arya. Source/WebCore: Use Node::rendererIsEditable everywhere rather than Node::isContentEditable because the latter can trigger a layout and destroy the renderer. New test covers the change to AccessibilityTable.cpp, changes to AccessibilityRenderObject.cpp are covered by existing tests. Test: accessibility/contenteditable-table-check-causes-crash.html * accessibility/AccessibilityRenderObject.cpp: (WebCore::AccessibilityRenderObject::isReadOnly): (WebCore::AccessibilityRenderObject::contentChanged): * accessibility/AccessibilityTable.cpp: (WebCore::AccessibilityTable::isDataTable): LayoutTests: * accessibility/contenteditable-table-check-causes-crash-expected.txt: Added. * accessibility/contenteditable-table-check-causes-crash.html: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@118478 268f45cc-cd09-0410-ab3c-d52691b4dbfc
26c2d428