[Webkit-unassigned] [Bug 233767] New: AX: In AccessibilityRenderObject::documentLinks, use existing image-map document links instead of always creating new ones
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Dec 2 10:03:18 PST 2021
https://bugs.webkit.org/show_bug.cgi?id=233767
Bug ID: 233767
Summary: AX: In AccessibilityRenderObject::documentLinks, use
existing image-map document links instead of always
creating new ones
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
The current implementation of AccessibilityRenderObject::documentLinks always creates new image-map links rather than using the existing ones created via AccessibilityRenderObject::addImageMapChildren. This is problematic for two reasons:
1. It is wasteful in terms of memory usage as we will endlessly accumulate AccessibilityImageMapLink objects in the cache each time AccessibilityRenderObject::documentLinks is called.
2. It breaks document links in isolated tree mode, since the objects created this way aren't a child of any other object, and thus don't have any representation in the isolated tree. Concretely, this means AXIsolatedTree::nodeForID never returns anything for these objects.
--
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/20211202/c87bb927/attachment.htm>
More information about the webkit-unassigned
mailing list