Skip to content

Commit d65e330

Browse files
committed
nits
1 parent 7351542 commit d65e330

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

fetch.bs

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2708,7 +2708,7 @@ has the following <a for=struct>items</a>:
27082708
<dt><dfn export for="deferred fetch record">request</dfn>
27092709
<dd>A <a for=/>request</a>
27102710

2711-
<dt><dfn export for="deferred fetch record">background timeout</dfn> (default null)
2711+
<dt><dfn export for="deferred fetch record">inactive timeout</dfn> (default null)
27122712
<dd>Null or a <a>duration</a>
27132713

27142714
<dt><dfn export for="deferred fetch record">pending steps</dfn> (default null)
@@ -2776,12 +2776,12 @@ has the following <a for=struct>items</a>:
27762776
<li>
27772777
<p><a for=list>For each</a> <a>deferred fetch record</a> <var>deferredRecord</var> in
27782778
<var>fetchGroup</var>'s <a for="fetch group">deferred fetch records</a> whose
2779-
<a for="deferred fetch record">background timeout</a> is not null: set <var>deferredRecord</var>'s
2779+
<a for="deferred fetch record">inactive timeout</a> is not null: set <var>deferredRecord</var>'s
27802780
<a for="deferred fetch record">pending steps</a> to running the following steps <a>in parallel</a>:
27812781

27822782
<ol>
27832783
<li><p>Wait until <var>deferredRecord</var>'s
2784-
<a for="deferred fetch record">background timeout</a> have passed.
2784+
<a for="deferred fetch record">inactive timeout</a> have passed.
27852785

27862786
<li>
27872787
<p><a>Queue a fetch task</a> to run the following steps with
@@ -8638,7 +8638,7 @@ when a <a>fetch group</a> is <a for="fetch group">terminated</a>, or after a tim
86388638
<div algorithm="request-a-deferred-fetch">
86398639
<p>To <dfn>request a deferred fetch</dfn> given a
86408640
<a for=/>request</a> <var>request</var> and a null-or-{{DOMHighResTimeStamp}}
8641-
<var>backgroundTimeout</var> (default null):
8641+
<var>inactiveTimeout</var> (default null):
86428642

86438643
<ol>
86448644
<li><p>Assert: <var>request</var>'s <a for=request>client</a> is an
@@ -8674,8 +8674,8 @@ when a <a>fetch group</a> is <a for="fetch group">terminated</a>, or after a tim
86748674
<li><p>Let <var>deferredRecord</var> be a new <a>deferred fetch record</a> whose
86758675
<a for="deferred fetch record">request</a> is <var>request</var>.
86768676

8677-
<li><p>Set <var>deferredRecord</var>'s <a for="deferred fetch record">background timeout</a> to
8678-
<var>backgroundTimeout</var>.
8677+
<li><p>Set <var>deferredRecord</var>'s <a for="deferred fetch record">inactive timeout</a> to
8678+
<var>inactiveTimeout</var>.
86798679

86808680
<li><p><a for=list>Append</a> <var>deferredRecord</var> to <var>request</var>'s
86818681
<a for=request>client</a>'s <a for=fetch>fetch group</a>'s
@@ -8690,7 +8690,7 @@ when a <a>fetch group</a> is <a for="fetch group">terminated</a>, or after a tim
86908690
<pre class=idl>
86918691

86928692
dictionary DeferredRequestInit : RequestInit {
8693-
DOMHighResTimeStamp? backgroundTimeout;
8693+
DOMHighResTimeStamp? inactiveTimeout;
86948694
};
86958695

86968696
partial interface mixin WindowOrWorkerGlobalScope {
@@ -8716,16 +8716,16 @@ method steps are:
87168716

87178717
<li><p>Let <var>request</var> be <var>requestObject</var>'s <a for=Request>request</a>.
87188718

8719-
<li><p>Let <var>backgroundTimeout</var> be null.
8719+
<li><p>Let <var>inactiveTimeout</var> be null.
87208720

8721-
<li><p>If <var>init</var> is given and <var>init</var>["<code>backgroundTimeout</code>"]
8722-
<a for=map>exists</a> then set <var>backgroundTimeout</var> to
8723-
<var>init</var>["<code>backgroundTimeout</code>"].
8721+
<li><p>If <var>init</var> is given and <var>init</var>["<code>inactiveTimeout</code>"]
8722+
<a for=map>exists</a> then set <var>inactiveTimeout</var> to
8723+
<var>init</var>["<code>inactiveTimeout</code>"].
87248724

8725-
<li><p>If <var>backgroundTimeout</var> is not a {{DOMHighResTimeStamp}} then throw a {{TypeError}}.
8725+
<li><p>If <var>inactiveTimeout</var> is not a {{DOMHighResTimeStamp}} then throw a {{TypeError}}.
87268726

87278727
<li><p>Let <var>deferredRecord</var> be the result of calling
8728-
<a>request a deferred fetch</a> given <var>request</var> and <var>backgroundTimeout</var>. If that
8728+
<a>request a deferred fetch</a> given <var>request</var> and <var>inactiveTimeout</var>. If that
87298729
threw an exception, <a for=/>reject</a> <var>promise</var> with that exception and return
87308730
<var>promise</var>.
87318731

0 commit comments

Comments
 (0)