File tree Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -449,9 +449,18 @@ When the user agent is to <dfn>fetch and invoke a worklet script</dfn> given |wo
449
449
450
450
2. Reject |promise| with an "{{AbortError}} " {{DOMException}} .
451
451
452
- 4. <a>Run a module script </a> given |script|.
452
+ 4. If |script|'s <a>error to rethrow </a> is not null, then run these steps:
453
453
454
- 5. <a>Queue a task</a> on |outsideSettings|'s <a>responsible event loop</a> to run these steps:
454
+ 1. If |pendingTaskStruct|'s <a for="pending tasks struct">counter</a> is not <b> -1</b> , then
455
+ run these steps:
456
+
457
+ 1. Set |pendingTaskStruct|'s <a for="pending tasks struct">counter</a> to <b> -1</b> .
458
+
459
+ 2. Reject |promise| with |script|'s <a>error to rethrow</a> .
460
+
461
+ 5. <a>Run a module script</a> given |script|.
462
+
463
+ 6. <a>Queue a task</a> on |outsideSettings|'s <a>responsible event loop</a> to run these steps:
455
464
456
465
1. If |pendingTaskStruct|'s <a for="pending tasks struct">counter</a> is not <b> -1</b> , then
457
466
run these steps:
You can’t perform that action at this time.
0 commit comments