You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: spec/service_worker/index.html
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -3219,20 +3219,20 @@ <h1>Handle Fetch</h1>
3219
3219
<ol>
3220
3220
<li>If <var>eventCanceled</var> is true, return a <ahref="https://fetch.spec.whatwg.org/#concept-network-error">network error</a> and continue running these substeps <ahref="https://html.spec.whatwg.org/multipage/infrastructure.html#in-parallel">in parallel</a>.</li>
3221
3221
<li>Else, return null and continue running these substeps <ahref="https://html.spec.whatwg.org/multipage/infrastructure.html#in-parallel">in parallel</a>.</li>
3222
-
<li>If <var>request</var> is a <ahref="https://fetch.spec.whatwg.org/#non-subresource-request">non-subresource request</a>, invoke <ahref="#soft-update-algorithm">Soft Update</a> algorithm, or its <ahref="#dfn-processing-equivalence">equivalent</a>, with <var>registration</var>.</li>
3222
+
<li>If <var>request</var> is a <ahref="https://fetch.spec.whatwg.org/#non-subresource-request">non-subresource request</a>, or <var>request</var> is a <ahref="https://fetch.spec.whatwg.org/#subresource-request">subresource request</a> and the time difference in seconds calculated by the current time minus <var>registration</var>'s <ahref="#dfn-last-update-check-time">last update check time</a> is greater than 86400, invoke <ahref="#soft-update-algorithm">Soft Update</a> algorithm, or its <ahref="#dfn-processing-equivalence">equivalent</a>, with <var>registration</var>.</li>
3223
3223
<li>Abort these steps.</li>
3224
3224
</ol>
3225
3225
</li>
3226
3226
<li>If <var>handleFetchFailed</var> is true, then:
3227
3227
<ol>
3228
3228
<li>Return a <ahref="https://fetch.spec.whatwg.org/#concept-network-error">network error</a> and continue running these substeps <ahref="https://html.spec.whatwg.org/multipage/infrastructure.html#in-parallel">in parallel</a>.</li>
3229
-
<li>If <var>request</var> is a <ahref="https://fetch.spec.whatwg.org/#non-subresource-request">non-subresource request</a>, invoke <ahref="#soft-update-algorithm">Soft Update</a> algorithm, or its <ahref="#dfn-processing-equivalence">equivalent</a>, with <var>registration</var>.</li>
3229
+
<li>If <var>request</var> is a <ahref="https://fetch.spec.whatwg.org/#non-subresource-request">non-subresource request</a>, or <var>request</var> is a <ahref="https://fetch.spec.whatwg.org/#subresource-request">subresource request</a> and the time difference in seconds calculated by the current time minus <var>registration</var>'s <ahref="#dfn-last-update-check-time">last update check time</a> is greater than 86400, invoke <ahref="#soft-update-algorithm">Soft Update</a> algorithm, or its <ahref="#dfn-processing-equivalence">equivalent</a>, with <var>registration</var>.</li>
3230
3230
</ol>
3231
3231
</li>
3232
3232
<li>Else:
3233
3233
<ol>
3234
3234
<li>Return a <ahref="https://fetch.spec.whatwg.org/#concept-response">response</a> represented by <var>response</var> and continue running these substeps <ahref="https://html.spec.whatwg.org/multipage/infrastructure.html#in-parallel">in parallel</a>.</li>
3235
-
<li>If <var>request</var> is a <ahref="https://fetch.spec.whatwg.org/#non-subresource-request">non-subresource request</a>, invoke <ahref="#soft-update-algorithm">Soft Update</a> algorithm, or its <ahref="#dfn-processing-equivalence">equivalent</a>, with <var>registration</var>.</li>
3235
+
<li>If <var>request</var> is a <ahref="https://fetch.spec.whatwg.org/#non-subresource-request">non-subresource request</a>, or <var>request</var> is a <ahref="https://fetch.spec.whatwg.org/#subresource-request">subresource request</a> and the time difference in seconds calculated by the current time minus <var>registration</var>'s <ahref="#dfn-last-update-check-time">last update check time</a> is greater than 86400, invoke <ahref="#soft-update-algorithm">Soft Update</a> algorithm, or its <ahref="#dfn-processing-equivalence">equivalent</a>, with <var>registration</var>.</li>
Copy file name to clipboardExpand all lines: spec/service_worker_1/index.html
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -3217,20 +3217,20 @@ <h1>Handle Fetch</h1>
3217
3217
<ol>
3218
3218
<li>If <var>eventCanceled</var> is true, return a <ahref="https://fetch.spec.whatwg.org/#concept-network-error">network error</a> and continue running these substeps <ahref="https://html.spec.whatwg.org/multipage/infrastructure.html#in-parallel">in parallel</a>.</li>
3219
3219
<li>Else, return null and continue running these substeps <ahref="https://html.spec.whatwg.org/multipage/infrastructure.html#in-parallel">in parallel</a>.</li>
3220
-
<li>If <var>request</var> is a <ahref="https://fetch.spec.whatwg.org/#non-subresource-request">non-subresource request</a>, invoke <ahref="#soft-update-algorithm">Soft Update</a> algorithm, or its <ahref="#dfn-processing-equivalence">equivalent</a>, with <var>registration</var>.</li>
3220
+
<li>If <var>request</var> is a <ahref="https://fetch.spec.whatwg.org/#non-subresource-request">non-subresource request</a>, or <var>request</var> is a <ahref="https://fetch.spec.whatwg.org/#subresource-request">subresource request</a> and the time difference in seconds calculated by the current time minus <var>registration</var>'s <ahref="#dfn-last-update-check-time">last update check time</a> is greater than 86400, invoke <ahref="#soft-update-algorithm">Soft Update</a> algorithm, or its <ahref="#dfn-processing-equivalence">equivalent</a>, with <var>registration</var>.</li>
3221
3221
<li>Abort these steps.</li>
3222
3222
</ol>
3223
3223
</li>
3224
3224
<li>If <var>handleFetchFailed</var> is true, then:
3225
3225
<ol>
3226
3226
<li>Return a <ahref="https://fetch.spec.whatwg.org/#concept-network-error">network error</a> and continue running these substeps <ahref="https://html.spec.whatwg.org/multipage/infrastructure.html#in-parallel">in parallel</a>.</li>
3227
-
<li>If <var>request</var> is a <ahref="https://fetch.spec.whatwg.org/#non-subresource-request">non-subresource request</a>, invoke <ahref="#soft-update-algorithm">Soft Update</a> algorithm, or its <ahref="#dfn-processing-equivalence">equivalent</a>, with <var>registration</var>.</li>
3227
+
<li>If <var>request</var> is a <ahref="https://fetch.spec.whatwg.org/#non-subresource-request">non-subresource request</a>, or <var>request</var> is a <ahref="https://fetch.spec.whatwg.org/#subresource-request">subresource request</a> and the time difference in seconds calculated by the current time minus <var>registration</var>'s <ahref="#dfn-last-update-check-time">last update check time</a> is greater than 86400, invoke <ahref="#soft-update-algorithm">Soft Update</a> algorithm, or its <ahref="#dfn-processing-equivalence">equivalent</a>, with <var>registration</var>.</li>
3228
3228
</ol>
3229
3229
</li>
3230
3230
<li>Else:
3231
3231
<ol>
3232
3232
<li>Return a <ahref="https://fetch.spec.whatwg.org/#concept-response">response</a> represented by <var>response</var> and continue running these substeps <ahref="https://html.spec.whatwg.org/multipage/infrastructure.html#in-parallel">in parallel</a>.</li>
3233
-
<li>If <var>request</var> is a <ahref="https://fetch.spec.whatwg.org/#non-subresource-request">non-subresource request</a>, invoke <ahref="#soft-update-algorithm">Soft Update</a> algorithm, or its <ahref="#dfn-processing-equivalence">equivalent</a>, with <var>registration</var>.</li>
3233
+
<li>If <var>request</var> is a <ahref="https://fetch.spec.whatwg.org/#non-subresource-request">non-subresource request</a>, or <var>request</var> is a <ahref="https://fetch.spec.whatwg.org/#subresource-request">subresource request</a> and the time difference in seconds calculated by the current time minus <var>registration</var>'s <ahref="#dfn-last-update-check-time">last update check time</a> is greater than 86400, invoke <ahref="#soft-update-algorithm">Soft Update</a> algorithm, or its <ahref="#dfn-processing-equivalence">equivalent</a>, with <var>registration</var>.</li>
0 commit comments