Title: [137619] trunk/LayoutTests
Revision
137619
Author
[email protected]
Date
2012-12-13 11:02:07 -0800 (Thu, 13 Dec 2012)

Log Message

[GTK] accessibiltiy/aria-hidden.html is failing
https://bugs.webkit.org/show_bug.cgi?id=98352

Patch by Joanmarie Diggs <[email protected]> on 2012-12-13
Reviewed by Martin Robinson.

The test is failing due to platform differences in the implementation of
AccessibilityUIElement::allAttributes(). This test does not require this
method as it is only looking at the AXTitle attribute.

* accessibility/aria-hidden-expected.txt: Included the actual reason for
passing/failing in the results output.
* accessibility/aria-hidden.html: Included the actual reason for passing/
failing in the results output.
* platform/gtk/TestExpectations: Unskipped the failing test.

Modified Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (137618 => 137619)


--- trunk/LayoutTests/ChangeLog	2012-12-13 19:02:07 UTC (rev 137618)
+++ trunk/LayoutTests/ChangeLog	2012-12-13 19:02:07 UTC (rev 137619)
@@ -1,3 +1,20 @@
+2012-12-13  Joanmarie Diggs  <[email protected]>
+
+        [GTK] accessibiltiy/aria-hidden.html is failing
+        https://bugs.webkit.org/show_bug.cgi?id=98352
+
+        Reviewed by Martin Robinson.
+
+        The test is failing due to platform differences in the implementation of
+        AccessibilityUIElement::allAttributes(). This test does not require this
+        method as it is only looking at the AXTitle attribute.
+
+        * accessibility/aria-hidden-expected.txt: Included the actual reason for
+        passing/failing in the results output.
+        * accessibility/aria-hidden.html: Included the actual reason for passing/
+        failing in the results output.
+        * platform/gtk/TestExpectations: Unskipped the failing test.
+
 2012-12-13  Adam Klein  <[email protected]>
 
         Unreviewed. Update chromium expectatins for fonts/monospace.html

Modified: trunk/LayoutTests/accessibility/aria-hidden-expected.txt (137618 => 137619)


--- trunk/LayoutTests/accessibility/aria-hidden-expected.txt	2012-12-13 19:02:07 UTC (rev 137618)
+++ trunk/LayoutTests/accessibility/aria-hidden-expected.txt	2012-12-13 19:02:07 UTC (rev 137619)
@@ -7,7 +7,7 @@
 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
 
 
-PASS succeeded is true
+PASS h2.title is 'AXTitle: h2'
 PASS successfullyParsed is true
 
 TEST COMPLETE

Modified: trunk/LayoutTests/accessibility/aria-hidden.html (137618 => 137619)


--- trunk/LayoutTests/accessibility/aria-hidden.html	2012-12-13 19:02:07 UTC (rev 137618)
+++ trunk/LayoutTests/accessibility/aria-hidden.html	2012-12-13 19:02:07 UTC (rev 137619)
@@ -18,9 +18,7 @@
           var body = document.getElementById("body");
           body.focus();
           var h2 = accessibilityController.focusedElement.childAtIndex(0);
-          var pattern = "AXTitle: h2";
-          var succeeded = h2.allAttributes().indexOf(pattern) != -1;
-          shouldBe("succeeded", "true");
+          shouldBe("h2.title", "'AXTitle: h2'");
     }
 
 </script>

Modified: trunk/LayoutTests/platform/gtk/TestExpectations (137618 => 137619)


--- trunk/LayoutTests/platform/gtk/TestExpectations	2012-12-13 19:02:07 UTC (rev 137618)
+++ trunk/LayoutTests/platform/gtk/TestExpectations	2012-12-13 19:02:07 UTC (rev 137619)
@@ -760,7 +760,6 @@
 
 webkit.org/b/79757 fast/selectors/selection-window-inactive.html [ ImageOnlyFailure ]
 
-webkit.org/b/98352 accessibility/aria-hidden.html [ Failure ]
 webkit.org/b/98353 accessibility/aria-hidden-with-elements.html [ Failure ]
 webkit.org/b/98354 accessibility/aria-labelledby-overrides-label.html [ Failure ]
 webkit.org/b/98355 accessibility/aria-link-supports-press.html [ Failure ]
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to