[wpt-sync] Sync PR 28019 - Add tests for assert type: 'js' and type: 'javascript'
Categories
(Core :: DOM: Core & HTML, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox88 | --- | fixed |
People
(Reporter: mozilla.org, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 28019 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/28019
Details from upstream follow.
b'Daniel Clark <daniec@microsoft.com>' wrote:
Add tests for assert type: 'js' and type: 'javascript'
These should both fail since JavaScript modules can only be loaded if
there is no type assertion:
import "./foo.js" assert { type: "js"};
import "./foo.js" assert { type: "javascript"};Add tests for both cases.
Bug: 1132413
Change-Id: Ia856ff02aff8381bb642fba2e8fafc32bc6f5793
Reviewed-on: https://chromium-review.googlesource.com/2751188
WPT-Export-Revision: 7396544bcc68dc9b9c1e4e8d5d5a69dfdf8bbc4d
Assignee | ||
Updated•3 years ago
|
Assignee | ||
Comment 1•3 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=6775e6ee707a5c9b7b1a2557187368b63dfbbceb
Assignee | ||
Updated•3 years ago
|
Assignee | ||
Comment 2•3 years ago
|
||
CI Results
Ran 15 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 1 tests and 1 subtests
Status Summary
Firefox
OK : 1
FAIL: 1
Chrome
OK : 1
FAIL: 1
Safari
OK : 1
FAIL: 1
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
/html/semantics/scripting-1/the-script-element/import-assertions/invalid-type-assertion-error.html
Test that invalid module type assertion leads to TypeError on window.: FAIL (Chrome: FAIL, Safari: FAIL)
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/f236ad755336 [wpt PR 28019] - Add tests for assert type: 'js' and type: 'javascript', a=testonly
Assignee | ||
Updated•3 years ago
|
Comment 4•3 years ago
|
||
bugherder |
Description
•