- From: Joey Arhar <notifications@github.com>
- Date: Thu, 10 Sep 2020 17:21:40 +0000 (UTC)
- To: whatwg/dom <dom@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
- Message-ID: <whatwg/dom/issues/808/690533708@github.com>
Is the goal here simply to remove mutation events? Based on [tkent's doc](https://docs.google.com/document/d/1vYBKZGjE-EEFHy-sidffEqKNxuBSENcym3ql-3jDYfk/edit#) I found in https://github.com/whatwg/dom/issues/305, it sounds like we would already have to contact sites to get them to stop using mutation events in order to change their behavior - why not skip the change in behavior and just get rid of them altogether in one step? > Chrome and Firefox have this model for script insertion. (Though there are differences, if two scripts are inserted and the first removes the second, Firefox will execute the second, Chrome will not. They also react differently to changes to children of the script element, with Chrome only caring about insertions there.) > > Chrome has this model for iframe insertion as well, but not removal. Firefox only has it for removal (insertion cannot trigger script in Firefox as it does not have a synchronous load event; note that this means that Chrome and Firefox create nested browsing contexts at different times). > > Firefox has this model for style insertion, but since style cannot trigger script I don't think we should follow that. Are there any examples which would help me understand how these operations run script? Is it all just mutation events or is it something else? -- 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-690533708
Received on Thursday, 10 September 2020 17:21:55 UTC