- From: Justin Fagnani <notifications@github.com>
- Date: Sun, 27 Apr 2025 17:23:31 -0700
- To: whatwg/dom <dom@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Monday, 28 April 2025 00:23:35 UTC
justinfagnani left a comment (whatwg/dom#126) > I was just asking about transient observers, not saying it wouldn't work. But I need to still think how the proposal would behave in that case. > > > * removes any MutationRecords for target from queue > > How does this work? Records may be there because of multiple targets. I mean something like [this](http://mozilla.pettay.fi/moztests/nested_mo.html). I would prefer that previously queued records are kept. If I unobserve a node I don't want to see future mutations, but I still want to see already enqueued past mutations, otherwise I would haven't unobserved earlier. Also, as you say, records may exist because of multiple targets and it seems very complicated to removed them based on them only having been enqueued because of the currently unobserved target. -- Reply to this email directly or view it on GitHub: https://github.com/whatwg/dom/issues/126#issuecomment-2833722485 You are receiving this because you are subscribed to this thread. Message ID: <whatwg/dom/issues/126/2833722485@github.com>
Received on Monday, 28 April 2025 00:23:35 UTC