Funny to see the issue is still discussed, I've actually used WeakSets a bunch in the last few years.
Here's code from last weak that detects with a mutation observer when a new iframe is attached to the DOM (simplified): https://gist.github.com/benjamingr/9afb875d1d87377e7e66b166cf1905b5
_______________________________________________ es-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es-discuss

