Re: [whatwg/dom] Side effects due to tree insertion or removal (script, iframe) (#808)

> Are there any examples which would help me understand how these operations run script? 

* Inserting an inline `<script>` (one without `src`) runs the script text in it immediately, before the insert call returns.
* Inserting an iframe with no src attribute set (and maybe with one set to `about:blank`?) fires a load event synchronously, before the call returns, in Chrome.
* Removing an iframe synchronously fires beforeunload and unload events on the document inside, last I checked.

None of that is related to mutation events.

-- 
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/808#issuecomment-690579799

Received on Thursday, 10 September 2020 17:54:27 UTC