Title: [140794] trunk
Revision
140794
Author
[email protected]
Date
2013-01-25 00:23:58 -0800 (Fri, 25 Jan 2013)

Log 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:

Modified Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (140793 => 140794)


--- trunk/LayoutTests/ChangeLog	2013-01-25 08:21:37 UTC (rev 140793)
+++ trunk/LayoutTests/ChangeLog	2013-01-25 08:23:58 UTC (rev 140794)
@@ -1,3 +1,15 @@
+2013-01-25  Dominic Mazzoni  <[email protected]>
+
+        REGRESSION (r140658): Multiple accessibility failures on GTK
+        https://bugs.webkit.org/show_bug.cgi?id=107832
+
+        Reviewed by Chris Fleizach.
+
+        Re-enable accessibility tests that were skipped when they started
+        failing.
+
+        * platform/gtk/TestExpectations:
+
 2013-01-25  Ryosuke Niwa  <[email protected]>
 
         (Hopefully) Final Mac rebaselines for r140728.

Modified: trunk/LayoutTests/platform/gtk/TestExpectations (140793 => 140794)


--- trunk/LayoutTests/platform/gtk/TestExpectations	2013-01-25 08:21:37 UTC (rev 140793)
+++ trunk/LayoutTests/platform/gtk/TestExpectations	2013-01-25 08:23:58 UTC (rev 140794)
@@ -1406,16 +1406,6 @@
 
 webkit.org/b/106563 fast/css/image-orientation/image-orientation.html [ Failure ]
 
-webkit.org/b/107832 accessibility/aria-slider-value.html [ Failure ]
-webkit.org/b/107832 accessibility/aria-tables.html [ Failure ]
-webkit.org/b/107832 accessibility/document-attributes.html [ Failure ]
-webkit.org/b/107832 accessibility/language-attribute.html [ Failure ]
-webkit.org/b/107832 accessibility/spinbutton-value.html [ Failure ]
-webkit.org/b/107832 platform/gtk/accessibility/aria-slider-required-attributes.html [ Failure ]
-webkit.org/b/107832 platform/gtk/accessibility/entry-and-password.html [ Failure ]
-webkit.org/b/107832 platform/gtk/accessibility/replaced-objects-in-anonymous-blocks.html [ Failure ]
-webkit.org/b/107832 platform/gtk/accessibility/table-hierarchy.html [ Failure ]
-
 #////////////////////////////////////////////////////////////////////////////////////////
 # End of Tests failing
 #////////////////////////////////////////////////////////////////////////////////////////

Modified: trunk/Source/WebCore/ChangeLog (140793 => 140794)


--- trunk/Source/WebCore/ChangeLog	2013-01-25 08:21:37 UTC (rev 140793)
+++ trunk/Source/WebCore/ChangeLog	2013-01-25 08:23:58 UTC (rev 140794)
@@ -1,3 +1,21 @@
+2013-01-25  Dominic Mazzoni  <[email protected]>
+
+        REGRESSION (r140658): Multiple accessibility failures on GTK
+        https://bugs.webkit.org/show_bug.cgi?id=107832
+
+        Reviewed by Chris Fleizach.
+
+        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):
+
 2013-01-24  Kent Tamura  <[email protected]>
 
         INPUT_MULTIPLE_FIELDS_UI: Refactoring: Remove confusing minimum() and maximum() of DateTimeSymbolicFieldElement

Modified: trunk/Source/WebCore/accessibility/AXObjectCache.cpp (140793 => 140794)


--- trunk/Source/WebCore/accessibility/AXObjectCache.cpp	2013-01-25 08:21:37 UTC (rev 140793)
+++ trunk/Source/WebCore/accessibility/AXObjectCache.cpp	2013-01-25 08:23:58 UTC (rev 140794)
@@ -313,8 +313,8 @@
     
     m_widgetObjectMapping.set(widget, newObj->axObjectID());
     m_objects.set(newObj->axObjectID(), newObj);    
-    attachWrapper(newObj.get());
     newObj->init();
+    attachWrapper(newObj.get());
     return newObj.get();
 }
 
@@ -348,9 +348,8 @@
 
     m_nodeObjectMapping.set(node, newObj->axObjectID());
     m_objects.set(newObj->axObjectID(), newObj);
-    attachWrapper(newObj.get());
-
     newObj->init();
+    attachWrapper(newObj.get());
     newObj->setCachedIsIgnoredValue(newObj->accessibilityIsIgnored());
 
     return newObj.get();
@@ -373,9 +372,8 @@
 
     m_renderObjectMapping.set(renderer, newObj->axObjectID());
     m_objects.set(newObj->axObjectID(), newObj);
-    attachWrapper(newObj.get());
-
     newObj->init();
+    attachWrapper(newObj.get());
     newObj->setCachedIsIgnoredValue(newObj->accessibilityIsIgnored());
 
     return newObj.get();
@@ -442,8 +440,8 @@
         return 0;
 
     m_objects.set(obj->axObjectID(), obj);    
-    attachWrapper(obj.get());
     obj->init();
+    attachWrapper(obj.get());
     return obj.get();
 }
 
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to