Skip to content

Commit c446436

Browse files
committed
Remove the steps in Install that purge active workers early. Fixes #821.
1 parent fd94987 commit c446436

File tree

2 files changed

+0
-26
lines changed

2 files changed

+0
-26
lines changed

spec/service_worker/index.html

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2967,19 +2967,6 @@ <h1>Install</h1>
29672967
<li>Run the <a href="#update-state-algorithm">Update State</a> algorithm passing <var>registration</var>'s <a href="#dfn-waiting-worker">waiting worker</a> and <em>installed</em> as the arguments.</li>
29682968
<li>If <var>registration</var>'s <a href="#dfn-waiting-worker">waiting worker</a>'s <a href="#dfn-skip-waiting-flag">skip waiting flag</a> is set, then:
29692969
<ol>
2970-
<li>For each <a href="#dfn-service-worker-client">service worker client</a> <var>serviceWorkerClient</var> whose <a href="https://html.spec.whatwg.org/multipage/webappapis.html#creation-url">creation url</a> <a href="#scope-match-algorithm">matches</a> <var>registration</var>'s <a href="#dfn-scope-url">scope url</a>:
2971-
<ol>
2972-
<li>Let <var>exitingWorker</var> be the <a href="#dfn-active-worker">active worker</a> that <a href="#dfn-control">controls</a> <var>serviceWorkerClient</var>.</li>
2973-
<li>If <var>exitingWorker</var> is not null, then:
2974-
<ol>
2975-
<li>Wait for <var>exitingWorker</var> to finish handling any in-progress requests.
2976-
</li>
2977-
<li><a href="#terminate-service-worker-algorithm">Terminate</a> <var>exitingWorker</var>.</li>
2978-
<li>Run the <a href="#update-state-algorithm">Update State</a> algorithm passing <var>exitingWorker</var> and <em>redundant</em> as the arguments.</li>
2979-
</ol>
2980-
</li>
2981-
</ol>
2982-
</li>
29832970
<li>Run <a href="#activation-algorithm">Activate</a> algorithm, or its <a href="#dfn-processing-equivalence">equivalent</a>, passing <var>registration</var> as the argument.</li>
29842971
<li>Invoke <a href="#finish-job-algorithm">Finish Job</a> with <var>job</var> and abort these steps.</li>
29852972
</ol>

spec/service_worker_1/index.html

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2965,19 +2965,6 @@ <h1>Install</h1>
29652965
<li>Run the <a href="#update-state-algorithm">Update State</a> algorithm passing <var>registration</var>'s <a href="#dfn-waiting-worker">waiting worker</a> and <em>installed</em> as the arguments.</li>
29662966
<li>If <var>registration</var>'s <a href="#dfn-waiting-worker">waiting worker</a>'s <a href="#dfn-skip-waiting-flag">skip waiting flag</a> is set, then:
29672967
<ol>
2968-
<li>For each <a href="#dfn-service-worker-client">service worker client</a> <var>serviceWorkerClient</var> whose <a href="https://html.spec.whatwg.org/multipage/webappapis.html#creation-url">creation url</a> <a href="#scope-match-algorithm">matches</a> <var>registration</var>'s <a href="#dfn-scope-url">scope url</a>:
2969-
<ol>
2970-
<li>Let <var>exitingWorker</var> be the <a href="#dfn-active-worker">active worker</a> that <a href="#dfn-control">controls</a> <var>serviceWorkerClient</var>.</li>
2971-
<li>If <var>exitingWorker</var> is not null, then:
2972-
<ol>
2973-
<li>Wait for <var>exitingWorker</var> to finish handling any in-progress requests.
2974-
</li>
2975-
<li><a href="#terminate-service-worker-algorithm">Terminate</a> <var>exitingWorker</var>.</li>
2976-
<li>Run the <a href="#update-state-algorithm">Update State</a> algorithm passing <var>exitingWorker</var> and <em>redundant</em> as the arguments.</li>
2977-
</ol>
2978-
</li>
2979-
</ol>
2980-
</li>
29812968
<li>Run <a href="#activation-algorithm">Activate</a> algorithm, or its <a href="#dfn-processing-equivalence">equivalent</a>, passing <var>registration</var> as the argument.</li>
29822969
<li>Invoke <a href="#finish-job-algorithm">Finish Job</a> with <var>job</var> and abort these steps.</li>
29832970
</ol>

0 commit comments

Comments
 (0)