Skip to content

Commit 487292c

Browse files
Resolve the promise in the service worker event loop
1 parent 7ebfac4 commit 487292c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

docs/index.bs

+3-1
Original file line numberDiff line numberDiff line change
@@ -1630,7 +1630,9 @@ spec: storage; urlPrefix: https://storage.spec.whatwg.org/
16301630
1. Append |rule| to |allRules|.
16311631

16321632
1. Set |serviceWorker|'s [=service worker/list of router rules=] to |allRules|.
1633-
1. Resolve |promise| with undefined.
1633+
1. Let |serviceWorkerEventLoop| be the [=current global object=]'s [=event loop=].
1634+
1. [=Queue a task=] to run the following steps on |serviceWorkerEventLoop| using the [=DOM manipulation task source=]:
1635+
1. Resolve |promise| with undefined.
16341636
1. Return |promise|.
16351637
</section>
16361638
</section>

0 commit comments

Comments
 (0)