From 0e168ce631b9cf8a60c10f168aa640e94c61913a Mon Sep 17 00:00:00 2001 From: Sam Atkins Date: Tue, 17 Jun 2025 12:26:31 +0100 Subject: [PATCH] Tests: Reimport dom/nodes/moveBefore tests Apart from these moving out of `tentative/`, the custom-element-move-reactions.html test was updated to be less flaky: https://github.com/web-platform-tests/wpt/commit/5e87cd92c042ad37541af9f58ead3785a7873bf1 --- .../chrome-338071841-crash.html | 0 .../{tentative => }/Node-moveBefore.txt | 0 .../custom-element-move-reactions.txt | 0 .../{tentative => }/focus-within.txt | 0 .../{tentative => }/live-range-updates.txt | 0 .../moveBefore-shadow-inside.txt | 0 .../moveBefore-shadow-root.txt | 0 .../{tentative => }/mutation-events.txt | 0 .../{tentative => }/mutation-observer.txt | 0 .../moveBefore/{tentative => }/nonce.txt | 0 .../object-crash-regression.txt | 0 .../{tentative => }/popover-preserve.txt | 0 .../{tentative => }/style-applies.txt | 0 .../{tentative => }/Node-moveBefore.html | 6 ++--- .../custom-element-move-reactions.html | 22 +++++++++++-------- .../{tentative => }/focus-within.html | 4 ++-- .../{tentative => }/live-range-updates.html | 4 ++-- .../moveBefore-shadow-inside.html | 4 ++-- .../moveBefore-shadow-root.html | 4 ++-- .../{tentative => }/mutation-events.html | 4 ++-- .../{tentative => }/mutation-observer.html | 4 ++-- .../moveBefore/{tentative => }/nonce.html | 4 ++-- .../object-crash-regression.html | 4 ++-- .../{tentative => }/popover-preserve.html | 4 ++-- .../{tentative => }/style-applies.html | 4 ++-- 25 files changed, 36 insertions(+), 32 deletions(-) rename Tests/LibWeb/Crash/wpt-import/dom/nodes/moveBefore/{tentative => }/chrome-338071841-crash.html (100%) rename Tests/LibWeb/Text/expected/wpt-import/dom/nodes/moveBefore/{tentative => }/Node-moveBefore.txt (100%) rename Tests/LibWeb/Text/expected/wpt-import/dom/nodes/moveBefore/{tentative => }/custom-element-move-reactions.txt (100%) rename Tests/LibWeb/Text/expected/wpt-import/dom/nodes/moveBefore/{tentative => }/focus-within.txt (100%) rename Tests/LibWeb/Text/expected/wpt-import/dom/nodes/moveBefore/{tentative => }/live-range-updates.txt (100%) rename Tests/LibWeb/Text/expected/wpt-import/dom/nodes/moveBefore/{tentative => }/moveBefore-shadow-inside.txt (100%) rename Tests/LibWeb/Text/expected/wpt-import/dom/nodes/moveBefore/{tentative => }/moveBefore-shadow-root.txt (100%) rename Tests/LibWeb/Text/expected/wpt-import/dom/nodes/moveBefore/{tentative => }/mutation-events.txt (100%) rename Tests/LibWeb/Text/expected/wpt-import/dom/nodes/moveBefore/{tentative => }/mutation-observer.txt (100%) rename Tests/LibWeb/Text/expected/wpt-import/dom/nodes/moveBefore/{tentative => }/nonce.txt (100%) rename Tests/LibWeb/Text/expected/wpt-import/dom/nodes/moveBefore/{tentative => }/object-crash-regression.txt (100%) rename Tests/LibWeb/Text/expected/wpt-import/dom/nodes/moveBefore/{tentative => }/popover-preserve.txt (100%) rename Tests/LibWeb/Text/expected/wpt-import/dom/nodes/moveBefore/{tentative => }/style-applies.txt (100%) rename Tests/LibWeb/Text/input/wpt-import/dom/nodes/moveBefore/{tentative => }/Node-moveBefore.html (98%) rename Tests/LibWeb/Text/input/wpt-import/dom/nodes/moveBefore/{tentative => }/custom-element-move-reactions.html (90%) rename Tests/LibWeb/Text/input/wpt-import/dom/nodes/moveBefore/{tentative => }/focus-within.html (96%) rename Tests/LibWeb/Text/input/wpt-import/dom/nodes/moveBefore/{tentative => }/live-range-updates.html (96%) rename Tests/LibWeb/Text/input/wpt-import/dom/nodes/moveBefore/{tentative => }/moveBefore-shadow-inside.html (89%) rename Tests/LibWeb/Text/input/wpt-import/dom/nodes/moveBefore/{tentative => }/moveBefore-shadow-root.html (84%) rename Tests/LibWeb/Text/input/wpt-import/dom/nodes/moveBefore/{tentative => }/mutation-events.html (83%) rename Tests/LibWeb/Text/input/wpt-import/dom/nodes/moveBefore/{tentative => }/mutation-observer.html (93%) rename Tests/LibWeb/Text/input/wpt-import/dom/nodes/moveBefore/{tentative => }/nonce.html (82%) rename Tests/LibWeb/Text/input/wpt-import/dom/nodes/moveBefore/{tentative => }/object-crash-regression.html (74%) rename Tests/LibWeb/Text/input/wpt-import/dom/nodes/moveBefore/{tentative => }/popover-preserve.html (83%) rename Tests/LibWeb/Text/input/wpt-import/dom/nodes/moveBefore/{tentative => }/style-applies.html (82%) diff --git a/Tests/LibWeb/Crash/wpt-import/dom/nodes/moveBefore/tentative/chrome-338071841-crash.html b/Tests/LibWeb/Crash/wpt-import/dom/nodes/moveBefore/chrome-338071841-crash.html similarity index 100% rename from Tests/LibWeb/Crash/wpt-import/dom/nodes/moveBefore/tentative/chrome-338071841-crash.html rename to Tests/LibWeb/Crash/wpt-import/dom/nodes/moveBefore/chrome-338071841-crash.html diff --git a/Tests/LibWeb/Text/expected/wpt-import/dom/nodes/moveBefore/tentative/Node-moveBefore.txt b/Tests/LibWeb/Text/expected/wpt-import/dom/nodes/moveBefore/Node-moveBefore.txt similarity index 100% rename from Tests/LibWeb/Text/expected/wpt-import/dom/nodes/moveBefore/tentative/Node-moveBefore.txt rename to Tests/LibWeb/Text/expected/wpt-import/dom/nodes/moveBefore/Node-moveBefore.txt diff --git a/Tests/LibWeb/Text/expected/wpt-import/dom/nodes/moveBefore/tentative/custom-element-move-reactions.txt b/Tests/LibWeb/Text/expected/wpt-import/dom/nodes/moveBefore/custom-element-move-reactions.txt similarity index 100% rename from Tests/LibWeb/Text/expected/wpt-import/dom/nodes/moveBefore/tentative/custom-element-move-reactions.txt rename to Tests/LibWeb/Text/expected/wpt-import/dom/nodes/moveBefore/custom-element-move-reactions.txt diff --git a/Tests/LibWeb/Text/expected/wpt-import/dom/nodes/moveBefore/tentative/focus-within.txt b/Tests/LibWeb/Text/expected/wpt-import/dom/nodes/moveBefore/focus-within.txt similarity index 100% rename from Tests/LibWeb/Text/expected/wpt-import/dom/nodes/moveBefore/tentative/focus-within.txt rename to Tests/LibWeb/Text/expected/wpt-import/dom/nodes/moveBefore/focus-within.txt diff --git a/Tests/LibWeb/Text/expected/wpt-import/dom/nodes/moveBefore/tentative/live-range-updates.txt b/Tests/LibWeb/Text/expected/wpt-import/dom/nodes/moveBefore/live-range-updates.txt similarity index 100% rename from Tests/LibWeb/Text/expected/wpt-import/dom/nodes/moveBefore/tentative/live-range-updates.txt rename to Tests/LibWeb/Text/expected/wpt-import/dom/nodes/moveBefore/live-range-updates.txt diff --git a/Tests/LibWeb/Text/expected/wpt-import/dom/nodes/moveBefore/tentative/moveBefore-shadow-inside.txt b/Tests/LibWeb/Text/expected/wpt-import/dom/nodes/moveBefore/moveBefore-shadow-inside.txt similarity index 100% rename from Tests/LibWeb/Text/expected/wpt-import/dom/nodes/moveBefore/tentative/moveBefore-shadow-inside.txt rename to Tests/LibWeb/Text/expected/wpt-import/dom/nodes/moveBefore/moveBefore-shadow-inside.txt diff --git a/Tests/LibWeb/Text/expected/wpt-import/dom/nodes/moveBefore/tentative/moveBefore-shadow-root.txt b/Tests/LibWeb/Text/expected/wpt-import/dom/nodes/moveBefore/moveBefore-shadow-root.txt similarity index 100% rename from Tests/LibWeb/Text/expected/wpt-import/dom/nodes/moveBefore/tentative/moveBefore-shadow-root.txt rename to Tests/LibWeb/Text/expected/wpt-import/dom/nodes/moveBefore/moveBefore-shadow-root.txt diff --git a/Tests/LibWeb/Text/expected/wpt-import/dom/nodes/moveBefore/tentative/mutation-events.txt b/Tests/LibWeb/Text/expected/wpt-import/dom/nodes/moveBefore/mutation-events.txt similarity index 100% rename from Tests/LibWeb/Text/expected/wpt-import/dom/nodes/moveBefore/tentative/mutation-events.txt rename to Tests/LibWeb/Text/expected/wpt-import/dom/nodes/moveBefore/mutation-events.txt diff --git a/Tests/LibWeb/Text/expected/wpt-import/dom/nodes/moveBefore/tentative/mutation-observer.txt b/Tests/LibWeb/Text/expected/wpt-import/dom/nodes/moveBefore/mutation-observer.txt similarity index 100% rename from Tests/LibWeb/Text/expected/wpt-import/dom/nodes/moveBefore/tentative/mutation-observer.txt rename to Tests/LibWeb/Text/expected/wpt-import/dom/nodes/moveBefore/mutation-observer.txt diff --git a/Tests/LibWeb/Text/expected/wpt-import/dom/nodes/moveBefore/tentative/nonce.txt b/Tests/LibWeb/Text/expected/wpt-import/dom/nodes/moveBefore/nonce.txt similarity index 100% rename from Tests/LibWeb/Text/expected/wpt-import/dom/nodes/moveBefore/tentative/nonce.txt rename to Tests/LibWeb/Text/expected/wpt-import/dom/nodes/moveBefore/nonce.txt diff --git a/Tests/LibWeb/Text/expected/wpt-import/dom/nodes/moveBefore/tentative/object-crash-regression.txt b/Tests/LibWeb/Text/expected/wpt-import/dom/nodes/moveBefore/object-crash-regression.txt similarity index 100% rename from Tests/LibWeb/Text/expected/wpt-import/dom/nodes/moveBefore/tentative/object-crash-regression.txt rename to Tests/LibWeb/Text/expected/wpt-import/dom/nodes/moveBefore/object-crash-regression.txt diff --git a/Tests/LibWeb/Text/expected/wpt-import/dom/nodes/moveBefore/tentative/popover-preserve.txt b/Tests/LibWeb/Text/expected/wpt-import/dom/nodes/moveBefore/popover-preserve.txt similarity index 100% rename from Tests/LibWeb/Text/expected/wpt-import/dom/nodes/moveBefore/tentative/popover-preserve.txt rename to Tests/LibWeb/Text/expected/wpt-import/dom/nodes/moveBefore/popover-preserve.txt diff --git a/Tests/LibWeb/Text/expected/wpt-import/dom/nodes/moveBefore/tentative/style-applies.txt b/Tests/LibWeb/Text/expected/wpt-import/dom/nodes/moveBefore/style-applies.txt similarity index 100% rename from Tests/LibWeb/Text/expected/wpt-import/dom/nodes/moveBefore/tentative/style-applies.txt rename to Tests/LibWeb/Text/expected/wpt-import/dom/nodes/moveBefore/style-applies.txt diff --git a/Tests/LibWeb/Text/input/wpt-import/dom/nodes/moveBefore/tentative/Node-moveBefore.html b/Tests/LibWeb/Text/input/wpt-import/dom/nodes/moveBefore/Node-moveBefore.html similarity index 98% rename from Tests/LibWeb/Text/input/wpt-import/dom/nodes/moveBefore/tentative/Node-moveBefore.html rename to Tests/LibWeb/Text/input/wpt-import/dom/nodes/moveBefore/Node-moveBefore.html index 348561a7e50..7828f399ebc 100644 --- a/Tests/LibWeb/Text/input/wpt-import/dom/nodes/moveBefore/tentative/Node-moveBefore.html +++ b/Tests/LibWeb/Text/input/wpt-import/dom/nodes/moveBefore/Node-moveBefore.html @@ -1,14 +1,14 @@ Node.moveBefore - - + +
- + - + + @@ -9,10 +9,14 @@
- + +
diff --git a/Tests/LibWeb/Text/input/wpt-import/dom/nodes/moveBefore/tentative/live-range-updates.html b/Tests/LibWeb/Text/input/wpt-import/dom/nodes/moveBefore/live-range-updates.html similarity index 96% rename from Tests/LibWeb/Text/input/wpt-import/dom/nodes/moveBefore/tentative/live-range-updates.html rename to Tests/LibWeb/Text/input/wpt-import/dom/nodes/moveBefore/live-range-updates.html index 9bdc9dfcb94..f41d38fe30c 100644 --- a/Tests/LibWeb/Text/input/wpt-import/dom/nodes/moveBefore/tentative/live-range-updates.html +++ b/Tests/LibWeb/Text/input/wpt-import/dom/nodes/moveBefore/live-range-updates.html @@ -1,8 +1,8 @@ - - + + diff --git a/Tests/LibWeb/Text/input/wpt-import/dom/nodes/moveBefore/tentative/moveBefore-shadow-inside.html b/Tests/LibWeb/Text/input/wpt-import/dom/nodes/moveBefore/moveBefore-shadow-inside.html similarity index 89% rename from Tests/LibWeb/Text/input/wpt-import/dom/nodes/moveBefore/tentative/moveBefore-shadow-inside.html rename to Tests/LibWeb/Text/input/wpt-import/dom/nodes/moveBefore/moveBefore-shadow-inside.html index d8e4f816e83..31356c5d904 100644 --- a/Tests/LibWeb/Text/input/wpt-import/dom/nodes/moveBefore/tentative/moveBefore-shadow-inside.html +++ b/Tests/LibWeb/Text/input/wpt-import/dom/nodes/moveBefore/moveBefore-shadow-inside.html @@ -1,6 +1,6 @@ - - + +