[wpt-sync] Sync PR 42944 - Add tests for async modules not blocking execution of sibling modules
Categories
(Core :: DOM: Core & HTML, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox122 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
(Blocks 1 open bug, )
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 42944 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/42944
Details from upstream follow.
Nicolò Ribaudo <nribaudo@igalia.com> wrote:
Add tests for async modules not blocking execution of sibling modules
Current results:
Chrome, Node.js, Deno Firefox Safari, Bun Async modules only scheduling microtasks don't block execution of sibling modules ✅ ❌ ❌ Async modules scheduling tasks don't block execution of sibling modules ✅ ✅ ❌ This behavior is entirely specified in ECMA-262 (at https://tc39.es/ecma262/#sec-innermoduleevaluation) and the table above makes it look as if the behavior is engine-based.
However, when trying to add this as a test262 test all the engines passed it (see CI at https://github.com/tc39/test262/pull/3955). Only testing it in complete platforms show the failures, hence why the PR in this repo. This is not surprising, given how modules are implemented half in JS engines and half in embedding platforms.
Assignee | ||
Updated•11 months ago
|
Assignee | ||
Comment 1•10 months ago
|
||
Assignee | ||
Comment 2•10 months ago
|
||
CI Results
Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 2 tests and 2 subtests
Status Summary
Firefox
OK
: 2
PASS
: 2
FAIL
: 2
Chrome
OK
: 2
PASS
: 4
Safari
OK
: 2
FAIL
: 4
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/top-level-await/sibling-imports-not-blocked.any.worker.html [wpt.fyi]
- Async modules only scheduling microtasks don't block execution of sibling modules:
FAIL
(Chrome:PASS
, Safari:FAIL
)
- Async modules only scheduling microtasks don't block execution of sibling modules:
- /html/semantics/scripting-1/the-script-element/module/top-level-await/sibling-imports-not-blocked.any.html [wpt.fyi]
- Async modules only scheduling microtasks don't block execution of sibling modules:
FAIL
(Chrome:PASS
, Safari:FAIL
)
- Async modules only scheduling microtasks don't block execution of sibling modules:
Comment 4•10 months ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/fd637ca97d4a
https://hg.mozilla.org/mozilla-central/rev/ef1ce90688a4
Description
•