AX: Accessing a table cell with an invalid column header crashes
authorcfleizach@apple.com <cfleizach@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 16 Apr 2014 18:04:43 +0000 (18:04 +0000)
committercfleizach@apple.com <cfleizach@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 16 Apr 2014 18:04:43 +0000 (18:04 +0000)
commit513b1a3069a6839e64ffc88e5602e87dbccae189
tree0db2a997063886cb7f21d3ad79568ebeca6f7e11
parent39d2051a0ddf5fd3d3643c82b405b0b68c43d3ba
AX: Accessing a table cell with an invalid column header crashes
https://bugs.webkit.org/show_bug.cgi?id=131719

Reviewed by Darin Adler.

If no tableCell is available as a column/row header, then do not continue processing.

Test: accessibility/table-missing-column-header-crash.html

* accessibility/AccessibilityTableCell.cpp:
(WebCore::AccessibilityTableCell::columnHeaders):
(WebCore::AccessibilityTableCell::rowHeaders):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@167361 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/accessibility/table-missing-column-header-crash-expected.txt [new file with mode: 0644]
LayoutTests/accessibility/table-missing-column-header-crash.html [new file with mode: 0644]
Source/WebCore/ChangeLog
Source/WebCore/accessibility/AccessibilityTableCell.cpp