[Webkit-unassigned] [Bug 137651] WeakMap reference w/ DOM element as key does not survive long enough

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Oct 15 12:44:14 PDT 2014


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





--- Comment #7 from Alexey Proskuryakov <ap at webkit.org>  2014-10-15 12:44:08 PST ---
> even a counter in node rare data

Geoff pointed out that this won't work, because we likely have the same issue with some non-node objects (such as probably CSS OM).

> Now that WeakMap and WeakSet expose GC semantics

I don't think that they do - there is no way to iterate them, so you always need a reachable object for lookup.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list