Skip to content

Commit 6f10329

Browse files
committed
nits
1 parent 797be0a commit 6f10329

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
@@ -8642,7 +8642,7 @@ when a <a>fetch group</a> is <a for="fetch group">terminated</a>, or after a tim
86428642
<div algorithm="request-a-deferred-fetch">
86438643
<p>To <dfn>request a deferred fetch</dfn> given a
86448644
<a for=/>request</a> <var>request</var> and a null-or-{{DOMHighResTimeStamp}}
8645-
<var>backgroundTimeout</var> (default null):
8645+
<var>inactiveTimeout</var> (default null):
86468646

86478647
<ol>
86488648
<li><p>Assert: <var>request</var>'s <a for=request>client</a> is an
@@ -8678,8 +8678,8 @@ when a <a>fetch group</a> is <a for="fetch group">terminated</a>, or after a tim
86788678
<li><p>Let <var>deferredRecord</var> be a new <a>deferred fetch record</a> whose
86798679
<a for="deferred fetch record">request</a> is <var>request</var>.
86808680

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

86848684
<li><p><a for=list>Append</a> <var>deferredRecord</var> to <var>request</var>'s
86858685
<a for=request>client</a>'s <a for=fetch>fetch group</a>'s
@@ -8694,7 +8694,7 @@ when a <a>fetch group</a> is <a for="fetch group">terminated</a>, or after a tim
86948694
<pre class=idl>
86958695

86968696
dictionary DeferredRequestInit : RequestInit {
8697-
DOMHighResTimeStamp? backgroundTimeout;
8697+
DOMHighResTimeStamp? inactiveTimeout;
86988698
};
86998699

87008700
partial interface mixin WindowOrWorkerGlobalScope {
@@ -8720,16 +8720,16 @@ method steps are:
87208720

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

8723-
<li><p>Let <var>backgroundTimeout</var> be null.
8723+
<li><p>Let <var>inactiveTimeout</var> be null.
87248724

8725-
<li><p>If <var>init</var> is given and <var>init</var>["<code>backgroundTimeout</code>"]
8726-
<a for=map>exists</a> then set <var>backgroundTimeout</var> to
8727-
<var>init</var>["<code>backgroundTimeout</code>"].
8725+
<li><p>If <var>init</var> is given and <var>init</var>["<code>inactiveTimeout</code>"]
8726+
<a for=map>exists</a> then set <var>inactiveTimeout</var> to
8727+
<var>init</var>["<code>inactiveTimeout</code>"].
87288728

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

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

0 commit comments

Comments
 (0)