Skip to content

Commit 7d2c1b5

Browse files
committed
service-workers mode
1 parent 15facb9 commit 7d2c1b5

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

fetch.bs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -728,7 +728,7 @@ explicitly set <a for=/>request</a>'s
728728
this flag set are subject to additional processing requirements.
729729

730730
<p>A <a for=/>request</a> has an associated
731-
<dfn export>use-service-workers value</dfn>, that is "<code>all</code>",
731+
<dfn for=request export>service-workers mode</dfn>, that is "<code>all</code>",
732732
"<code>foreign</code>", or "<code>none</code>". Unless stated otherwise it is
733733
"<code>all</code>".
734734

@@ -2794,13 +2794,13 @@ optional <i>CORS flag</i> and <i>CORS-preflight flag</i>, run these steps:
27942794
<li><p>Let <var>actualResponse</var> be null.
27952795

27962796
<li>
2797-
<p>If <var>request</var>'s <a>use-service-workers value</a> is not "<code>none</code>", then run these
2797+
<p>If <var>request</var>'s <a>service-workers mode</a> is not "<code>none</code>", then run these
27982798
substeps:
27992799

28002800
<ol>
28012801
<li>
28022802
<p>If <var>request</var>'s <a for=request>client</a> is null or
2803-
<var>request</var>'s <a>use-service-workers value</a> is "<code>all</code>", then set
2803+
<var>request</var>'s <a>service-workers mode</a> is "<code>all</code>", then set
28042804
<var>response</var> to the result of invoking <a for=/>handle fetch</a> for <var>request</var>.
28052805
[[!HTML]] [[!SW]]
28062806

@@ -2892,7 +2892,7 @@ optional <i>CORS flag</i> and <i>CORS-preflight flag</i>, run these steps:
28922892

28932893
<li>
28942894
<p>If <var>request</var>'s <a for=request>redirect mode</a> is
2895-
"<code>follow</code>", then set <var>request</var>'s <a>use-service-workers value</a> to
2895+
"<code>follow</code>", then set <var>request</var>'s <a>service-workers mode</a> to
28962896
"<code>none</code>".
28972897

28982898
<p class="note no-backref">Redirects coming from the network (as opposed to from a service
@@ -5169,7 +5169,7 @@ method, must run these steps:
51695169

51705170
<li>If <var>request</var>'s <a for=request>client</a>'s
51715171
<a for="environment settings object">global object</a> is a {{ServiceWorkerGlobalScope}} object,
5172-
set <var>request</var>'s <a>use-service-workers value</a> to "<code>foreign</code>".
5172+
set <var>request</var>'s <a>service-workers mode</a> to "<code>foreign</code>".
51735173

51745174
<li><p>Let <var>responseObject</var> be a new {{Response}} object and a new associated
51755175
{{Headers}} object whose <a for=Headers>guard</a> is
@@ -5322,7 +5322,7 @@ therefore not shareable, a WebSocket connection is very close to identical to an
53225322
<li><p>Let <var>request</var> be a new <a for=/>request</a>, whose
53235323
<a for=request>url</a> is <var>requestURL</var>,
53245324
<a for=request>client</a> is <var>client</var>,
5325-
<a>use-service-workers value</a> is "<code>none</code>",
5325+
<a>service-workers mode</a> is "<code>none</code>",
53265326
<a>synchronous flag</a> is set,
53275327
<a for=request>mode</a> is "<code>websocket</code>",
53285328
<a for=request>credentials mode</a> is

0 commit comments

Comments
 (0)