Skip to content

Commit 050f195

Browse files
Clarify the update of rules is executed sequentially
1 parent d3082ca commit 050f195

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docs/index.bs

+2-1
Original file line numberDiff line numberDiff line change
@@ -1617,7 +1617,8 @@ spec: storage; urlPrefix: https://storage.spec.whatwg.org/
16171617

16181618
Note: {{InstallEvent/addRoutes(rules)|event.addRoutes(rules)}} extends the lifetime of the event by default as if {{ExtendableEvent/waitUntil()|event.waitUntil(promise)}} is called.
16191619

1620-
1. Run the following substeps [=in parallel=]:
1620+
1. Let |serviceWorkerEventLoop| be the [=current global object=]'s [=event loop=].
1621+
1. [=Queue a task=] to run the following steps on |serviceWorkerEventLoop| using the [=DOM manipulation task source=]:
16211622
1. Let |allRules| be a copy of |serviceWorker|'s [=list of router rules=].
16221623
1. For each |rule| of |rules|:
16231624
1. Append |rule| to |allRules|.

0 commit comments

Comments
 (0)