Title: [289046] trunk/Source/WebCore
Revision
289046
Author
carlo...@webkit.org
Date
2022-02-03 05:43:29 -0800 (Thu, 03 Feb 2022)

Log Message

[GTK][a11y] Test /webkit/WebKitAccessibility/accessible/children-changed times out
https://bugs.webkit.org/show_bug.cgi?id=236070

Reviewed by Adrian Perez de Castro.

This happens because when the new node is added the a11y object children are not updated and the wrapper for the
new child is not created.

* accessibility/atspi/AXObjectCacheAtspi.cpp:
(WebCore::AXObjectCache::postPlatformNotification): Call updateChildrenIfNecessary on AXChildrenChanged.

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (289045 => 289046)


--- trunk/Source/WebCore/ChangeLog	2022-02-03 13:42:40 UTC (rev 289045)
+++ trunk/Source/WebCore/ChangeLog	2022-02-03 13:43:29 UTC (rev 289046)
@@ -1,5 +1,18 @@
 2022-02-03  Carlos Garcia Campos  <cgar...@igalia.com>
 
+        [GTK][a11y] Test /webkit/WebKitAccessibility/accessible/children-changed times out
+        https://bugs.webkit.org/show_bug.cgi?id=236070
+
+        Reviewed by Adrian Perez de Castro.
+
+        This happens because when the new node is added the a11y object children are not updated and the wrapper for the
+        new child is not created.
+
+        * accessibility/atspi/AXObjectCacheAtspi.cpp:
+        (WebCore::AXObjectCache::postPlatformNotification): Call updateChildrenIfNecessary on AXChildrenChanged.
+
+2022-02-03  Carlos Garcia Campos  <cgar...@igalia.com>
+
         [GTK][WPE][a11y] Handle parameter of org.a11y.atspi.Text.RemoveSelection
         https://bugs.webkit.org/show_bug.cgi?id=236079
 

Modified: trunk/Source/WebCore/accessibility/atspi/AXObjectCacheAtspi.cpp (289045 => 289046)


--- trunk/Source/WebCore/accessibility/atspi/AXObjectCacheAtspi.cpp	2022-02-03 13:42:40 UTC (rev 289045)
+++ trunk/Source/WebCore/accessibility/atspi/AXObjectCacheAtspi.cpp	2022-02-03 13:43:29 UTC (rev 289046)
@@ -143,6 +143,7 @@
     case AXAutocorrectionOccured:
         break;
     case AXChildrenChanged:
+        coreObject->updateChildrenIfNecessary();
         break;
     case AXFocusedUIElementChanged:
         break;
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to