[wpt-sync] Sync PR 63237 - HTML: whitespace around non-classic script types
Categories
(Core :: DOM: Core & HTML, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox160 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 63237 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/63237
Details from upstream follow.
Anne van Kesteren <annevk@annevk.nl> wrote:
HTML: whitespace around non-classic script types
Make module/type.html actually fail if a module script with whitespace around its type runs, and add a similar test for import maps.
| Assignee | ||
Updated•1 month ago
|
| Assignee | ||
Comment 1•1 month ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/jobs?repo=try&landoInstance=lando-prod-2025&landoCommitID=102021
| Assignee | ||
Comment 2•1 month ago
|
||
CI Results
Ran 9 Firefox configurations based on mozilla-central, and Firefox, and Chrome on GitHub CI
Total 199 tests and 1 subtests
Status Summary
Firefox
OK : 2[GitHub] 196[Gecko-android-em-14-x86_64-debug-geckoview] 197[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]
PASS: 7[GitHub] 833[Gecko-android-em-14-x86_64-debug-geckoview] 835[Gecko-linux2404-64-opt, Gecko-windows11-32-25h2-debug] 836[Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-opt] 839[Gecko-linux2404-64-debug, Gecko-windows11-64-25h2-debug]
FAIL: 3[GitHub] 17[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-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt] 18[Gecko-linux2404-64-opt, Gecko-windows11-32-25h2-debug]
Chrome
OK : 2
PASS: 10
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/module/instantiation-error-8.html [wpt.fyi]:
SKIP - /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/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-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/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/modulepreload-referrerpolicy.html [wpt.fyi]
- Modulepreload with strict-origin-when-cross-origin policy should send full referrer for same-origin requests:
FAIL[Gecko-linux2404-64-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-32-25h2-opt,Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt] - Modulepreload with unsafe-url policy should send full referrer:
FAIL[Gecko-windows11-32-25h2-debug],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-linux2404-64-opt,Gecko-windows11-32-25h2-opt,Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt]
- Modulepreload with strict-origin-when-cross-origin policy should send full referrer for same-origin requests:
- /html/semantics/scripting-1/the-script-element/module/type.html [wpt.fyi]
- type="module ":
FAIL(Chrome:PASS) - type=" module":
FAIL(Chrome:PASS) - type=" module ":
FAIL(Chrome:PASS)
- type="module ":
- /import-maps/type-whitespace.html [wpt.fyi]
- type="importmap ":
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-linux2404-64-opt,Gecko-windows11-32-25h2-debug,Gecko-windows11-32-25h2-opt,Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt],PASS[GitHub] (Chrome:PASS) - type=" importmap":
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-linux2404-64-opt,Gecko-windows11-32-25h2-debug,Gecko-windows11-32-25h2-opt,Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt],PASS[GitHub] (Chrome:PASS) - type=" importmap ":
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-linux2404-64-opt,Gecko-windows11-32-25h2-debug,Gecko-windows11-32-25h2-opt,Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt],PASS[GitHub] (Chrome:PASS)
- type="importmap ":
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/module/instantiation-error-8.html [wpt.fyi]:
SKIP - /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-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]
Comment 4•1 month ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/7a7c68edda82
https://hg.mozilla.org/mozilla-central/rev/bf54a48bcbe1
Description
•