Source code

Revision control

Copy as Markdown

Other Tools

setupTest("Module script queueing a microtask then throwing an exception", [
"body", // Step 6.
"microtask", // "Clean up after running script" at Step 8.
"global-error", // "Clean up after running script" at Step 8, because
// `evaluationPromise` is synchronously rejected and the rejection is
// processed in the microtask checkpoint here (See also Step 7).
// As `evaluationPromise` is rejected after the microtask queued during
// evaluation, "global-error" occurs after "microtask".
]);