W3C home > Mailing lists > Public > public-html-bugzilla@w3.org > February 2012

[Bug 16142] Spec delivery semantics for MutationObservers

From: <bugzilla@jessica.w3.org>
Date: Wed, 29 Feb 2012 18:18:41 +0000
To: public-html-bugzilla@w3.org
Message-Id: <E1S2o6r-00075A-FR@jessica.w3.org>

--- Comment #5 from Adam Klein <adamk@chromium.org> 2012-02-29 18:18:40 UTC ---
(In reply to comment #4)
> Oh yes, and the million dollar question, what about garbage collection?

Not sure exactly what you're asking about, but the records would normally be
GCed after the last observer with that record in its queue has been called
(unless of course the observers take their own references).  Which implies that
the nodes referred to by those records would also be collectable (if they're no
longer in the document or referred to elsewhere).

As for the MutationObserver instances themselves, the WebKit approach is to
give them weak references to the nodes they observe: if the node is collected,
and there are no more references to the observer, it can also be collected.

Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Wednesday, 29 February 2012 18:18:44 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 16:31:26 UTC