[Webkit-unassigned] [Bug 93661] MutationObservers should not create circular, leaky references

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Nov 29 08:41:36 PST 2012


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





--- Comment #42 from Adam Barth <abarth at webkit.org>  2012-11-29 08:43:50 PST ---
We probably need to do the same two things we did for V8, right?

1) Integrate MutationObserver with GC opaque roots so that its wrapper has the right lifetime.
2) Store the callback object on the MutationObserver wrapper using a PrivateName.

It looks like part (1) is done in bug 102744 and WebCore can use PrivateName as of bug 102546.  That means we just need to move the storage of the callback to the wrapper.

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