[whatwg/dom] May return the same HTMLCollection object (#706)

https://dom.spec.whatwg.org/#concept-getelementsbytagname has

> When invoked with the same argument, and as long as root’s node document’s type has not changed, the same HTMLCollection object may be returned as returned by an earlier call. 

and variants on that. Per @rniwa this is considered a bug by WebKit these days. It'd be nice to stop exposing GC here to the extent that's still happening and define the lifetime of these objects more properly.

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

Received on Thursday, 18 October 2018 07:16:53 UTC