Source code
Revision control
Copy as Markdown
Other Tools
Test Info: Warnings
- This test has a WPT meta file that expects 1 subtest issues.
- This WPT test may be referenced by the following Test IDs:
- /html/semantics/scripting-1/the-script-element/module/top-level-await/sibling-imports-not-blocked.any.html - WPT Dashboard Interop Dashboard
- /html/semantics/scripting-1/the-script-element/module/top-level-await/sibling-imports-not-blocked.any.worker.html - WPT Dashboard Interop Dashboard
promise_test(async t => {
const { checkMicrotask } = await import("./sibling-imports-not-blocked__microtask__parent.js");
assert_equals(checkMicrotask, "PASS");
}, "Async modules only scheduling microtasks don't block execution of sibling modules");
promise_test(async t => {
const { checkTask } = await import("./sibling-imports-not-blocked__task__parent.js");
assert_equals(checkTask, "PASS");
}, "Async modules scheduling tasks don't block execution of sibling modules");