Skip to content
  • cfleizach@apple.com's avatar
    CrashTracer: [USER] 300 crashes in Safari at com.apple.WebCore:... · d440b59e
    cfleizach@apple.com authored
    CrashTracer: [USER] 300 crashes in Safari at com.apple.WebCore: WebCore::AccessibilityTable::isTableExposableThroughAccessibility + 573
    https://bugs.webkit.org/show_bug.cgi?id=42652
    
    Reviewed by Beth Dakin.
    
    WebCore: 
    
    When a table cell accesses its parent table, we should not use getOrCreate, because creating an AXTable inspects its render tree state
    which may be out of date, leading to a crash.
    By using only get(), it implies that the AXTable must be created before AXTableCells. This should
    always be the case when AT clients access a table.
    
    Test: accessibility/updating-attribute-in-table-causes-crash.html
    
    * accessibility/AccessibilityTableCell.cpp:
    (WebCore::AccessibilityTableCell::parentTable):
    
    LayoutTests: 
    
    * accessibility/updating-attribute-in-table-causes-crash-expected.txt: Added.
    * accessibility/updating-attribute-in-table-causes-crash.html: Added.
    
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@63774 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    d440b59e