diff options
author | Josh Matthews <josh@joshmatthews.net> | 2024-12-26 01:06:09 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-12-26 06:06:09 +0000 |
commit | 981616f91868de481f55e793a7632e6e133a743e (patch) | |
tree | 59d1f960e7d5e5d407dd80613cc6dc471271c99f /tests/wpt/meta/html/semantics/scripting-1 | |
parent | 20d67bdc441eeb61c52c38dd034eaec6504b3b32 (diff) | |
download | servo-981616f91868de481f55e793a7632e6e133a743e.tar.gz servo-981616f91868de481f55e793a7632e6e133a743e.zip |
Don't run scripts while DOM tree is undergoing mutations (#34505)
* script: Implement node insertion post-connection hook. Ensure script elements only run scripts when the DOM has stabilized.
Signed-off-by: Josh Matthews <josh@joshmatthews.net>
* script: Make iframe element use post-connection steps when handling initial document insertion.
Signed-off-by: Josh Matthews <josh@joshmatthews.net>
* script: Use a delayed task when running post-connection steps.
Signed-off-by: Josh Matthews <josh@joshmatthews.net>
* script: Add explanatory comment.
Signed-off-by: Josh Matthews <josh@joshmatthews.net>
* Tidy.
Signed-off-by: Josh Matthews <josh@joshmatthews.net>
---------
Signed-off-by: Josh Matthews <josh@joshmatthews.net>
Diffstat (limited to 'tests/wpt/meta/html/semantics/scripting-1')
-rw-r--r-- | tests/wpt/meta/html/semantics/scripting-1/the-script-element/execution-timing/147.html.ini | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/tests/wpt/meta/html/semantics/scripting-1/the-script-element/execution-timing/147.html.ini b/tests/wpt/meta/html/semantics/scripting-1/the-script-element/execution-timing/147.html.ini deleted file mode 100644 index f1f32db7bb4..00000000000 --- a/tests/wpt/meta/html/semantics/scripting-1/the-script-element/execution-timing/147.html.ini +++ /dev/null @@ -1,3 +0,0 @@ -[147.html] - [scheduler: insert multiple inline scripts; first script moves subsequent scripts ] - expected: FAIL |