Title: [290723] trunk/LayoutTests
Revision
290723
Author
[email protected]
Date
2022-03-02 00:49:29 -0800 (Wed, 02 Mar 2022)

Log Message

[ATSPI] Test accessibility/select-element-at-index.html is failing
https://bugs.webkit.org/show_bug.cgi?id=237315

Reviewed by Adrian Perez de Castro.

This is because the test contains platform specific behavior for ATK that was migrated to ATSPI by mistake. We
should behave like all other ports now.

* accessibility/select-element-at-index.html:
* platform/glib/TestExpectations:

Modified Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (290722 => 290723)


--- trunk/LayoutTests/ChangeLog	2022-03-02 08:09:08 UTC (rev 290722)
+++ trunk/LayoutTests/ChangeLog	2022-03-02 08:49:29 UTC (rev 290723)
@@ -1,3 +1,16 @@
+2022-03-02  Carlos Garcia Campos  <[email protected]>
+
+        [ATSPI] Test accessibility/select-element-at-index.html is failing
+        https://bugs.webkit.org/show_bug.cgi?id=237315
+
+        Reviewed by Adrian Perez de Castro.
+
+        This is because the test contains platform specific behavior for ATK that was migrated to ATSPI by mistake. We
+        should behave like all other ports now.
+
+        * accessibility/select-element-at-index.html:
+        * platform/glib/TestExpectations:
+
 2022-03-01  Devin Rousso  <[email protected]>
 
         Web Inspector: add a switch to control whether breakpoint evaluations (condition, ignore count, actions) are also affected by script blackboxing

Modified: trunk/LayoutTests/accessibility/select-element-at-index.html (290722 => 290723)


--- trunk/LayoutTests/accessibility/select-element-at-index.html	2022-03-02 08:09:08 UTC (rev 290722)
+++ trunk/LayoutTests/accessibility/select-element-at-index.html	2022-03-02 08:49:29 UTC (rev 290723)
@@ -51,13 +51,7 @@
         // "Option 4" is the third of three selected items, thus the index should be 2.
         shouldBeTrue("selectElement.selectedChildAtIndex(2).isEqual(option4)");
 
-        // In ATSPI removeSelectionAtIndex() the index is with respect to the array of
-        // selected children; not the array of all children. Thus to remove the selection
-        // from "Option 4" in ATSPI, we again need to specify an index of 2.
-        if (accessibilityController.platformName == "atspi")
-            selectElement.removeSelectionAtIndex(2);
-        else
-            selectElement.removeSelectionAtIndex(3);
+        selectElement.removeSelectionAtIndex(3);
         shouldBeFalse("option4.isSelected");
         shouldBe("selectElement.selectedChildrenCount", "2");
 

Modified: trunk/LayoutTests/platform/glib/TestExpectations (290722 => 290723)


--- trunk/LayoutTests/platform/glib/TestExpectations	2022-03-02 08:09:08 UTC (rev 290722)
+++ trunk/LayoutTests/platform/glib/TestExpectations	2022-03-02 08:49:29 UTC (rev 290723)
@@ -413,9 +413,6 @@
 
 webkit.org/b/232256 accessibility/auto-fill-crash.html [ Timeout ]
 
-# Tests failing with ATSPI implementation.
-webkit.org/b/235941 accessibility/select-element-at-index.html [ Failure ]
-
 #////////////////////////////////////////////////////////////////////////////////////////
 # End of Accessibility-related bugs
 #////////////////////////////////////////////////////////////////////////////////////////
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to