[Webkit-unassigned] [Bug 234961] New: AX: Improve WeakHashSet hygienics in AXObjectCache

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jan 7 08:33:38 PST 2022


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

            Bug ID: 234961
           Summary: AX: Improve WeakHashSet hygienics in AXObjectCache
           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

Quoting WebKit's documentation for WeakHashSets:

https://github.com/WebKit/WebKit/blob/main/Introduction.md#weakhashset

> Because WeakHashSet does not get notified when the referenced object is deleted, the users / owners of WeakHashSet are still responsible for deleting the relevant entries from the set. Otherwise, WeakHashSet will hold onto WeakPtrImpl until computeSize is called or rehashing happens.

AXObjectCache does not always do this book-keeping for the WeakHashSets it holds.

-- 
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/20220107/91ecefcc/attachment-0001.htm>


More information about the webkit-unassigned mailing list