Title: [288445] trunk/Source/WebCore
- Revision
- 288445
- Author
- [email protected]
- Date
- 2022-01-24 08:19:28 -0800 (Mon, 24 Jan 2022)
Log Message
[GTK][a11y] Emit children-changed:remove signal even for ignored objects with ATSPI
https://bugs.webkit.org/show_bug.cgi?id=235472
Reviewed by Adrian Perez de Castro.
We are returning early in case the object is ignored, but that could change, so if an object is not initially
ignored and is registered we still need to emit children-changed:remove signal when destroyed to ensure the
atspi cache is updated.
* accessibility/atspi/AccessibilityObjectAtspi.cpp:
(WebCore::AccessibilityObjectAtspi::childRemoved):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (288444 => 288445)
--- trunk/Source/WebCore/ChangeLog 2022-01-24 16:18:33 UTC (rev 288444)
+++ trunk/Source/WebCore/ChangeLog 2022-01-24 16:19:28 UTC (rev 288445)
@@ -1,3 +1,17 @@
+2022-01-24 Carlos Garcia Campos <[email protected]>
+
+ [GTK][a11y] Emit children-changed:remove signal even for ignored objects with ATSPI
+ https://bugs.webkit.org/show_bug.cgi?id=235472
+
+ Reviewed by Adrian Perez de Castro.
+
+ We are returning early in case the object is ignored, but that could change, so if an object is not initially
+ ignored and is registered we still need to emit children-changed:remove signal when destroyed to ensure the
+ atspi cache is updated.
+
+ * accessibility/atspi/AccessibilityObjectAtspi.cpp:
+ (WebCore::AccessibilityObjectAtspi::childRemoved):
+
2022-01-24 Joseph Griego <[email protected]>
[Shadow Realms] Use WebCore module loaders for shadow realm importValue
Modified: trunk/Source/WebCore/accessibility/atspi/AccessibilityObjectAtspi.cpp (288444 => 288445)
--- trunk/Source/WebCore/accessibility/atspi/AccessibilityObjectAtspi.cpp 2022-01-24 16:18:33 UTC (rev 288444)
+++ trunk/Source/WebCore/accessibility/atspi/AccessibilityObjectAtspi.cpp 2022-01-24 16:19:28 UTC (rev 288445)
@@ -1209,9 +1209,6 @@
if (!m_isRegistered)
return;
- if (!m_coreObject || m_coreObject->accessibilityIsIgnored())
- return;
-
AccessibilityAtspi::singleton().childrenChanged(*this, child, AccessibilityAtspi::ChildrenChanged::Removed);
}
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes