- From: Domenic Denicola <notifications@github.com>
- Date: Sun, 02 Dec 2018 16:45:41 -0800
- To: whatwg/dom <dom@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Monday, 3 December 2018 00:46:02 UTC
https://dom.spec.whatwg.org/commit-snapshots/23ec6421f47ab629bd14dfc6d4910414dc443d0b/#ref-for-list-append⑦ > Append mo to unit of related similar\-origin browsing contexts' mutation observer list\. If my understanding is correct, this should be held as a weak pointer, not the traditional strong pointer. Otherwise, `MutationObserver` objects can never be garbage collected. This probably deserves at least a note in the spec. Or, you could change the list to "weak set", as is done for https://html.spec.whatwg.org/multipage/webappapis.html#outstanding-rejected-promises-weak-set . Or we could start formalizing this concept of reference graphs in Infra. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/whatwg/dom/issues/720
Received on Monday, 3 December 2018 00:46:02 UTC