[Webkit-unassigned] [Bug 66878] HTMLAudioElement can be garbage collected while it playing

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Oct 12 11:46:18 PDT 2011


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





--- Comment #34 from Adam Barth <abarth at webkit.org>  2011-10-12 11:46:17 PST ---
> As suggested, working on much smaller change that fixes only V8HTMLAudioElement, without attempts to fix V8Node addEventListenerCallback() issue.

I see.  This can occur even for Nodes which aren't ActiveDOMObjects if something retains the Node without retaining the EventListener.  The EventListener can then be GCed and the Node won't be GCed.

I'm curious why it isn't a better solution to group the Nodes and their EventListeners in V8GCController so they're collected together or not at all.

-- 
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