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

Gecko has a slightly different (and somewhat weird) model for `<iframe>`, but it has _some_ sort of model.

Gecko loads iframes [from the outermost call `Document::EndUpdate`](https://searchfox.org/mozilla-central/rev/d24696b5abaf9fb75f7985952eab50d5f4ed52ac/dom/base/Document.cpp#6913), which gets called after ever DOM mutation and such. If it's safe to run script there, then it does it synchronously, otherwise it adds to the same queue `<style>` uses (via `AddScriptRunner`).

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

Received on Monday, 9 December 2019 15:36:25 UTC