- From: Domenic Denicola <notifications@github.com>
- Date: Thu, 18 Oct 2018 00:24:32 -0700
- To: whatwg/dom <dom@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Thursday, 18 October 2018 07:24:53 UTC
This doesn't expose GC as long as the browser holds a _strong_ reference to the returned collections, which might make sense for live collections since they are pretty lightweight (consisting of basically a tag name + JS object overhead). I'm not sure whether existing implementations use strong or weak references. I think changing this should have a larger discussion, if that's desired. So /cc @bzbarsky @tkent-google @dstorey. (Aside: it's funny to think that we could have had a weak reference polyfill for many years, at least in some browsers, just by storing expandos on collections returned by these methods...) -- 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/706#issuecomment-430903093
Received on Thursday, 18 October 2018 07:24:53 UTC