Skip to content

Commit 7ebfac4

Browse files
Rewrite the step with a parallel queue
1 parent 7d434ca commit 7ebfac4

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

docs/index.bs

+3-2
Original file line numberDiff line numberDiff line change
@@ -214,6 +214,8 @@ spec: storage; urlPrefix: https://storage.spec.whatwg.org/
214214

215215
A [=/service worker=] is said to be <dfn>running</dfn> if its [=event loop=] is running.
216216

217+
A [=/service worker=] has an associated <dfn>[[service worker queue]]</dfn> (a [=parallel queue=]).
218+
217219
<section>
218220
<h4 id="service-worker-lifetime">Lifetime</h4>
219221

@@ -1622,8 +1624,7 @@ spec: storage; urlPrefix: https://storage.spec.whatwg.org/
16221624

16231625
Note: this step is for making |lifetimePromise| always fullfilled to avoid the install event failure.
16241626

1625-
1. Let |serviceWorkerEventLoop| be the [=current global object=]'s [=event loop=].
1626-
1. [=Queue a task=] to run the following steps on |serviceWorkerEventLoop| using the [=DOM manipulation task source=]:
1627+
1. [=queue/Enqueue=] the following steps to [=[[service worker queue]]=]:
16271628
1. Let |allRules| be a copy of |serviceWorker|'s [=list of router rules=].
16281629
1. For each |rule| of |rules|:
16291630
1. Append |rule| to |allRules|.

0 commit comments

Comments
 (0)