Skip to content

Commit 08c862e

Browse files
committed
nits
1 parent 520bcb3 commit 08c862e

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
@@ -2701,7 +2701,7 @@ has the following <a for=struct>items</a>:
27012701
<dt><dfn export for="deferred fetch record">request</dfn>
27022702
<dd>A <a for=/>request</a>
27032703

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

27072707
<dt><dfn export for="deferred fetch record">pending steps</dfn> (default null)
@@ -2769,12 +2769,12 @@ has the following <a for=struct>items</a>:
27692769
<li>
27702770
<p><a for=list>For each</a> <a>deferred fetch record</a> <var>deferredRecord</var> in
27712771
<var>fetchGroup</var>'s <a for="fetch group">deferred fetch records</a> whose
2772-
<a for="deferred fetch record">background timeout</a> is not null: set <var>deferredRecord</var>'s
2772+
<a for="deferred fetch record">inactive timeout</a> is not null: set <var>deferredRecord</var>'s
27732773
<a for="deferred fetch record">pending steps</a> to running the following steps <a>in parallel</a>:
27742774

27752775
<ol>
27762776
<li><p>Wait until <var>deferredRecord</var>'s
2777-
<a for="deferred fetch record">background timeout</a> have passed.
2777+
<a for="deferred fetch record">inactive timeout</a> have passed.
27782778

27792779
<li>
27802780
<p><a>Queue a fetch task</a> to run the following steps with
@@ -8606,7 +8606,7 @@ when a <a>fetch group</a> is <a for="fetch group">terminated</a>, or after a tim
86068606
<div algorithm="request-a-deferred-fetch">
86078607
<p>To <dfn>request a deferred fetch</dfn> given a
86088608
<a for=/>request</a> <var>request</var> and a null-or-{{DOMHighResTimeStamp}}
8609-
<var>backgroundTimeout</var> (default null):
8609+
<var>inactiveTimeout</var> (default null):
86108610

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

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

86488648
<li><p><a for=list>Append</a> <var>deferredRecord</var> to <var>request</var>'s
86498649
<a for=request>client</a>'s <a for=fetch>fetch group</a>'s
@@ -8658,7 +8658,7 @@ when a <a>fetch group</a> is <a for="fetch group">terminated</a>, or after a tim
86588658
<pre class=idl>
86598659

86608660
dictionary DeferredRequestInit : RequestInit {
8661-
DOMHighResTimeStamp? backgroundTimeout;
8661+
DOMHighResTimeStamp? inactiveTimeout;
86628662
};
86638663

86648664
partial interface mixin WindowOrWorkerGlobalScope {
@@ -8684,16 +8684,16 @@ method steps are:
86848684

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

8687-
<li><p>Let <var>backgroundTimeout</var> be null.
8687+
<li><p>Let <var>inactiveTimeout</var> be null.
86888688

8689-
<li><p>If <var>init</var> is given and <var>init</var>["<code>backgroundTimeout</code>"]
8690-
<a for=map>exists</a> then set <var>backgroundTimeout</var> to
8691-
<var>init</var>["<code>backgroundTimeout</code>"].
8689+
<li><p>If <var>init</var> is given and <var>init</var>["<code>inactiveTimeout</code>"]
8690+
<a for=map>exists</a> then set <var>inactiveTimeout</var> to
8691+
<var>init</var>["<code>inactiveTimeout</code>"].
86928692

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

86958695
<li><p>Let <var>deferredRecord</var> be the result of calling
8696-
<a>request a deferred fetch</a> given <var>request</var> and <var>backgroundTimeout</var>. If that
8696+
<a>request a deferred fetch</a> given <var>request</var> and <var>inactiveTimeout</var>. If that
86978697
threw an exception, <a for=/>reject</a> <var>promise</var> with that exception and return
86988698
<var>promise</var>.
86998699

0 commit comments

Comments
 (0)