Title: [288872] trunk
Revision
288872
Author
[email protected]
Date
2022-02-01 04:29:00 -0800 (Tue, 01 Feb 2022)

Log Message

[GTK][WPE] Switch to use ATSPI instead of ATK
https://bugs.webkit.org/show_bug.cgi?id=235942

Reviewed by Adrian Perez de Castro.

.:

Use ATSPI by default.

* Source/cmake/OptionsGTK.cmake:
* Source/cmake/OptionsWPE.cmake:

LayoutTests:

Update test expectations.

* accessibility/aria-table-attributes.html:
* accessibility/combo-box-collapsed-selection-changed.html:
* accessibility/gtk/caret-browsing-select-focus-expected.txt:
* accessibility/gtk/caret-browsing-select-focus.html:
* accessibility/gtk/caret-browsing-text-focus-expected.txt: Removed.
* accessibility/gtk/caret-browsing-text-focus.html: Removed.
* accessibility/gtk/combobox-descendants-orientation-crash-expected.txt: Removed.
* accessibility/gtk/combobox-descendants-orientation-crash.html: Removed.
* accessibility/gtk/object-attributes-expected.txt:
* accessibility/gtk/spans-paragraphs-and-divs-tree-expected.txt:
* accessibility/menu-list-sends-change-notification.html:
* platform/glib/TestExpectations:
* platform/glib/accessibility/aria-combobox-expected.txt: Added.
* platform/glib/accessibility/aria-combobox-hierarchy-expected.txt:
* platform/glib/accessibility/aria-table-attributes-expected.txt: Removed.
* platform/glib/accessibility/combo-box-collapsed-selection-changed-expected.txt: Added.
* platform/glib/accessibility/content-editable-as-textarea-expected.txt:
* platform/glib/accessibility/lists-expected.txt:
* platform/glib/accessibility/menu-list-sends-change-notification-expected.txt: Removed.
* platform/glib/accessibility/multiselect-list-reports-active-option-expected.txt: Added.
* platform/glib/accessibility/svg-remote-element-expected.txt:
* platform/glib/accessibility/table-attributes-expected.txt:
* platform/glib/accessibility/table-one-cell-expected.txt:
* platform/glib/accessibility/table-sections-expected.txt:
* platform/glib/accessibility/transformed-element-expected.txt:
* platform/gtk/TestExpectations:

Modified Paths

Added Paths

Removed Paths

Diff

Modified: trunk/ChangeLog (288871 => 288872)


--- trunk/ChangeLog	2022-02-01 10:32:27 UTC (rev 288871)
+++ trunk/ChangeLog	2022-02-01 12:29:00 UTC (rev 288872)
@@ -1,3 +1,15 @@
+2022-02-01  Carlos Garcia Campos  <[email protected]>
+
+        [GTK][WPE] Switch to use ATSPI instead of ATK
+        https://bugs.webkit.org/show_bug.cgi?id=235942
+
+        Reviewed by Adrian Perez de Castro.
+
+        Use ATSPI by default.
+
+        * Source/cmake/OptionsGTK.cmake:
+        * Source/cmake/OptionsWPE.cmake:
+
 2022-02-01  Tim Nguyen  <[email protected]>
 
         Entirely remove support for -apple-trailing-word

Modified: trunk/LayoutTests/ChangeLog (288871 => 288872)


--- trunk/LayoutTests/ChangeLog	2022-02-01 10:32:27 UTC (rev 288871)
+++ trunk/LayoutTests/ChangeLog	2022-02-01 12:29:00 UTC (rev 288872)
@@ -1,3 +1,39 @@
+2022-02-01  Carlos Garcia Campos  <[email protected]>
+
+        [GTK][WPE] Switch to use ATSPI instead of ATK
+        https://bugs.webkit.org/show_bug.cgi?id=235942
+
+        Reviewed by Adrian Perez de Castro.
+
+        Update test expectations.
+
+        * accessibility/aria-table-attributes.html:
+        * accessibility/combo-box-collapsed-selection-changed.html:
+        * accessibility/gtk/caret-browsing-select-focus-expected.txt:
+        * accessibility/gtk/caret-browsing-select-focus.html:
+        * accessibility/gtk/caret-browsing-text-focus-expected.txt: Removed.
+        * accessibility/gtk/caret-browsing-text-focus.html: Removed.
+        * accessibility/gtk/combobox-descendants-orientation-crash-expected.txt: Removed.
+        * accessibility/gtk/combobox-descendants-orientation-crash.html: Removed.
+        * accessibility/gtk/object-attributes-expected.txt:
+        * accessibility/gtk/spans-paragraphs-and-divs-tree-expected.txt:
+        * accessibility/menu-list-sends-change-notification.html:
+        * platform/glib/TestExpectations:
+        * platform/glib/accessibility/aria-combobox-expected.txt: Added.
+        * platform/glib/accessibility/aria-combobox-hierarchy-expected.txt:
+        * platform/glib/accessibility/aria-table-attributes-expected.txt: Removed.
+        * platform/glib/accessibility/combo-box-collapsed-selection-changed-expected.txt: Added.
+        * platform/glib/accessibility/content-editable-as-textarea-expected.txt:
+        * platform/glib/accessibility/lists-expected.txt:
+        * platform/glib/accessibility/menu-list-sends-change-notification-expected.txt: Removed.
+        * platform/glib/accessibility/multiselect-list-reports-active-option-expected.txt: Added.
+        * platform/glib/accessibility/svg-remote-element-expected.txt:
+        * platform/glib/accessibility/table-attributes-expected.txt:
+        * platform/glib/accessibility/table-one-cell-expected.txt:
+        * platform/glib/accessibility/table-sections-expected.txt:
+        * platform/glib/accessibility/transformed-element-expected.txt:
+        * platform/gtk/TestExpectations:
+
 2022-02-01  Tim Nguyen  <[email protected]>
 
         Entirely remove support for -apple-trailing-word

Modified: trunk/LayoutTests/accessibility/aria-table-attributes.html (288871 => 288872)


--- trunk/LayoutTests/accessibility/aria-table-attributes.html	2022-02-01 10:32:27 UTC (rev 288871)
+++ trunk/LayoutTests/accessibility/aria-table-attributes.html	2022-02-01 12:29:00 UTC (rev 288872)
@@ -81,14 +81,9 @@
           // aria-colcount and aria-rowcount
           shouldBe("grid.numberAttributeValue('AXARIAColumnCount')", "16");
           shouldBe("grid.numberAttributeValue('AXARIARowCount')", "30");
-          if (accessibilityController.platformName == "atk") {
-              shouldBe("grid.rowCount", "30");
-              shouldBe("grid.columnCount", "16");
-          } else {
-              shouldBe("grid.rowCount", "4");
-              shouldBe("grid.columnCount", "4");
-          }
-          
+          shouldBe("grid.rowCount", "4");
+          shouldBe("grid.columnCount", "4");
+
           // aria-colindex and aria-rowindex
           shouldBe("cell1.numberAttributeValue('AXARIAColumnIndex')", "2");
           shouldBe("cell1.numberAttributeValue('AXARIARowIndex')", "7");
@@ -98,16 +93,10 @@
           shouldBe("cell4.numberAttributeValue('AXARIAColumnIndex')", "3");
           
           // aria-colspan and aria-rowspan, including aria-rowspan="0"
-          if (accessibilityController.platformName == "atk") {
-              // 0-based because these methods use the AtkTableCell interface
-              shouldBe("cell2.rowIndexRange()", "'{7, 2}'");
-              shouldBe("cell5.columnIndexRange()", "'{3, 3}'");
-              shouldBe("cell3.rowIndexRange()", "'{7, 2}'");
-          } else {
-              shouldBe("cell2.rowIndexRange()", "'{1, 2}'");
-              shouldBe("cell5.columnIndexRange()", "'{2, 3}'");
-              shouldBe("cell3.rowIndexRange()", "'{1, 2}'");
-          }
+          shouldBe("cell2.rowIndexRange()", "'{1, 2}'");
+          shouldBe("cell5.columnIndexRange()", "'{2, 3}'");
+          shouldBe("cell3.rowIndexRange()", "'{1, 2}'");
+
           shouldBe("cell6.rowIndexRange()", "'{0, 2}'");
           // use rowspan for native table
           shouldBe("cell7.rowIndexRange()", "'{0, 2}'");

Modified: trunk/LayoutTests/accessibility/combo-box-collapsed-selection-changed.html (288871 => 288872)


--- trunk/LayoutTests/accessibility/combo-box-collapsed-selection-changed.html	2022-02-01 10:32:27 UTC (rev 288871)
+++ trunk/LayoutTests/accessibility/combo-box-collapsed-selection-changed.html	2022-02-01 12:29:00 UTC (rev 288872)
@@ -33,8 +33,9 @@
     document.getElementById("combo").focus();
 
     axCombo = accessibilityController.focusedElement;
-    axCombo.addNotificationListener(function (notification) {
-        if (notification == "AXSelectedChildrenChanged")
+    var eventTarget = accessibilityController.platformName == "atk" ? axCombo.childAtIndex(0) : axCombo;
+    eventTarget.addNotificationListener(function (notification) {
+        if (notification == "AXSelectedChildrenChanged" || notification == "AXMenuItemSelected")
             selectionChangedNotifications++;
     });
 
@@ -45,9 +46,13 @@
 
     window.setTimeout(function() {
         if (window.accessibilityController)
-            axCombo.removeNotificationListener();
+            eventTarget.removeNotificationListener();
 
-        shouldBe("selectionChangedNotifications", "4");
+        // ATSPI sends one selection change notification per run loop iteration.
+        if (accessibilityController.platformName == "atk")
+            shouldBe("selectionChangedNotifications", "1");
+        else
+            shouldBe("selectionChangedNotifications", "4");
         finishJSTest();
     }, 0);
 }

Modified: trunk/LayoutTests/accessibility/gtk/caret-browsing-select-focus-expected.txt (288871 => 288872)


--- trunk/LayoutTests/accessibility/gtk/caret-browsing-select-focus-expected.txt	2022-02-01 10:32:27 UTC (rev 288871)
+++ trunk/LayoutTests/accessibility/gtk/caret-browsing-select-focus-expected.txt	2022-02-01 12:29:00 UTC (rev 288872)
@@ -8,29 +8,23 @@
 
 PASS axCombo.role is 'AXRole: AXComboBox'
 PASS axMenuItemFoo.role is 'AXRole: AXMenuItem'
-PASS axPar.role is 'AXRole: AXParagraph'
 PASS axCombo.isFocusable is true
 PASS axMenuItemFoo.isFocusable is false
 PASS axMenuItemBar.isFocusable is false
 PASS axMenuItemFoo.isSelectable is true
 PASS axMenuItemBar.isSelectable is true
-PASS axPar.isFocusable is true
 PASS axCombo.isFocused is false
 PASS axMenuItemFoo.isSelected is true
 PASS axMenuItemBar.isSelected is false
-PASS axPar.isFocused is false
 PASS axCombo.isFocused is true
 PASS axMenuItemFoo.isSelected is true
 PASS axMenuItemBar.isSelected is false
-PASS axPar.isFocused is false
 PASS axCombo.isFocused is true
 PASS axMenuItemFoo.isSelected is false
 PASS axMenuItemBar.isSelected is true
-PASS axPar.isFocused is false
 PASS axCombo.isFocused is false
 PASS axMenuItemFoo.isSelected is false
 PASS axMenuItemBar.isSelected is true
-PASS axPar.isFocused is true
 PASS successfullyParsed is true
 
 TEST COMPLETE

Modified: trunk/LayoutTests/accessibility/gtk/caret-browsing-select-focus.html (288871 => 288872)


--- trunk/LayoutTests/accessibility/gtk/caret-browsing-select-focus.html	2022-02-01 10:32:27 UTC (rev 288871)
+++ trunk/LayoutTests/accessibility/gtk/caret-browsing-select-focus.html	2022-02-01 12:29:00 UTC (rev 288872)
@@ -25,7 +25,6 @@
     var axCombo = webArea.childAtIndex(0).childAtIndex(0);
     var axMenuItemFoo = axCombo.childAtIndex(0).childAtIndex(0);
     var axMenuItemBar = axCombo.childAtIndex(0).childAtIndex(1);
-    var axPar = webArea.childAtIndex(1);
 
     // Check roles and initial states
     // Move the caret once to force the focus onto this toplevel
@@ -34,17 +33,14 @@
     eventSender.keyDown("rightArrow");
     shouldBe("axCombo.role", "'AXRole: AXComboBox'");
     shouldBe("axMenuItemFoo.role", "'AXRole: AXMenuItem'");
-    shouldBe("axPar.role", "'AXRole: AXParagraph'");
     shouldBe("axCombo.isFocusable", "true");
     shouldBe("axMenuItemFoo.isFocusable", "false");
     shouldBe("axMenuItemBar.isFocusable", "false");
     shouldBe("axMenuItemFoo.isSelectable", "true");
     shouldBe("axMenuItemBar.isSelectable", "true");
-    shouldBe("axPar.isFocusable", "true");
     shouldBe("axCombo.isFocused", "false");
     shouldBe("axMenuItemFoo.isSelected", "true");
     shouldBe("axMenuItemBar.isSelected", "false");
-    shouldBe("axPar.isFocused", "false");
 
     // set the focus on the paragraph
     // "Tab" into the combo
@@ -52,7 +48,6 @@
     shouldBe("axCombo.isFocused", "true");
     shouldBe("axMenuItemFoo.isSelected", "true");
     shouldBe("axMenuItemBar.isSelected", "false");
-    shouldBe("axPar.isFocused", "false");
 
     // Move to the next element in the combo box
     eventSender.keyDown("downArrow");
@@ -59,7 +54,6 @@
     shouldBe("axCombo.isFocused", "true");
     shouldBe("axMenuItemFoo.isSelected", "false");
     shouldBe("axMenuItemBar.isSelected", "true");
-    shouldBe("axPar.isFocused", "false");
 
     // Press the right arrow to exit the combo (this moves to the html body).
     // Then press the down arrow to enter the paragraph.
@@ -69,8 +63,6 @@
     shouldBe("axCombo.isFocused", "false");
     shouldBe("axMenuItemFoo.isSelected", "false");
     shouldBe("axMenuItemBar.isSelected", "true");
-    shouldBe("axPar.isFocused", "true");
-
   }
 }
 

Deleted: trunk/LayoutTests/accessibility/gtk/caret-browsing-text-focus-expected.txt (288871 => 288872)


--- trunk/LayoutTests/accessibility/gtk/caret-browsing-text-focus-expected.txt	2022-02-01 10:32:27 UTC (rev 288871)
+++ trunk/LayoutTests/accessibility/gtk/caret-browsing-text-focus-expected.txt	2022-02-01 12:29:00 UTC (rev 288872)
@@ -1,30 +0,0 @@
-A paragraph with a
-line break in the middle
-
-A paragraph with a single line
-
-This tests the FOCUSABLE and FOCUSED states for text objects.
-
-On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-
-
-PASS axPar1.role is 'AXRole: AXParagraph'
-PASS axPar2.role is 'AXRole: AXParagraph'
-PASS axPar1.isFocusable is true
-PASS axPar2.isFocusable is true
-PASS axPar1.isFocused is false
-PASS axPar2.isFocused is false
-PASS axPar1.isFocused is true
-PASS axPar2.isFocused is false
-PASS axPar1.isFocused is true
-PASS axPar2.isFocused is false
-PASS axPar1.isFocused is false
-PASS axPar2.isFocused is true
-PASS axPar1.isFocused is true
-PASS axPar2.isFocused is false
-PASS axPar1.isFocused is false
-PASS axPar2.isFocused is true
-PASS successfullyParsed is true
-
-TEST COMPLETE
-

Deleted: trunk/LayoutTests/accessibility/gtk/caret-browsing-text-focus.html (288871 => 288872)


--- trunk/LayoutTests/accessibility/gtk/caret-browsing-text-focus.html	2022-02-01 10:32:27 UTC (rev 288871)
+++ trunk/LayoutTests/accessibility/gtk/caret-browsing-text-focus.html	2022-02-01 12:29:00 UTC (rev 288872)
@@ -1,64 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
-<html>
-<head>
-<script src=""
-</head>
-<body id="body">
-<p id="par1">A paragraph with a<br />line break in the middle</p>
-<p id="par2">A paragraph with a single line</p>
-<p id="description"></p>
-<div id="console"></div>
-<script>
-description("This tests the FOCUSABLE and FOCUSED states for text objects.");
-
-if (window.testRunner && window.internals) {
-  internals.settings.setCaretBrowsingEnabled(true);
-  testRunner.dumpAsText();
-
-  if (window.accessibilityController) {
-
-    document.getElementById("body").focus();
-    var webArea = accessibilityController.focusedElement;
-
-    var axPar1 = webArea.childAtIndex(0);
-    var axPar2 = webArea.childAtIndex(1);
-
-    // Check roles and initial states
-    shouldBe("axPar1.role", "'AXRole: AXParagraph'");
-    shouldBe("axPar2.role", "'AXRole: AXParagraph'");
-    shouldBe("axPar1.isFocusable", "true");
-    shouldBe("axPar2.isFocusable", "true");
-    shouldBe("axPar1.isFocused", "false");
-    shouldBe("axPar2.isFocused", "false");
-
-    // Set caret in the first line of the first paragraph
-    var par1 = document.getElementById("par1");
-    window.getSelection().setPosition(par1.childNodes.item(0), 10);
-    shouldBe("axPar1.isFocused", "true");
-    shouldBe("axPar2.isFocused", "false");
-
-    // Move the caret down to the second line (same paragraph)
-    eventSender.keyDown("downArrow");
-    shouldBe("axPar1.isFocused", "true");
-    shouldBe("axPar2.isFocused", "false");
-
-    // Move the caret down and up (across different paragraphs)
-    eventSender.keyDown("downArrow");
-    shouldBe("axPar1.isFocused", "false");
-    shouldBe("axPar2.isFocused", "true");
-    eventSender.keyDown("upArrow");
-    shouldBe("axPar1.isFocused", "true");
-    shouldBe("axPar2.isFocused", "false");
-
-    // Explicitly put the caret in the middle of the second paragraph
-    var par2 = document.getElementById("par2");
-    window.getSelection().setPosition(par2.childNodes.item(0), 10);
-    shouldBe("axPar1.isFocused", "false");
-    shouldBe("axPar2.isFocused", "true");
-  }
-}
-
-</script>
-<script src=""
-</body>
-</html>

Deleted: trunk/LayoutTests/accessibility/gtk/combobox-descendants-orientation-crash-expected.txt (288871 => 288872)


--- trunk/LayoutTests/accessibility/gtk/combobox-descendants-orientation-crash-expected.txt	2022-02-01 10:32:27 UTC (rev 288871)
+++ trunk/LayoutTests/accessibility/gtk/combobox-descendants-orientation-crash-expected.txt	2022-02-01 12:29:00 UTC (rev 288872)
@@ -1,18 +0,0 @@
-This verifies that getting the orientation of combobox descendants won't crash if the combobox is removed from the document.
-
-On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-
-
-AXRole: AXComboBox has orientation: AXOrientation: AXHorizontalOrientation
-
-Before combobox removal
-AXRole: AXMenu has orientation: AXOrientation: AXUnknownOrientation
-AXRole: AXMenuItem has orientation: AXOrientation: AXHorizontalOrientation
-
-After combobox removal
-AXRole: AXInvalid has orientation: AXOrientation: AXUnknownOrientation
-AXRole: AXInvalid has orientation: AXOrientation: AXUnknownOrientation
-PASS successfullyParsed is true
-
-TEST COMPLETE
-

Deleted: trunk/LayoutTests/accessibility/gtk/combobox-descendants-orientation-crash.html (288871 => 288872)


--- trunk/LayoutTests/accessibility/gtk/combobox-descendants-orientation-crash.html	2022-02-01 10:32:27 UTC (rev 288871)
+++ trunk/LayoutTests/accessibility/gtk/combobox-descendants-orientation-crash.html	2022-02-01 12:29:00 UTC (rev 288872)
@@ -1,38 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
-<html>
-<head>
-<script src=""
-</head>
-<body>
-<select id="combobox">
-<option value="foo">foo</option>
-<option value="bar">bar</option>
-</select>
-<p id="description"></p>
-<div id="console"></div>
-<script>
-description("This verifies that getting the orientation of combobox descendants won't crash if the combobox is removed from the document.");
-
-if (window.testRunner && window.accessibilityController) {
-    var combobox = document.getElementById("combobox");
-    combobox.focus();
-
-    var axCombobox = accessibilityController.focusedElement;
-    var axMenu = axCombobox.childAtIndex(0);
-    var axMenuItem = axMenu.childAtIndex(0);
-
-    debug(axCombobox.role + " has orientation: " + axCombobox.orientation);
-
-    debug("\nBefore combobox removal");
-    debug(axMenu.role + " has orientation: " + axMenu.orientation);
-    debug(axMenuItem.role + " has orientation: " + axMenuItem.orientation);
-
-    document.body.removeChild(combobox);
-    debug("\nAfter combobox removal");
-    debug(axMenu.role + " has orientation: " + axMenu.orientation);
-    debug(axMenuItem.role + " has orientation: " + axMenuItem.orientation);
-}
-</script>
-<script src=""
-</body>
-</html>

Modified: trunk/LayoutTests/accessibility/gtk/object-attributes-expected.txt (288871 => 288872)


--- trunk/LayoutTests/accessibility/gtk/object-attributes-expected.txt	2022-02-01 10:32:27 UTC (rev 288871)
+++ trunk/LayoutTests/accessibility/gtk/object-attributes-expected.txt	2022-02-01 12:29:00 UTC (rev 288872)
@@ -150,7 +150,7 @@
 AXSize: { 784.000, 19.0000 }
 AXTitle:
 AXDescription:
-AXValue: Link
+AXValue:
 AXFocusable: 0
 AXFocused: 0
 AXSelectable: 0
@@ -160,7 +160,7 @@
 AXExpanded: 0
 AXRequired: 0
 AXChecked: 0
-AXPlatformAttributes: grabbed:true
+AXPlatformAttributes:
 ------------
 AXRole: AXSection
 AXParent: AXWebArea
@@ -283,7 +283,7 @@
 AXTitle:
 AXDescription:
 AXValue: This tests the exposure of Atk object attributes.<\n><\n>On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".<\n><\n><\n>
-AXFocusable: 1
+AXFocusable: 0
 AXFocused: 0
 AXSelectable: 0
 AXSelected: 0

Modified: trunk/LayoutTests/accessibility/gtk/spans-paragraphs-and-divs-tree-expected.txt (288871 => 288872)


--- trunk/LayoutTests/accessibility/gtk/spans-paragraphs-and-divs-tree-expected.txt	2022-02-01 10:32:27 UTC (rev 288871)
+++ trunk/LayoutTests/accessibility/gtk/spans-paragraphs-and-divs-tree-expected.txt	2022-02-01 12:29:00 UTC (rev 288872)
@@ -1,13 +1,13 @@
 AXRole: AXWebArea
-    AXRole: AXParagraph AXValue: Block span in a link in a paragraph<\n>Inline span in a link in a paragraph
+    AXRole: AXParagraph AXValue: <obj>
         AXRole: AXLink AXValue: Block span in a link in a paragraph<\n>Inline span in a link in a paragraph
     AXRole: AXParagraph AXValue: Block span in a paragraph<\n>Inline span in a paragraph
-    AXRole: AXParagraph AXValue: Inline span in a link in a paragraph<\n>Block span in a link in a paragraph<\n>
+    AXRole: AXParagraph AXValue: <obj>
         AXRole: AXLink AXValue: Inline span in a link in a paragraph<\n>Block span in a link in a paragraph<\n>
     AXRole: AXParagraph AXValue: Inline span in a paragraph<\n>Block span in a paragraph<\n>
     AXRole: AXLink AXValue: Block span in a link in a div<\n>Inline span in a link in a div
     AXRole: AXSection AXValue: Inline span in a div
-    AXRole: AXSection AXValue: Inline span in a link in a div<\n>Block span in a link in a div<\n>
+    AXRole: AXSection AXValue: <obj>
         AXRole: AXLink AXValue: Inline span in a link in a div<\n>Block span in a link in a div<\n>
     AXRole: AXSection AXValue: Inline span in a div
     AXRole: AXSection AXValue: End of test

Modified: trunk/LayoutTests/accessibility/menu-list-sends-change-notification.html (288871 => 288872)


--- trunk/LayoutTests/accessibility/menu-list-sends-change-notification.html	2022-02-01 10:32:27 UTC (rev 288871)
+++ trunk/LayoutTests/accessibility/menu-list-sends-change-notification.html	2022-02-01 12:29:00 UTC (rev 288872)
@@ -10,13 +10,14 @@
         var menulist = document.getElementById("menulist");
         menulist.focus();
         var accessibleMenulist = accessibilityController.focusedElement;
+        var eventTarget = accessibilityController.platformName == "atk" ? accessibleMenulist.childAtIndex(0) : accessibleMenulist;
 
         function listener(notification) {
             debug("MenuList received notification: " + notification);
-            accessibleMenulist.removeNotificationListener(listener);
+            eventTarget.removeNotificationListener(listener);
             finishJSTest();
         }
-        accessibleMenulist.addNotificationListener(listener);
+        eventTarget.addNotificationListener(listener);
 
         // Change the selected index.
         menulist.selectedIndex = 1;

Modified: trunk/LayoutTests/platform/glib/TestExpectations (288871 => 288872)


--- trunk/LayoutTests/platform/glib/TestExpectations	2022-02-01 10:32:27 UTC (rev 288871)
+++ trunk/LayoutTests/platform/glib/TestExpectations	2022-02-01 12:29:00 UTC (rev 288872)
@@ -352,7 +352,6 @@
 # Key events for AX actions seems to not be not being emitted
 webkit.org/b/221022 accessibility/keyevents-for-actions-mimic-real-key-events.html [ Timeout ]
 
-webkit.org/b/221447 accessibility/aria-current.html [ Failure ]
 webkit.org/b/221447 accessibility/aria-current-state-changed-notification.html [ Timeout ]
 
 webkit.org/b/221645 accessibility/aria-sort.html [ Failure ]
@@ -374,6 +373,11 @@
 
 webkit.org/b/232256 accessibility/auto-fill-crash.html [ Timeout ]
 
+# Tests failing with ATSPI implementation.
+webkit.org/b/235941 accessibility/children-changed-sends-notification.html [ Failure ]
+webkit.org/b/235941 accessibility/generated-content-with-display-table-crash.html [ Failure ]
+webkit.org/b/235941 accessibility/select-element-at-index.html [ Failure ]
+
 #////////////////////////////////////////////////////////////////////////////////////////
 # End of Accessibility-related bugs
 #////////////////////////////////////////////////////////////////////////////////////////

Added: trunk/LayoutTests/platform/glib/accessibility/aria-combobox-expected.txt (0 => 288872)


--- trunk/LayoutTests/platform/glib/accessibility/aria-combobox-expected.txt	                        (rev 0)
+++ trunk/LayoutTests/platform/glib/accessibility/aria-combobox-expected.txt	2022-02-01 12:29:00 UTC (rev 288872)
@@ -0,0 +1,15 @@
+option 1
+option 2
+This tests that the aria roles for combobox and aria-expanded work correctly in conjunction.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+Role: AXRole: AXComboBox
+PASS combobox.isExpanded is false
+PASS combobox.isExpanded is false
+Role: AXRole: AXListBox
+PASS successfullyParsed is true
+
+TEST COMPLETE
+

Modified: trunk/LayoutTests/platform/glib/accessibility/aria-combobox-hierarchy-expected.txt (288871 => 288872)


--- trunk/LayoutTests/platform/glib/accessibility/aria-combobox-hierarchy-expected.txt	2022-02-01 10:32:27 UTC (rev 288871)
+++ trunk/LayoutTests/platform/glib/accessibility/aria-combobox-hierarchy-expected.txt	2022-02-01 12:29:00 UTC (rev 288872)
@@ -4,9 +4,9 @@
 
 
 AXRole: AXComboBox AXValue: option 1<\n>option 2<\n>
-    AXRole: AXMenu
-        AXRole: AXMenuItem AXValue: option 1
-        AXRole: AXMenuItem AXValue: option 2
+    AXRole: AXListBox
+        AXRole: AXListItem AXValue: option 1
+        AXRole: AXListItem AXValue: option 2
 PASS successfullyParsed is true
 
 TEST COMPLETE

Deleted: trunk/LayoutTests/platform/glib/accessibility/aria-table-attributes-expected.txt (288871 => 288872)


--- trunk/LayoutTests/platform/glib/accessibility/aria-table-attributes-expected.txt	2022-02-01 10:32:27 UTC (rev 288871)
+++ trunk/LayoutTests/platform/glib/accessibility/aria-table-attributes-expected.txt	2022-02-01 12:29:00 UTC (rev 288872)
@@ -1,31 +0,0 @@
-This tests that attributes related to aria table/grid are working correctly.
-
-On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-
-
-PASS grid.numberAttributeValue('AXARIAColumnCount') is 16
-PASS grid.numberAttributeValue('AXARIARowCount') is 30
-PASS grid.rowCount is 30
-PASS grid.columnCount is 16
-PASS cell1.numberAttributeValue('AXARIAColumnIndex') is 2
-PASS cell1.numberAttributeValue('AXARIARowIndex') is 7
-PASS cell2.numberAttributeValue('AXARIAColumnIndex') is 4
-PASS cell2.numberAttributeValue('AXARIARowIndex') is 8
-PASS cell4.numberAttributeValue('AXARIAColumnIndex') is 3
-PASS cell2.rowIndexRange() is '{7, 2}'
-PASS cell5.columnIndexRange() is '{3, 3}'
-PASS cell3.rowIndexRange() is '{7, 2}'
-PASS cell6.rowIndexRange() is '{0, 2}'
-PASS cell7.rowIndexRange() is '{0, 2}'
-PASS successfullyParsed is true
-
-TEST COMPLETE
-First Name Last Name Company Address
-Fred Jackson Acme, Inc. 123 Broad St.
-Sara James
-Footer 1 Footer 2 Footer 3
-Name Company Address
-Cell Span Cell
-Cell
-January	$100
-February

Added: trunk/LayoutTests/platform/glib/accessibility/combo-box-collapsed-selection-changed-expected.txt (0 => 288872)


--- trunk/LayoutTests/platform/glib/accessibility/combo-box-collapsed-selection-changed-expected.txt	                        (rev 0)
+++ trunk/LayoutTests/platform/glib/accessibility/combo-box-collapsed-selection-changed-expected.txt	2022-02-01 12:29:00 UTC (rev 288872)
@@ -0,0 +1,11 @@
+
+This tests that a combo box notifies when the selected child has changed while arrowing through the options of a combobox while collapsed.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+PASS selectionChangedNotifications is 1
+PASS successfullyParsed is true
+
+TEST COMPLETE
+

Modified: trunk/LayoutTests/platform/glib/accessibility/content-editable-as-textarea-expected.txt (288871 => 288872)


--- trunk/LayoutTests/platform/glib/accessibility/content-editable-as-textarea-expected.txt	2022-02-01 10:32:27 UTC (rev 288871)
+++ trunk/LayoutTests/platform/glib/accessibility/content-editable-as-textarea-expected.txt	2022-02-01 12:29:00 UTC (rev 288872)
@@ -11,21 +11,19 @@
 worl
 Attributed string with range:
 	Default text attributes:
-		bg-color:0,0,0
+		indent:0
+		family-name:-webkit-standard
 		editable:true
-		family-name:standard
+		strikethrough:false
+		style:normal
 		fg-color:0,0,0
-		indent:0
+		size:12pt
+		weight:400
 		invisible:false
-		rise:0
-		size:16
-		strikethrough:false
-		style:normal
 		underline:none
-		weight:400
-	Range attributes for 'hello':
-		
-	Range attributes for '<\n>worl':
+		direction:ltr
+	Range attributes for 'ello<\n>':
+	Range attributes for 'worl':
 		weight:700
 Line for index(0): 0
 Line for index(7): 1

Modified: trunk/LayoutTests/platform/glib/accessibility/lists-expected.txt (288871 => 288872)


--- trunk/LayoutTests/platform/glib/accessibility/lists-expected.txt	2022-02-01 10:32:27 UTC (rev 288871)
+++ trunk/LayoutTests/platform/glib/accessibility/lists-expected.txt	2022-02-01 12:29:00 UTC (rev 288872)
@@ -82,18 +82,18 @@
 AXExpanded: 0
 AXRequired: 0
 AXChecked: 0
-AXPlatformAttributes: grabbed:true
+AXPlatformAttributes:
 ------------
 
 
 AXRole: AXListItem
 AXParent: AXList
-AXChildren: 0
+AXChildren: 1
 AXPosition: { 48.0000, 16.0000 }
 AXSize: { 729.000, 18.0000 }
 AXTitle: test 1
 AXDescription:
-AXValue: • test 1
+AXValue: <obj>test 1
 AXFocusable: 0
 AXFocused: 0
 AXSelectable: 0
@@ -107,12 +107,12 @@
 ------------
 AXRole: AXListItem
 AXParent: AXList
-AXChildren: 0
+AXChildren: 1
 AXPosition: { 48.0000, 34.0000 }
 AXSize: { 729.000, 18.0000 }
 AXTitle: test 2
 AXDescription:
-AXValue: • test 2
+AXValue: <obj>test 2
 AXFocusable: 0
 AXFocused: 0
 AXSelectable: 0
@@ -128,12 +128,12 @@
 
 AXRole: AXListItem
 AXParent: AXList
-AXChildren: 0
+AXChildren: 1
 AXPosition: { 48.0000, 68.0000 }
 AXSize: { 729.000, 18.0000 }
 AXTitle: test 1
 AXDescription:
-AXValue: 1. test 1
+AXValue: <obj>test 1
 AXFocusable: 0
 AXFocused: 0
 AXSelectable: 0
@@ -147,12 +147,12 @@
 ------------
 AXRole: AXListItem
 AXParent: AXList
-AXChildren: 0
+AXChildren: 1
 AXPosition: { 48.0000, 86.0000 }
 AXSize: { 729.000, 18.0000 }
 AXTitle: test 2
 AXDescription:
-AXValue: 2. test 2
+AXValue: <obj>test 2
 AXFocusable: 0
 AXFocused: 0
 AXSelectable: 0

Deleted: trunk/LayoutTests/platform/glib/accessibility/menu-list-sends-change-notification-expected.txt (288871 => 288872)


--- trunk/LayoutTests/platform/glib/accessibility/menu-list-sends-change-notification-expected.txt	2022-02-01 10:32:27 UTC (rev 288871)
+++ trunk/LayoutTests/platform/glib/accessibility/menu-list-sends-change-notification-expected.txt	2022-02-01 12:29:00 UTC (rev 288872)
@@ -1,12 +0,0 @@
-
-This tests that changing the value of a menu list sends a notification even when it's not popped open.
-
-On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-
-
-Load event notification received.
-MenuList received notification: AXFocusedUIElementChanged
-PASS successfullyParsed is true
-
-TEST COMPLETE
-

Added: trunk/LayoutTests/platform/glib/accessibility/multiselect-list-reports-active-option-expected.txt (0 => 288872)


--- trunk/LayoutTests/platform/glib/accessibility/multiselect-list-reports-active-option-expected.txt	                        (rev 0)
+++ trunk/LayoutTests/platform/glib/accessibility/multiselect-list-reports-active-option-expected.txt	2022-02-01 12:29:00 UTC (rev 288872)
@@ -0,0 +1,29 @@
+
+This tests that navigating in a multiselect list updates selection and the active selected option and sends a notification.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+PASS accessibleOne.isSelected is true
+PASS accessibleOne.isSelectedOptionActive is true
+PASS accessibleTwo.isSelected is false
+PASS accessibleTwo.isSelectedOptionActive is false
+PASS accessibleThree.isSelected is false
+PASS accessibleThree.isSelectedOptionActive is false
+PASS accessibleOne.isSelected is false
+PASS accessibleOne.isSelectedOptionActive is false
+PASS accessibleTwo.isSelected is true
+PASS accessibleTwo.isSelectedOptionActive is true
+PASS accessibleThree.isSelected is false
+PASS accessibleThree.isSelectedOptionActive is false
+PASS accessibleOne.isSelected is false
+PASS accessibleOne.isSelectedOptionActive is false
+PASS accessibleTwo.isSelected is true
+PASS accessibleTwo.isSelectedOptionActive is false
+PASS accessibleThree.isSelected is true
+PASS accessibleThree.isSelectedOptionActive is true
+List notification: AXSelectedChildrenChanged
+PASS successfullyParsed is true
+
+TEST COMPLETE
+

Modified: trunk/LayoutTests/platform/glib/accessibility/svg-remote-element-expected.txt (288871 => 288872)


--- trunk/LayoutTests/platform/glib/accessibility/svg-remote-element-expected.txt	2022-02-01 10:32:27 UTC (rev 288871)
+++ trunk/LayoutTests/platform/glib/accessibility/svg-remote-element-expected.txt	2022-02-01 12:29:00 UTC (rev 288872)
@@ -26,7 +26,7 @@
 Mouth role: AXRole: AXButton
 Mouth label: AXTitle: smile
 MouthX: 116
-MouthY: 276
+MouthY: 275
 
 
 PASS successfullyParsed is true

Modified: trunk/LayoutTests/platform/glib/accessibility/table-attributes-expected.txt (288871 => 288872)


--- trunk/LayoutTests/platform/glib/accessibility/table-attributes-expected.txt	2022-02-01 10:32:27 UTC (rev 288871)
+++ trunk/LayoutTests/platform/glib/accessibility/table-attributes-expected.txt	2022-02-01 12:29:00 UTC (rev 288872)
@@ -126,14 +126,14 @@
 AXChecked: 0
 AXPlatformAttributes: computed-role:rowheader, tag:th
 ------------
-AXRole: AXRowHeader
+AXRole: AXCell
 AXParent: AXRow
 AXChildren: 0
-AXPosition: { 227.000, 93.0000 }
-AXSize: { 90.0000, 60.0000 }
+AXPosition: { 317.000, 123.000 }
+AXSize: { 53.0000, 30.0000 }
 AXTitle:
 AXDescription:
-AXValue: All Regions
+AXValue: South
 AXFocusable: 0
 AXFocused: 0
 AXSelectable: 1
@@ -143,7 +143,7 @@
 AXExpanded: 0
 AXRequired: 0
 AXChecked: 0
-AXPlatformAttributes: computed-role:rowheader, tag:th
+AXPlatformAttributes: computed-role:cell, tag:th
 ------------
 
 
@@ -153,21 +153,16 @@
 
 --------------------------
 
-
-
---------------------------
-
-AXRole: AXColumnHeader
-AXParent: AXRow
-AXChildren: 0
+AXRole: AXRow
+AXParent: AXTable: Example #1: Nested Stubs
+AXChildren: 3
 AXPosition: { 227.000, 27.0000 }
-AXSize: { 143.000, 66.0000 }
+AXSize: { 331.000, 30.0000 }
 AXTitle:
 AXDescription:
-AXValue: Ruritanian<\n>Population <\n>Survey
 AXFocusable: 0
 AXFocused: 0
-AXSelectable: 0
+AXSelectable: 1
 AXSelected: 0
 AXMultiSelectable: 0
 AXEnabled: 1
@@ -174,19 +169,18 @@
 AXExpanded: 0
 AXRequired: 0
 AXChecked: 0
-AXPlatformAttributes: computed-role:columnheader, tag:th
+AXPlatformAttributes: computed-role:row, tag:tr
 ------------
-AXRole: AXColumnHeader
-AXParent: AXRow
-AXChildren: 0
-AXPosition: { 227.000, 27.0000 }
-AXSize: { 143.000, 66.0000 }
+AXRole: AXRow
+AXParent: AXTable: Example #1: Nested Stubs
+AXChildren: 2
+AXPosition: { 227.000, 57.0000 }
+AXSize: { 331.000, 36.0000 }
 AXTitle:
 AXDescription:
-AXValue: Ruritanian<\n>Population <\n>Survey
 AXFocusable: 0
 AXFocused: 0
-AXSelectable: 0
+AXSelectable: 1
 AXSelected: 0
 AXMultiSelectable: 0
 AXEnabled: 1
@@ -193,19 +187,18 @@
 AXExpanded: 0
 AXRequired: 0
 AXChecked: 0
-AXPlatformAttributes: computed-role:columnheader, tag:th
+AXPlatformAttributes: computed-role:row, tag:tr
 ------------
-AXRole: AXColumnHeader
-AXParent: AXRow
-AXChildren: 0
-AXPosition: { 370.000, 27.0000 }
-AXSize: { 69.0000, 66.0000 }
+AXRole: AXRow
+AXParent: AXTable: Example #1: Nested Stubs
+AXChildren: 5
+AXPosition: { 227.000, 93.0000 }
+AXSize: { 331.000, 30.0000 }
 AXTitle:
 AXDescription:
-AXValue: All<\n>Genders
 AXFocusable: 0
 AXFocused: 0
-AXSelectable: 0
+AXSelectable: 1
 AXSelected: 0
 AXMultiSelectable: 0
 AXEnabled: 1
@@ -212,19 +205,18 @@
 AXExpanded: 0
 AXRequired: 0
 AXChecked: 0
-AXPlatformAttributes: computed-role:columnheader, tag:th
+AXPlatformAttributes: computed-role:row, tag:tr
 ------------
-AXRole: AXColumnHeader
-AXParent: AXRow
-AXChildren: 0
-AXPosition: { 439.000, 27.0000 }
-AXSize: { 119.000, 30.0000 }
+AXRole: AXRow
+AXParent: AXTable: Example #1: Nested Stubs
+AXChildren: 4
+AXPosition: { 227.000, 123.000 }
+AXSize: { 331.000, 30.0000 }
 AXTitle:
 AXDescription:
-AXValue: By Gender
 AXFocusable: 0
 AXFocused: 0
-AXSelectable: 0
+AXSelectable: 1
 AXSelected: 0
 AXMultiSelectable: 0
 AXEnabled: 1
@@ -231,30 +223,15 @@
 AXExpanded: 0
 AXRequired: 0
 AXChecked: 0
-AXPlatformAttributes: computed-role:columnheader, tag:th
+AXPlatformAttributes: computed-role:row, tag:tr
 ------------
+
+
+--------------------------
+
 AXRole: AXColumnHeader
 AXParent: AXRow
 AXChildren: 0
-AXPosition: { 439.000, 27.0000 }
-AXSize: { 119.000, 30.0000 }
-AXTitle:
-AXDescription:
-AXValue: By Gender
-AXFocusable: 0
-AXFocused: 0
-AXSelectable: 0
-AXSelected: 0
-AXMultiSelectable: 0
-AXEnabled: 1
-AXExpanded: 0
-AXRequired: 0
-AXChecked: 0
-AXPlatformAttributes: computed-role:columnheader, tag:th
-------------
-AXRole: AXColumnHeader
-AXParent: AXRow
-AXChildren: 0
 AXPosition: { 227.000, 27.0000 }
 AXSize: { 143.000, 66.0000 }
 AXTitle:
@@ -274,11 +251,11 @@
 AXRole: AXColumnHeader
 AXParent: AXRow
 AXChildren: 0
-AXPosition: { 227.000, 27.0000 }
-AXSize: { 143.000, 66.0000 }
+AXPosition: { 370.000, 27.0000 }
+AXSize: { 69.0000, 66.0000 }
 AXTitle:
 AXDescription:
-AXValue: Ruritanian<\n>Population <\n>Survey
+AXValue: All<\n>Genders
 AXFocusable: 0
 AXFocused: 0
 AXSelectable: 0
@@ -293,11 +270,11 @@
 AXRole: AXColumnHeader
 AXParent: AXRow
 AXChildren: 0
-AXPosition: { 370.000, 27.0000 }
-AXSize: { 69.0000, 66.0000 }
+AXPosition: { 439.000, 27.0000 }
+AXSize: { 119.000, 30.0000 }
 AXTitle:
 AXDescription:
-AXValue: All<\n>Genders
+AXValue: By Gender
 AXFocusable: 0
 AXFocused: 0
 AXSelectable: 0
@@ -442,25 +419,6 @@
 AXChecked: 0
 AXPlatformAttributes: computed-role:cell, tag:td
 ------------
-AXRole: AXRowHeader
-AXParent: AXRow
-AXChildren: 0
-AXPosition: { 227.000, 93.0000 }
-AXSize: { 90.0000, 60.0000 }
-AXTitle:
-AXDescription:
-AXValue: All Regions
-AXFocusable: 0
-AXFocused: 0
-AXSelectable: 1
-AXSelected: 0
-AXMultiSelectable: 0
-AXEnabled: 1
-AXExpanded: 0
-AXRequired: 0
-AXChecked: 0
-AXPlatformAttributes: computed-role:rowheader, tag:th
-------------
 AXRole: AXCell
 AXParent: AXRow
 AXChildren: 0

Modified: trunk/LayoutTests/platform/glib/accessibility/table-one-cell-expected.txt (288871 => 288872)


--- trunk/LayoutTests/platform/glib/accessibility/table-one-cell-expected.txt	2022-02-01 10:32:27 UTC (rev 288871)
+++ trunk/LayoutTests/platform/glib/accessibility/table-one-cell-expected.txt	2022-02-01 12:29:00 UTC (rev 288872)
@@ -8,8 +8,8 @@
 AXSize: { 132.000, 90.0000 }
 AXTitle:
 AXDescription:
-AXValue: Pick Your Location!<\n>Get specific content for your area. <\n>http://web.apple.com<\n>
-AXFocusable: 1
+AXValue: Pick Your Location!<\n>Get specific content for your area. <\n><obj><\n>
+AXFocusable: 0
 AXFocused: 0
 AXSelectable: 0
 AXSelected: 0

Modified: trunk/LayoutTests/platform/glib/accessibility/table-sections-expected.txt (288871 => 288872)


--- trunk/LayoutTests/platform/glib/accessibility/table-sections-expected.txt	2022-02-01 10:32:27 UTC (rev 288871)
+++ trunk/LayoutTests/platform/glib/accessibility/table-sections-expected.txt	2022-02-01 12:29:00 UTC (rev 288872)
@@ -143,6 +143,78 @@
 
 --------------------------
 
+AXRole: AXRow
+AXParent: AXTable: Example #1: Nested Stubs
+AXChildren: 3
+AXPosition: { 355.000, 63.0000 }
+AXSize: { 75.0000, 30.0000 }
+AXTitle:
+AXDescription:
+AXFocusable: 0
+AXFocused: 0
+AXSelectable: 1
+AXSelected: 0
+AXMultiSelectable: 0
+AXEnabled: 1
+AXExpanded: 0
+AXRequired: 0
+AXChecked: 0
+AXPlatformAttributes: computed-role:row, tag:tr
+------------
+AXRole: AXRow
+AXParent: AXTable: Example #1: Nested Stubs
+AXChildren: 3
+AXPosition: { 355.000, 93.0000 }
+AXSize: { 75.0000, 30.0000 }
+AXTitle:
+AXDescription:
+AXFocusable: 0
+AXFocused: 0
+AXSelectable: 1
+AXSelected: 0
+AXMultiSelectable: 0
+AXEnabled: 1
+AXExpanded: 0
+AXRequired: 0
+AXChecked: 0
+AXPlatformAttributes: computed-role:row, tag:tr
+------------
+AXRole: AXRow
+AXParent: AXTable: Example #1: Nested Stubs
+AXChildren: 3
+AXPosition: { 355.000, 123.000 }
+AXSize: { 75.0000, 30.0000 }
+AXTitle:
+AXDescription:
+AXFocusable: 0
+AXFocused: 0
+AXSelectable: 1
+AXSelected: 0
+AXMultiSelectable: 0
+AXEnabled: 1
+AXExpanded: 0
+AXRequired: 0
+AXChecked: 0
+AXPlatformAttributes: computed-role:row, tag:tr
+------------
+AXRole: AXRow
+AXParent: AXTable: Example #1: Nested Stubs
+AXChildren: 3
+AXPosition: { 355.000, 153.000 }
+AXSize: { 75.0000, 30.0000 }
+AXTitle:
+AXDescription:
+AXFocusable: 0
+AXFocused: 0
+AXSelectable: 1
+AXSelected: 0
+AXMultiSelectable: 0
+AXEnabled: 1
+AXExpanded: 0
+AXRequired: 0
+AXChecked: 0
+AXPlatformAttributes: computed-role:row, tag:tr
+------------
 
 
 --------------------------
@@ -513,6 +585,78 @@
 
 --------------------------
 
+AXRole: AXRow
+AXParent: AXTable: Example #1: Nested Stubs
+AXChildren: 3
+AXPosition: { 355.000, 63.0000 }
+AXSize: { 75.0000, 30.0000 }
+AXTitle:
+AXDescription:
+AXFocusable: 0
+AXFocused: 0
+AXSelectable: 1
+AXSelected: 0
+AXMultiSelectable: 0
+AXEnabled: 1
+AXExpanded: 0
+AXRequired: 0
+AXChecked: 0
+AXPlatformAttributes: computed-role:row, tag:tr
+------------
+AXRole: AXRow
+AXParent: AXTable: Example #1: Nested Stubs
+AXChildren: 3
+AXPosition: { 355.000, 93.0000 }
+AXSize: { 75.0000, 30.0000 }
+AXTitle:
+AXDescription:
+AXFocusable: 0
+AXFocused: 0
+AXSelectable: 1
+AXSelected: 0
+AXMultiSelectable: 0
+AXEnabled: 1
+AXExpanded: 0
+AXRequired: 0
+AXChecked: 0
+AXPlatformAttributes: computed-role:row, tag:tr
+------------
+AXRole: AXRow
+AXParent: AXTable: Example #1: Nested Stubs
+AXChildren: 3
+AXPosition: { 355.000, 123.000 }
+AXSize: { 75.0000, 30.0000 }
+AXTitle:
+AXDescription:
+AXFocusable: 0
+AXFocused: 0
+AXSelectable: 1
+AXSelected: 0
+AXMultiSelectable: 0
+AXEnabled: 1
+AXExpanded: 0
+AXRequired: 0
+AXChecked: 0
+AXPlatformAttributes: computed-role:row, tag:tr
+------------
+AXRole: AXRow
+AXParent: AXTable: Example #1: Nested Stubs
+AXChildren: 3
+AXPosition: { 355.000, 153.000 }
+AXSize: { 75.0000, 30.0000 }
+AXTitle:
+AXDescription:
+AXFocusable: 0
+AXFocused: 0
+AXSelectable: 1
+AXSelected: 0
+AXMultiSelectable: 0
+AXEnabled: 1
+AXExpanded: 0
+AXRequired: 0
+AXChecked: 0
+AXPlatformAttributes: computed-role:row, tag:tr
+------------
 
 
 --------------------------

Modified: trunk/LayoutTests/platform/glib/accessibility/transformed-element-expected.txt (288871 => 288872)


--- trunk/LayoutTests/platform/glib/accessibility/transformed-element-expected.txt	2022-02-01 10:32:27 UTC (rev 288871)
+++ trunk/LayoutTests/platform/glib/accessibility/transformed-element-expected.txt	2022-02-01 12:29:00 UTC (rev 288872)
@@ -6,7 +6,7 @@
 AXSize: { 291.000, 123.000 }
 AXTitle:
 AXDescription:
-AXValue: hello
+AXValue: <obj>
 AXFocusable: 0
 AXFocused: 0
 AXSelectable: 0

Modified: trunk/LayoutTests/platform/gtk/TestExpectations (288871 => 288872)


--- trunk/LayoutTests/platform/gtk/TestExpectations	2022-02-01 10:32:27 UTC (rev 288871)
+++ trunk/LayoutTests/platform/gtk/TestExpectations	2022-02-01 12:29:00 UTC (rev 288872)
@@ -134,6 +134,15 @@
 webkit.org/b/223862 accessibility/gtk/text-for-range-with-link.html [ Failure ]
 accessibility/model-element-attributes.html [ Skip ]
 
+# Tests failing with ATSPI implementation.
+webkit.org/b/235941 accessibility/gtk/nested-block-element-children.html [ Failure ]
+webkit.org/b/235941 accessibility/gtk/no-notification-for-unrendered-iframe-children.html [ Failure ]
+webkit.org/b/235941 accessibility/gtk/spans.html [ Failure ]
+webkit.org/b/235941 accessibility/gtk/text-at-offset-embedded-objects.html [ Failure ]
+webkit.org/b/235941 accessibility/gtk/text-at-offset-special-chars.html [ Failure ]
+webkit.org/b/235941 accessibility/gtk/xml-roles-exposed.html [ Failure ]
+webkit.org/b/235941 accessibility/gtk/caret-offsets.html [ Timeout ]
+
 # canvas
 webkit.org/b/215462 imported/w3c/web-platform-tests/html/canvas/offscreen/manual/the-offscreen-canvas/offscreencanvas.commit.html [ Failure ]
 imported/w3c/web-platform-tests/html/canvas/element/manual/imagebitmap/createImageBitmap-exif-orientation.html [ Failure ]
@@ -1652,7 +1661,6 @@
 webkit.org/b/182223 fast/forms/listbox-selection.html [ Failure ]
 
 webkit.org/b/182763 accessibility/gtk/aria-activedescendant-changed-notification.html [ Failure ]
-webkit.org/b/182763 accessibility/gtk/caret-offsets.html [ Failure ]
 
 webkit.org/b/183902 fast/dom/frame-loading-via-document-write.html [ Failure ]
 

Modified: trunk/Source/cmake/OptionsGTK.cmake (288871 => 288872)


--- trunk/Source/cmake/OptionsGTK.cmake	2022-02-01 10:32:27 UTC (rev 288871)
+++ trunk/Source/cmake/OptionsGTK.cmake	2022-02-01 12:29:00 UTC (rev 288872)
@@ -76,7 +76,7 @@
 # Private options specific to the GTK port. Changing these options is
 # completely unsupported. They are intended for use only by WebKit developers.
 WEBKIT_OPTION_DEFINE(USE_ANGLE_WEBGL "Whether to use ANGLE as WebGL backend." PRIVATE OFF)
-WEBKIT_OPTION_DEFINE(USE_ATSPI "Whether to use the Atspi a11y implementation instead of ATK." PRIVATE OFF)
+WEBKIT_OPTION_DEFINE(USE_ATSPI "Whether to use the ATSPI a11y implementation instead of ATK." PRIVATE ON)
 
 WEBKIT_OPTION_DEPEND(ENABLE_3D_TRANSFORMS USE_OPENGL_OR_ES)
 WEBKIT_OPTION_DEPEND(ENABLE_ASYNC_SCROLLING USE_OPENGL_OR_ES)

Modified: trunk/Source/cmake/OptionsWPE.cmake (288871 => 288872)


--- trunk/Source/cmake/OptionsWPE.cmake	2022-02-01 10:32:27 UTC (rev 288871)
+++ trunk/Source/cmake/OptionsWPE.cmake	2022-02-01 12:29:00 UTC (rev 288872)
@@ -87,7 +87,7 @@
 WEBKIT_OPTION_DEFINE(USE_EXTERNAL_HOLEPUNCH "Whether to enable external holepunch" PRIVATE OFF)
 WEBKIT_OPTION_DEFINE(USE_ANGLE_WEBGL "Whether to use ANGLE as WebGL backend." PRIVATE OFF)
 WEBKIT_OPTION_DEPEND(USE_ANGLE_WEBGL ENABLE_WEBGL)
-WEBKIT_OPTION_DEFINE(USE_ATSPI "Whether to use the ATSPI a11y implementation instead of ATK." PRIVATE OFF)
+WEBKIT_OPTION_DEFINE(USE_ATSPI "Whether to use the ATSPI a11y implementation instead of ATK." PRIVATE ON)
 WEBKIT_OPTION_DEPEND(ENABLE_WEBGL2 USE_ANGLE_WEBGL)
 
 if (CMAKE_SYSTEM_NAME MATCHES "Linux")
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to