[Webkit-unassigned] [Bug 232141] AX: Notify about children changed earlier in isolated tree mode

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Oct 31 07:35:22 PDT 2021


https://bugs.webkit.org/show_bug.cgi?id=232141

--- Comment #10 from Andres Gonzalez <andresg_22 at apple.com> ---
We cannot update the isolated tree in AXObjectCache::postNotification because it can be called in the middle of a layout, in which case the render tree is not ready for all the queries accessibility will make, or it can trigger a layout. That's why we have moved most or all notification handling to deferred handlers. This is hinted by the comment in postNotification that reads:

    // Get an accessibility object that already exists. One should not be created here
    // because a render update may be in progress and creating an AX object can re-trigger a layout

updateIsolatedTree may create new AX objects and query for lots of properties that the render tree is not ready to compute.

There may be some properties that could be updated early like some ARIA attributes, because they won't cause any changes to the render tree. But we need to special case those.

-- 
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/20211031/0a7c689d/attachment.htm>


More information about the webkit-unassigned mailing list