Re: [whatwg/dom] MutationObserver GC section looks bogus (Issue #1159)

This originated in https://www.w3.org/Bugs/Public/show_bug.cgi?id=16638.

I think the main problem is the handling around https://dom.spec.whatwg.org/#mutationobserver-node-list. We don't ever seem to empty it currently.

1. Should that be a list of weak references? I guess so.
2. Should we explicitly empty it when invoking `disconnect()`? I guess so.

With that I think we can remove https://dom.spec.whatwg.org/#garbage-collection as that seems largely bogus.

@rniwa @smaug---- thoughts?

-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/dom/issues/1159#issuecomment-1428011868
You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/dom/issues/1159/1428011868@github.com>

Received on Monday, 13 February 2023 14:16:22 UTC