[Webkit-unassigned] [Bug 238460] New: AX: Don't detach children in AXIsolatedTree::applyPendingChanges for nodes being updated (removed and added)
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Mar 28 10:52:08 PDT 2022
https://bugs.webkit.org/show_bug.cgi?id=238460
Bug ID: 238460
Summary: AX: Don't detach children in
AXIsolatedTree::applyPendingChanges for nodes being
updated (removed and added)
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: Accessibility
Assignee: webkit-unassigned at lists.webkit.org
Reporter: tyler_w at apple.com
CC: andresg_22 at apple.com,
webkit-bug-importer at group.apple.com
In AXIsolatedTree::updateNode, we perform the update by queuing the node to be removed, and then queueing it to be added.
When performing the removal in AXIsolatedTree::applyPendingChanges, we call AXCoreObject::detach, which unconditionally calls AXCoreObject::detachRemoteParts. Specifically, AXIsolatedObject::detachRemoteParts detaches all the object's children from the itself (by setting their m_parentID to zero). Then, when we start applying m_pendingAppends, we re-add the object, but never re-attach the children, resulting in a broken tree.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20220328/3ad2c4bc/attachment.htm>
More information about the webkit-unassigned
mailing list