Changeset 140794 in webkit


Ignore:
Timestamp:
Jan 25, 2013 12:23:58 AM (11 years ago)
Author:
dmazzoni@google.com
Message:

REGRESSION (r140658): Multiple accessibility failures on GTK
https://bugs.webkit.org/show_bug.cgi?id=107832

Reviewed by Chris Fleizach.

Source/WebCore:

In the ATK accessibility implementation, attachWrapper
might create a different object depending on the role of
the WebCore AccessibilityObject, whereas on other platforms
attachWrapper doesn't care. Calling init before attachWrapper
solves the problem.

Re-enables 7 skipped tests.

  • accessibility/AXObjectCache.cpp:

(WebCore::AXObjectCache::getOrCreate):

LayoutTests:

Re-enable accessibility tests that were skipped when they started
failing.

  • platform/gtk/TestExpectations:
Location:
trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r140792 r140794  
     12013-01-25  Dominic Mazzoni  <dmazzoni@google.com>
     2
     3        REGRESSION (r140658): Multiple accessibility failures on GTK
     4        https://bugs.webkit.org/show_bug.cgi?id=107832
     5
     6        Reviewed by Chris Fleizach.
     7
     8        Re-enable accessibility tests that were skipped when they started
     9        failing.
     10
     11        * platform/gtk/TestExpectations:
     12
    1132013-01-25  Ryosuke Niwa  <rniwa@webkit.org>
    214
  • trunk/LayoutTests/platform/gtk/TestExpectations

    r140749 r140794  
    14071407webkit.org/b/106563 fast/css/image-orientation/image-orientation.html [ Failure ]
    14081408
    1409 webkit.org/b/107832 accessibility/aria-slider-value.html [ Failure ]
    1410 webkit.org/b/107832 accessibility/aria-tables.html [ Failure ]
    1411 webkit.org/b/107832 accessibility/document-attributes.html [ Failure ]
    1412 webkit.org/b/107832 accessibility/language-attribute.html [ Failure ]
    1413 webkit.org/b/107832 accessibility/spinbutton-value.html [ Failure ]
    1414 webkit.org/b/107832 platform/gtk/accessibility/aria-slider-required-attributes.html [ Failure ]
    1415 webkit.org/b/107832 platform/gtk/accessibility/entry-and-password.html [ Failure ]
    1416 webkit.org/b/107832 platform/gtk/accessibility/replaced-objects-in-anonymous-blocks.html [ Failure ]
    1417 webkit.org/b/107832 platform/gtk/accessibility/table-hierarchy.html [ Failure ]
    1418 
    14191409#////////////////////////////////////////////////////////////////////////////////////////
    14201410# End of Tests failing
  • trunk/Source/WebCore/ChangeLog

    r140791 r140794  
     12013-01-25  Dominic Mazzoni  <dmazzoni@google.com>
     2
     3        REGRESSION (r140658): Multiple accessibility failures on GTK
     4        https://bugs.webkit.org/show_bug.cgi?id=107832
     5
     6        Reviewed by Chris Fleizach.
     7
     8        In the ATK accessibility implementation, attachWrapper
     9        might create a different object depending on the role of
     10        the WebCore AccessibilityObject, whereas on other platforms
     11        attachWrapper doesn't care. Calling init before attachWrapper
     12        solves the problem.
     13
     14        Re-enables 7 skipped tests.
     15
     16        * accessibility/AXObjectCache.cpp:
     17        (WebCore::AXObjectCache::getOrCreate):
     18
    1192013-01-24  Kent Tamura  <tkent@chromium.org>
    220
  • trunk/Source/WebCore/accessibility/AXObjectCache.cpp

    r140658 r140794  
    314314    m_widgetObjectMapping.set(widget, newObj->axObjectID());
    315315    m_objects.set(newObj->axObjectID(), newObj);   
     316    newObj->init();
    316317    attachWrapper(newObj.get());
    317     newObj->init();
    318318    return newObj.get();
    319319}
     
    349349    m_nodeObjectMapping.set(node, newObj->axObjectID());
    350350    m_objects.set(newObj->axObjectID(), newObj);
     351    newObj->init();
    351352    attachWrapper(newObj.get());
    352 
    353     newObj->init();
    354353    newObj->setCachedIsIgnoredValue(newObj->accessibilityIsIgnored());
    355354
     
    374373    m_renderObjectMapping.set(renderer, newObj->axObjectID());
    375374    m_objects.set(newObj->axObjectID(), newObj);
     375    newObj->init();
    376376    attachWrapper(newObj.get());
    377 
    378     newObj->init();
    379377    newObj->setCachedIsIgnoredValue(newObj->accessibilityIsIgnored());
    380378
     
    443441
    444442    m_objects.set(obj->axObjectID(), obj);   
     443    obj->init();
    445444    attachWrapper(obj.get());
    446     obj->init();
    447445    return obj.get();
    448446}
Note: See TracChangeset for help on using the changeset viewer.