CrashTracer: 874 crashes in Safari at com.apple.WebCore: WebCore::AccessibilityTable...
authorcfleizach@apple.com <cfleizach@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 13 Sep 2010 20:55:48 +0000 (20:55 +0000)
committercfleizach@apple.com <cfleizach@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 13 Sep 2010 20:55:48 +0000 (20:55 +0000)
commit9d311c4ac3da040e17d322dfe6e636eb3141e786
treee477a5306b145dd106cb9ed7634d93ee37f1adcf
parent44140fca5f6c04ba00e7d7147ab1ca1d6c7ccb58
CrashTracer: 874 crashes in Safari at com.apple.WebCore: WebCore::AccessibilityTable::isTableExposableThroughAccessibility + 663
https://bugs.webkit.org/show_bug.cgi?id=45697

Reviewed by Darin Adler.

WebCore:

Inside of AccessibilityTableRow, parentTable() should not use getOrCreate() on the parent table, because the render table may
be in a bad state and accessing internal variables can lead to a crash.

Test: platform/mac/accessibility/updating-attribute-in-table-row-crash.html

* accessibility/AccessibilityTableRow.cpp:
(WebCore::AccessibilityTableRow::parentTable):

LayoutTests:

* platform/mac/accessibility/updating-attribute-in-table-row-crash-expected.txt: Added.
* platform/mac/accessibility/updating-attribute-in-table-row-crash.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@67407 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/platform/mac/accessibility/updating-attribute-in-table-row-crash-expected.txt [new file with mode: 0644]
LayoutTests/platform/mac/accessibility/updating-attribute-in-table-row-crash.html [new file with mode: 0644]
WebCore/ChangeLog
WebCore/accessibility/AccessibilityTableRow.cpp