[wpt-sync] Sync PR 62754 - Prevent premature stylesheet completion in script tests
Categories
(Core :: DOM: Core & HTML, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox163 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 62754 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/62754
Details from upstream follow.
Domenic Denicola <d@domenic.me> wrote:
Prevent premature stylesheet completion in script tests
These tests check that a parser-inserted inline script executes the source captured during preparation, even if its text changes before execution. The CSP variant additionally checks that the source approved by CSP is the source that executes.
To create a gap between preparation and execution, the tests put a pending stylesheet before the target script and schedule a timer to mutate its text. Previously, the mutation waited 500 ms and the stylesheet response waited one second. Those delays do not start together: speculative loading can request and finish the stylesheet while the parser is still waiting for testharness.js, before the mutation timer is even scheduled. The target script then executes before its text changes, producing a failure unrelated to the behavior under test.
Keep the stylesheet response pending until the mutation callback explicitly releases it. This guarantees that stylesheet completion follows the mutation, regardless of when the stylesheet request starts. Use XHR for the release because Firefox explicitly exempts it from scheduling behind blocking CSS/JS loads; fetch() can instead deadlock this arrangement. Release the response even if the mutation step fails, so document loading can finish.
This removes the premature-stylesheet-completion race, not every timing assumption. The existing 500 ms timer still assumes the parser has reached and prepared the target script before the mutation runs.
| Assignee | ||
Updated•2 months ago
|
| Assignee | ||
Comment 1•24 days ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/jobs?repo=try&landoInstance=lando-prod-2025&landoCommitID=116837
| Assignee | ||
Comment 2•24 days ago
|
||
CI Results
Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 516 tests and 3 subtests
Status Summary
Firefox
OK : 2[GitHub] 503[Gecko-android-em-14-x86_64-debug-geckoview] 504[Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview] 507[Gecko-linux2404-64-debug] 508[Gecko-windows11-32-25h2-debug] 509[Gecko-windows11-64-25h2-debug] 512[Gecko-windows11-32-25h2-opt] 513[Gecko-linux2404-64-opt, Gecko-windows11-64-25h2-opt]
PASS : 3209[Gecko-android-em-14-x86_64-debug-geckoview] 3213[Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview] 3227[Gecko-windows11-32-25h2-debug] 3228[Gecko-windows11-64-25h2-debug] 3232[Gecko-linux2404-64-debug] 3249[Gecko-windows11-32-25h2-opt] 3250[Gecko-linux2404-64-opt, Gecko-windows11-64-25h2-opt]
FAIL : 2[GitHub] 63[Gecko-linux2404-64-opt, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-opt] 79[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview] 81[Gecko-linux2404-64-debug, Gecko-windows11-32-25h2-debug, Gecko-windows11-64-25h2-debug]
ERROR: 3[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-linux2404-64-debug, Gecko-windows11-32-25h2-debug, Gecko-windows11-64-25h2-debug] 4[Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview]
Chrome
OK : 2
PASS : 2
Safari
OK : 2
FAIL : 2
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
- /html/semantics/scripting-1/the-script-element/module/dynamic-import/microtasks/worklet.https.html [wpt.fyi]:
SKIP - /html/semantics/scripting-1/the-script-element/change-src-attr-prepare-a-script.html [wpt.fyi]:
SKIP - /html/semantics/scripting-1/the-script-element/microtasks/evaluation-order-2.html [wpt.fyi]:
OK[Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview,Gecko-linux2404-64-debug,Gecko-linux2404-64-opt,Gecko-windows11-32-25h2-debug,Gecko-windows11-32-25h2-opt,Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt],SKIP[Gecko-android-em-14-x86_64-debug-geckoview] - /html/semantics/scripting-1/the-script-element/microtasks/evaluation-order-3.any.worker-module.html [wpt.fyi]:
OK[Gecko-linux2404-64-opt,Gecko-windows11-32-25h2-debug,Gecko-windows11-32-25h2-opt,Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt],SKIP[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview,Gecko-linux2404-64-debug] - /html/semantics/scripting-1/the-script-element/module/import-meta/import-meta-url.any.worker-module.html [wpt.fyi]:
OK[Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview,Gecko-linux2404-64-opt,Gecko-windows11-32-25h2-debug,Gecko-windows11-32-25h2-opt,Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt],SKIP[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-linux2404-64-debug] - /html/semantics/scripting-1/the-script-element/module/instantiation-error-8.html [wpt.fyi]:
SKIP - /html/semantics/scripting-1/the-script-element/moving-between-documents/after-prepare-createHTMLDocument-fetch-error-external-module.html [wpt.fyi]:
OK[Gecko-linux2404-64-debug,Gecko-linux2404-64-opt,Gecko-windows11-32-25h2-debug,Gecko-windows11-32-25h2-opt,Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt],SKIP[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview]- <script> error: Move fetch-error external module script to createHTMLDocument after-prepare:
FAIL[Gecko-linux2404-64-debug,Gecko-windows11-32-25h2-debug,Gecko-windows11-64-25h2-debug],PASS[Gecko-linux2404-64-opt,Gecko-windows11-32-25h2-opt,Gecko-windows11-64-25h2-opt]
- <script> error: Move fetch-error external module script to createHTMLDocument after-prepare:
- /html/semantics/scripting-1/the-script-element/moving-between-documents/after-prepare-iframe-parse-error-inline-classic.html [wpt.fyi]:
OK[Gecko-linux2404-64-debug,Gecko-linux2404-64-opt,Gecko-windows11-32-25h2-debug,Gecko-windows11-32-25h2-opt,Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt],SKIP[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview]- window error: Move parse-error inline classic script to iframe after-prepare:
FAIL[Gecko-linux2404-64-debug,Gecko-windows11-32-25h2-debug,Gecko-windows11-64-25h2-debug],PASS[Gecko-linux2404-64-opt,Gecko-windows11-32-25h2-opt,Gecko-windows11-64-25h2-opt]
- window error: Move parse-error inline classic script to iframe after-prepare:
- /html/semantics/scripting-1/the-script-element/moving-between-documents/before-prepare-iframe-fetch-error-external-module.html [wpt.fyi]:
OK[Gecko-linux2404-64-debug,Gecko-linux2404-64-opt,Gecko-windows11-32-25h2-debug,Gecko-windows11-32-25h2-opt,Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt],SKIP[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview] - /html/semantics/scripting-1/the-script-element/moving-between-documents/before-prepare-iframe-success-external-classic.html [wpt.fyi]:
OK[Gecko-linux2404-64-debug,Gecko-linux2404-64-opt,Gecko-windows11-32-25h2-debug,Gecko-windows11-32-25h2-opt,Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt],SKIP[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview] - /html/semantics/scripting-1/the-script-element/data-url.html [wpt.fyi]
- Test data URL and scripts errors:
FAIL
- Test data URL and scripts errors:
- /html/semantics/scripting-1/the-script-element/execution-timing/106-defer-noimport.html [wpt.fyi]:
OK[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview,Gecko-linux2404-64-debug,Gecko-linux2404-64-opt,Gecko-windows11-32-25h2-debug,Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt],SKIP[Gecko-windows11-32-25h2-opt] - /html/semantics/scripting-1/the-script-element/execution-timing/128.html [wpt.fyi]
- scheduler: appending script element to script :
FAIL
- scheduler: appending script element to script :
- /html/semantics/scripting-1/the-script-element/execution-timing/148.html [wpt.fyi]
- scheduler: insert multiple inline scripts; first script deletes subsequent script :
FAIL
- scheduler: insert multiple inline scripts; first script deletes subsequent script :
- /html/semantics/scripting-1/the-script-element/microtasks/checkpoint-after-workerglobalscope-onerror.html [wpt.fyi]
- Promise resolved during #report-the-error:
FAIL
- Promise resolved during #report-the-error:
- /html/semantics/scripting-1/the-script-element/microtasks/evaluation-order-1-throw-importScripts.any.sharedworker.html [wpt.fyi]
- importScripts() queueing a microtask then throwing an exception:
FAIL
- importScripts() queueing a microtask then throwing an exception:
- /html/semantics/scripting-1/the-script-element/microtasks/evaluation-order-1-throw-importScripts.any.worker.html [wpt.fyi]:
OK[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview,Gecko-linux2404-64-opt,Gecko-windows11-32-25h2-debug,Gecko-windows11-32-25h2-opt,Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt],SKIP[Gecko-linux2404-64-debug]- importScripts() queueing a microtask then throwing an exception:
FAIL
- importScripts() queueing a microtask then throwing an exception:
- /html/semantics/scripting-1/the-script-element/microtasks/evaluation-order-1-throw-static-import.any.worker-module.html [wpt.fyi]:
OK[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview,Gecko-linux2404-64-debug,Gecko-linux2404-64-opt,Gecko-windows11-32-25h2-opt,Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt],SKIP[Gecko-windows11-32-25h2-debug] - /html/semantics/scripting-1/the-script-element/microtasks/evaluation-order-1.html [wpt.fyi]:
OK[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview,Gecko-linux2404-64-debug,Gecko-linux2404-64-opt,Gecko-windows11-32-25h2-opt,Gecko-windows11-64-25h2-opt],SKIP[Gecko-windows11-32-25h2-debug,Gecko-windows11-64-25h2-debug] - /html/semantics/scripting-1/the-script-element/module/choice-of-error-1.html [wpt.fyi]
- Parse errors in different files should be reported depending on different roots:
FAIL
- Parse errors in different files should be reported depending on different roots:
- /html/semantics/scripting-1/the-script-element/module/dynamic-import/alpha/base-url.sub.html [wpt.fyi]
- Relative URL-like from cross origin classic <script> without crossorigin attribute:
FAIL
- Relative URL-like from cross origin classic <script> without crossorigin attribute:
- /html/semantics/scripting-1/the-script-element/module/dynamic-import/delay-load-event.html [wpt.fyi]
- Dynamic imports don't delay the load event.:
FAIL
- Dynamic imports don't delay the load event.:
- /html/semantics/scripting-1/the-script-element/module/dynamic-import/dynamic-imports-credentials-setTimeout.sub.html [wpt.fyi]
- Cross-origin dynamic import from setTimeout(string) from classic script (crossOrigin=use-credentials):
FAIL
- Cross-origin dynamic import from setTimeout(string) from classic script (crossOrigin=use-credentials):
- /html/semantics/scripting-1/the-script-element/module/dynamic-import/dynamic-imports-credentials.sub.html [wpt.fyi]
- Cross-origin dynamic import from classic script (crossOrigin=use-credentials):
FAIL
- Cross-origin dynamic import from classic script (crossOrigin=use-credentials):
- /html/semantics/scripting-1/the-script-element/module/dynamic-import/dynamic-imports-script-error.html [wpt.fyi]
- import() must reject with the same error object for each import when there is a bad module specifier in a dependency:
FAIL
- import() must reject with the same error object for each import when there is a bad module specifier in a dependency:
- /html/semantics/scripting-1/the-script-element/module/dynamic-import/microtasks/basic.any.html [wpt.fyi]
- import() should not drain the microtask queue when loading an already loaded module:
FAIL
- import() should not drain the microtask queue when loading an already loaded module:
- /html/semantics/scripting-1/the-script-element/module/dynamic-import/string-compilation-of-promise-result.html [wpt.fyi]
- Evaled the script via eval, successful import:
FAIL - Evaled the script via Function, successful import:
FAIL
- Evaled the script via eval, successful import:
- /html/semantics/scripting-1/the-script-element/module/error-type-1.html [wpt.fyi]
- network error has higher priority than parse error:
FAIL
- network error has higher priority than parse error:
- /html/semantics/scripting-1/the-script-element/module/modulepreload-inline-referrerpolicy.html [wpt.fyi]
- Inline modulepreload elements should respect the referrerpolicy attribute:
FAIL
- Inline modulepreload elements should respect the referrerpolicy attribute:
- /html/semantics/scripting-1/the-script-element/module/type.html [wpt.fyi]
- type="module ":
FAIL - type=" module":
FAIL - type=" module ":
FAIL
- type="module ":
- /html/semantics/scripting-1/the-script-element/moving-between-documents/after-prepare-createHTMLDocument-fetch-error-external-classic.html [wpt.fyi]
- <script> error: Move fetch-error external classic script to createHTMLDocument after-prepare:
FAIL[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview,Gecko-linux2404-64-debug,Gecko-windows11-32-25h2-debug,Gecko-windows11-64-25h2-debug],PASS[Gecko-linux2404-64-opt,Gecko-windows11-32-25h2-opt,Gecko-windows11-64-25h2-opt]
- <script> error: Move fetch-error external classic script to createHTMLDocument after-prepare:
- /html/semantics/scripting-1/the-script-element/moving-between-documents/after-prepare-createHTMLDocument-parse-error-external-classic.html [wpt.fyi]
- <script> load: Move parse-error external classic script to createHTMLDocument after-prepare:
FAIL[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview,Gecko-linux2404-64-debug,Gecko-windows11-32-25h2-debug,Gecko-windows11-64-25h2-debug],PASS[Gecko-linux2404-64-opt,Gecko-windows11-32-25h2-opt,Gecko-windows11-64-25h2-opt] - window error: Move parse-error external classic script to createHTMLDocument after-prepare:
FAIL[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview,Gecko-linux2404-64-debug,Gecko-windows11-32-25h2-debug,Gecko-windows11-64-25h2-debug],PASS[Gecko-linux2404-64-opt,Gecko-windows11-32-25h2-opt,Gecko-windows11-64-25h2-opt]
- <script> load: Move parse-error external classic script to createHTMLDocument after-prepare:
- /html/semantics/scripting-1/the-script-element/moving-between-documents/after-prepare-createHTMLDocument-parse-error-external-module.html [wpt.fyi]
- <script> load: Move parse-error external module script to createHTMLDocument after-prepare:
FAIL[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview,Gecko-linux2404-64-debug,Gecko-windows11-32-25h2-debug,Gecko-windows11-64-25h2-debug],PASS[Gecko-linux2404-64-opt,Gecko-windows11-32-25h2-opt,Gecko-windows11-64-25h2-opt] - window error: Move parse-error external module script to createHTMLDocument after-prepare:
FAIL[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview,Gecko-linux2404-64-debug,Gecko-windows11-32-25h2-debug,Gecko-windows11-64-25h2-debug],PASS[Gecko-linux2404-64-opt,Gecko-windows11-32-25h2-opt,Gecko-windows11-64-25h2-opt]
- <script> load: Move parse-error external module script to createHTMLDocument after-prepare:
- /html/semantics/scripting-1/the-script-element/moving-between-documents/after-prepare-createHTMLDocument-success-external-classic.html [wpt.fyi]
- Eval: Move success external classic script to createHTMLDocument after-prepare:
FAIL[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview,Gecko-linux2404-64-debug,Gecko-windows11-32-25h2-debug,Gecko-windows11-64-25h2-debug],PASS[Gecko-linux2404-64-opt,Gecko-windows11-32-25h2-opt,Gecko-windows11-64-25h2-opt] - <script> load: Move success external classic script to createHTMLDocument after-prepare:
FAIL[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview,Gecko-linux2404-64-debug,Gecko-windows11-32-25h2-debug,Gecko-windows11-64-25h2-debug],PASS[Gecko-linux2404-64-opt,Gecko-windows11-32-25h2-opt,Gecko-windows11-64-25h2-opt]
- Eval: Move success external classic script to createHTMLDocument after-prepare:
- /html/semantics/scripting-1/the-script-element/moving-between-documents/after-prepare-createHTMLDocument-success-external-module.html [wpt.fyi]
- Eval: Move success external module script to createHTMLDocument after-prepare:
FAIL[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview,Gecko-linux2404-64-debug,Gecko-windows11-32-25h2-debug,Gecko-windows11-64-25h2-debug],PASS[Gecko-linux2404-64-opt,Gecko-windows11-32-25h2-opt,Gecko-windows11-64-25h2-opt] - <script> load: Move success external module script to createHTMLDocument after-prepare:
FAIL[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview,Gecko-linux2404-64-debug,Gecko-windows11-32-25h2-debug,Gecko-windows11-64-25h2-debug],PASS[Gecko-linux2404-64-opt,Gecko-windows11-32-25h2-opt,Gecko-windows11-64-25h2-opt]
- Eval: Move success external module script to createHTMLDocument after-prepare:
- /html/semantics/scripting-1/the-script-element/moving-between-documents/after-prepare-iframe-fetch-error-external-classic.html [wpt.fyi]
- <script> error: Move fetch-error external classic script to iframe after-prepare:
FAIL[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview,Gecko-linux2404-64-debug,Gecko-windows11-32-25h2-debug,Gecko-windows11-64-25h2-debug],PASS[Gecko-linux2404-64-opt,Gecko-windows11-32-25h2-opt,Gecko-windows11-64-25h2-opt]
- <script> error: Move fetch-error external classic script to iframe after-prepare:
- /html/semantics/scripting-1/the-script-element/moving-between-documents/after-prepare-iframe-fetch-error-external-module.html [wpt.fyi]
- <script> error: Move fetch-error external module script to iframe after-prepare:
FAIL[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview,Gecko-linux2404-64-debug,Gecko-windows11-32-25h2-debug,Gecko-windows11-64-25h2-debug],PASS[Gecko-linux2404-64-opt,Gecko-windows11-32-25h2-opt,Gecko-windows11-64-25h2-opt]
- <script> error: Move fetch-error external module script to iframe after-prepare:
- /html/semantics/scripting-1/the-script-element/moving-between-documents/after-prepare-iframe-parse-error-external-classic.html [wpt.fyi]
- <script> load: Move parse-error external classic script to iframe after-prepare:
FAIL[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview,Gecko-linux2404-64-debug,Gecko-windows11-32-25h2-debug,Gecko-windows11-64-25h2-debug],PASS[Gecko-linux2404-64-opt,Gecko-windows11-32-25h2-opt,Gecko-windows11-64-25h2-opt] - <script> error: Move parse-error external classic script to iframe after-prepare:
FAIL[Gecko-linux2404-64-opt,Gecko-windows11-32-25h2-opt,Gecko-windows11-64-25h2-opt],PASS[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview,Gecko-linux2404-64-debug,Gecko-windows11-32-25h2-debug,Gecko-windows11-64-25h2-debug] - window error: Move parse-error external classic script to iframe after-prepare:
FAIL[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview,Gecko-linux2404-64-debug,Gecko-windows11-32-25h2-debug,Gecko-windows11-64-25h2-debug],PASS[Gecko-linux2404-64-opt,Gecko-windows11-32-25h2-opt,Gecko-windows11-64-25h2-opt]
- <script> load: Move parse-error external classic script to iframe after-prepare:
- /html/semantics/scripting-1/the-script-element/moving-between-documents/after-prepare-iframe-parse-error-external-module.html [wpt.fyi]
- <script> load: Move parse-error external module script to iframe after-prepare:
FAIL[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview,Gecko-linux2404-64-debug,Gecko-windows11-32-25h2-debug,Gecko-windows11-64-25h2-debug],PASS[Gecko-linux2404-64-opt,Gecko-windows11-32-25h2-opt,Gecko-windows11-64-25h2-opt] - <script> error: Move parse-error external module script to iframe after-prepare:
FAIL[Gecko-linux2404-64-opt,Gecko-windows11-32-25h2-opt,Gecko-windows11-64-25h2-opt],PASS[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview,Gecko-linux2404-64-debug,Gecko-windows11-32-25h2-debug,Gecko-windows11-64-25h2-debug] - window error: Move parse-error external module script to iframe after-prepare:
FAIL[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview,Gecko-linux2404-64-debug,Gecko-windows11-32-25h2-debug,Gecko-windows11-64-25h2-debug],PASS[Gecko-linux2404-64-opt,Gecko-windows11-32-25h2-opt,Gecko-windows11-64-25h2-opt]
- <script> load: Move parse-error external module script to iframe after-prepare:
- /html/semantics/scripting-1/the-script-element/moving-between-documents/after-prepare-iframe-success-external-classic.html [wpt.fyi]
- Eval: Move success external classic script to iframe after-prepare:
FAIL[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview,Gecko-linux2404-64-debug,Gecko-windows11-32-25h2-debug,Gecko-windows11-64-25h2-debug],PASS[Gecko-linux2404-64-opt,Gecko-windows11-32-25h2-opt,Gecko-windows11-64-25h2-opt] - <script> load: Move success external classic script to iframe after-prepare:
FAIL[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview,Gecko-linux2404-64-debug,Gecko-windows11-32-25h2-debug,Gecko-windows11-64-25h2-debug],PASS[Gecko-linux2404-64-opt,Gecko-windows11-32-25h2-opt,Gecko-windows11-64-25h2-opt] - <script> error: Move success external classic script to iframe after-prepare:
FAIL[Gecko-linux2404-64-opt,Gecko-windows11-32-25h2-opt,Gecko-windows11-64-25h2-opt],PASS[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview,Gecko-linux2404-64-debug,Gecko-windows11-32-25h2-debug,Gecko-windows11-64-25h2-debug]
- Eval: Move success external classic script to iframe after-prepare:
- /html/semantics/scripting-1/the-script-element/moving-between-documents/after-prepare-iframe-success-external-module.html [wpt.fyi]
- Eval: Move success external module script to iframe after-prepare:
FAIL[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview,Gecko-linux2404-64-debug,Gecko-windows11-32-25h2-debug,Gecko-windows11-64-25h2-debug],PASS[Gecko-linux2404-64-opt,Gecko-windows11-32-25h2-opt,Gecko-windows11-64-25h2-opt] - <script> load: Move success external module script to iframe after-prepare:
FAIL[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview,Gecko-linux2404-64-debug,Gecko-windows11-32-25h2-debug,Gecko-windows11-64-25h2-debug],PASS[Gecko-linux2404-64-opt,Gecko-windows11-32-25h2-opt,Gecko-windows11-64-25h2-opt] - <script> error: Move success external module script to iframe after-prepare:
FAIL[Gecko-linux2404-64-opt,Gecko-windows11-32-25h2-opt,Gecko-windows11-64-25h2-opt],PASS[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview,Gecko-linux2404-64-debug,Gecko-windows11-32-25h2-debug,Gecko-windows11-64-25h2-debug]
- Eval: Move success external module script to iframe after-prepare:
- /html/semantics/scripting-1/the-script-element/moving-between-documents/after-prepare-iframe-success-inline-classic.html [wpt.fyi]
- Eval: Move success inline classic script to iframe after-prepare:
FAIL[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview,Gecko-linux2404-64-debug,Gecko-windows11-32-25h2-debug,Gecko-windows11-64-25h2-debug],PASS[Gecko-linux2404-64-opt,Gecko-windows11-32-25h2-opt,Gecko-windows11-64-25h2-opt]
- Eval: Move success inline classic script to iframe after-prepare:
- /html/semantics/scripting-1/the-script-element/moving-between-documents/ordering/delay-load-event-1.html [wpt.fyi]:
ERROR[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview,Gecko-linux2404-64-debug,Gecko-windows11-32-25h2-debug,Gecko-windows11-64-25h2-debug],OK[Gecko-linux2404-64-opt,Gecko-windows11-32-25h2-opt,Gecko-windows11-64-25h2-opt] - /html/semantics/scripting-1/the-script-element/moving-between-documents/ordering/delay-load-event-2.html [wpt.fyi]:
ERROR[Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview],OK[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-linux2404-64-debug,Gecko-linux2404-64-opt,Gecko-windows11-32-25h2-debug,Gecko-windows11-32-25h2-opt,Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt] - /html/semantics/scripting-1/the-script-element/moving-between-documents/ordering/in-order.html [wpt.fyi]:
ERROR[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview,Gecko-linux2404-64-debug,Gecko-windows11-32-25h2-debug,Gecko-windows11-64-25h2-debug],OK[Gecko-linux2404-64-opt,Gecko-windows11-32-25h2-opt,Gecko-windows11-64-25h2-opt] - /html/semantics/scripting-1/the-script-element/moving-between-documents/ordering/parser-blocking.html [wpt.fyi]:
ERROR[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview,Gecko-linux2404-64-debug,Gecko-windows11-32-25h2-debug,Gecko-windows11-64-25h2-debug],OK[Gecko-linux2404-64-opt,Gecko-windows11-32-25h2-opt,Gecko-windows11-64-25h2-opt] - /html/semantics/scripting-1/the-script-element/muted-errors.sub.html [wpt.fyi]
- Errors for cross-origin script should be muted:
FAIL - Errors for cross-origin script should be muted even if the script is once loaded as same-origin:
FAIL - Errors for same-origin scripts redirected to a cross-origin url and redirected back to same-origin should be muted:
FAIL - Errors for cross-origin scripts redirected to a same-origin url should be muted:
FAIL - Non-synthetic errors for same-origin scripts redirected to a cross-origin URL and redirected back to same-origin should be muted:
FAIL - Syntax error for same-origin script redirected to a cross-origin URL and redirected back to same-origin should be muted:
FAIL
- Errors for cross-origin script should be muted:
- /html/semantics/scripting-1/the-script-element/script-text-modifications-csp.html [wpt.fyi]
- Modify inline script element's text after prepare-a-script before evaluation (CSP):
FAIL(Chrome:PASS, Safari:FAIL)
- Modify inline script element's text after prepare-a-script before evaluation (CSP):
- /html/semantics/scripting-1/the-script-element/script-text-modifications.html [wpt.fyi]
- Modify inline script element's text after prepare-a-script before evaluation:
FAIL(Chrome:PASS, Safari:FAIL)
- Modify inline script element's text after prepare-a-script before evaluation:
- /html/semantics/scripting-1/the-script-element/script-text.html [wpt.fyi]
- Setter (text node reuse):
FAIL
- Setter (text node reuse):
- /html/semantics/scripting-1/the-script-element/text-module/ignore-content-type.any.html [wpt.fyi]
- Import of a text module with MIME type 申请/vnd.api+json should succeed:
FAIL - Import of a text module with MIME type app™lication/vnd.api+json should succeed:
FAIL - Import of a text module with MIME type appli€cation/vnd.api+json should succeed:
FAIL - Import of a text module with MIME type 🚀application/vnd.api+json should succeed:
FAIL - Import of a text module with MIME type application/vnd.api™+json should succeed:
FAIL - Import of a text module with MIME type application/vnd.api€+json should succeed:
FAIL - Import of a text module with MIME type application/vnd.中文+json should succeed:
FAIL - Import of a text module with MIME type application/vnd.api🚀+json should succeed:
FAIL - Import of a text module with MIME type 申请/中文.api+json should succeed:
FAIL - Import of a text module with MIME type app™/vnd€.api+json should succeed:
FAIL
- Import of a text module with MIME type 申请/vnd.api+json should succeed:
- /html/semantics/scripting-1/the-script-element/text-module/ignore-content-type.any.worker.html [wpt.fyi]
- Import of a text module with MIME type 申请/vnd.api+json should succeed:
FAIL - Import of a text module with MIME type app™lication/vnd.api+json should succeed:
FAIL - Import of a text module with MIME type appli€cation/vnd.api+json should succeed:
FAIL - Import of a text module with MIME type 🚀application/vnd.api+json should succeed:
FAIL - Import of a text module with MIME type application/vnd.api™+json should succeed:
FAIL - Import of a text module with MIME type application/vnd.api€+json should succeed:
FAIL - Import of a text module with MIME type application/vnd.中文+json should succeed:
FAIL - Import of a text module with MIME type application/vnd.api🚀+json should succeed:
FAIL - Import of a text module with MIME type 申请/中文.api+json should succeed:
FAIL - Import of a text module with MIME type app™/vnd€.api+json should succeed:
FAIL
- Import of a text module with MIME type 申请/vnd.api+json should succeed:
- /html/semantics/scripting-1/the-script-element/text-module/ignore-content-type.any.sharedworker.html [wpt.fyi]
- Import of a text module with MIME type 申请/vnd.api+json should succeed:
FAIL - Import of a text module with MIME type app™lication/vnd.api+json should succeed:
FAIL - Import of a text module with MIME type appli€cation/vnd.api+json should succeed:
FAIL - Import of a text module with MIME type 🚀application/vnd.api+json should succeed:
FAIL - Import of a text module with MIME type application/vnd.api™+json should succeed:
FAIL - Import of a text module with MIME type application/vnd.api€+json should succeed:
FAIL - Import of a text module with MIME type application/vnd.中文+json should succeed:
FAIL - Import of a text module with MIME type application/vnd.api🚀+json should succeed:
FAIL - Import of a text module with MIME type 申请/中文.api+json should succeed:
FAIL - Import of a text module with MIME type app™/vnd€.api+json should succeed:
FAIL
- Import of a text module with MIME type 申请/vnd.api+json should succeed:
Tests Disabled in Gecko Infrastructure
- /html/semantics/scripting-1/the-script-element/module/dynamic-import/microtasks/worklet.https.html [wpt.fyi]:
SKIPlinked bug:Bug 1797357 - /html/semantics/scripting-1/the-script-element/change-src-attr-prepare-a-script.html [wpt.fyi]:
SKIP - /html/semantics/scripting-1/the-script-element/microtasks/evaluation-order-2.html [wpt.fyi]:
OK[Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview,Gecko-linux2404-64-debug,Gecko-linux2404-64-opt,Gecko-windows11-32-25h2-debug,Gecko-windows11-32-25h2-opt,Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt],SKIP[Gecko-android-em-14-x86_64-debug-geckoview] - /html/semantics/scripting-1/the-script-element/microtasks/evaluation-order-3.any.worker-module.html [wpt.fyi]:
OK[Gecko-linux2404-64-opt,Gecko-windows11-32-25h2-debug,Gecko-windows11-32-25h2-opt,Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt],SKIP[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview,Gecko-linux2404-64-debug] - /html/semantics/scripting-1/the-script-element/module/import-meta/import-meta-url.any.worker-module.html [wpt.fyi]:
OK[Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview,Gecko-linux2404-64-opt,Gecko-windows11-32-25h2-debug,Gecko-windows11-32-25h2-opt,Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt],SKIP[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-linux2404-64-debug] - /html/semantics/scripting-1/the-script-element/module/instantiation-error-8.html [wpt.fyi]:
SKIP - /html/semantics/scripting-1/the-script-element/moving-between-documents/after-prepare-createHTMLDocument-fetch-error-external-module.html [wpt.fyi]:
OK[Gecko-linux2404-64-debug,Gecko-linux2404-64-opt,Gecko-windows11-32-25h2-debug,Gecko-windows11-32-25h2-opt,Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt],SKIP[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview] - /html/semantics/scripting-1/the-script-element/moving-between-documents/after-prepare-iframe-parse-error-inline-classic.html [wpt.fyi]:
OK[Gecko-linux2404-64-debug,Gecko-linux2404-64-opt,Gecko-windows11-32-25h2-debug,Gecko-windows11-32-25h2-opt,Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt],SKIP[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview] - /html/semantics/scripting-1/the-script-element/moving-between-documents/before-prepare-iframe-fetch-error-external-module.html [wpt.fyi]:
OK[Gecko-linux2404-64-debug,Gecko-linux2404-64-opt,Gecko-windows11-32-25h2-debug,Gecko-windows11-32-25h2-opt,Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt],SKIP[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview] - /html/semantics/scripting-1/the-script-element/moving-between-documents/before-prepare-iframe-success-external-classic.html [wpt.fyi]:
OK[Gecko-linux2404-64-debug,Gecko-linux2404-64-opt,Gecko-windows11-32-25h2-debug,Gecko-windows11-32-25h2-opt,Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt],SKIP[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview] - /html/semantics/scripting-1/the-script-element/execution-timing/106-defer-noimport.html [wpt.fyi]:
OK[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview,Gecko-linux2404-64-debug,Gecko-linux2404-64-opt,Gecko-windows11-32-25h2-debug,Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt],SKIP[Gecko-windows11-32-25h2-opt] - /html/semantics/scripting-1/the-script-element/microtasks/evaluation-order-1-throw-importScripts.any.worker.html [wpt.fyi]:
OK[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview,Gecko-linux2404-64-opt,Gecko-windows11-32-25h2-debug,Gecko-windows11-32-25h2-opt,Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt],SKIP[Gecko-linux2404-64-debug] - /html/semantics/scripting-1/the-script-element/microtasks/evaluation-order-1-throw-static-import.any.worker-module.html [wpt.fyi]:
OK[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview,Gecko-linux2404-64-debug,Gecko-linux2404-64-opt,Gecko-windows11-32-25h2-opt,Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt],SKIP[Gecko-windows11-32-25h2-debug] - /html/semantics/scripting-1/the-script-element/microtasks/evaluation-order-1.html [wpt.fyi]:
OK[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview,Gecko-linux2404-64-debug,Gecko-linux2404-64-opt,Gecko-windows11-32-25h2-opt,Gecko-windows11-64-25h2-opt],SKIP[Gecko-windows11-32-25h2-debug,Gecko-windows11-64-25h2-debug]
Comment 4•12 days ago
|
||
| bugherder | ||
Description
•