Skip to content

Commit d9489ee

Browse files
committed
nits
1 parent 4991ab7 commit d9489ee

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

fetch.bs

+13-13
Original file line numberDiff line numberDiff line change
@@ -2697,7 +2697,7 @@ has the following <a for=struct>items</a>:
26972697
<dt><dfn export for="deferred fetch record">request</dfn>
26982698
<dd>A <a for=/>request</a>
26992699

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

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

27712771
<ol>
27722772
<li><p>Wait until <var>deferredRecord</var>'s
2773-
<a for="deferred fetch record">background timeout</a> have passed.
2773+
<a for="deferred fetch record">inactive timeout</a> have passed.
27742774

27752775
<li>
27762776
<p><a>Queue a fetch task</a> to run the following steps with
@@ -8587,7 +8587,7 @@ when a <a>fetch group</a> is <a for="fetch group">terminated</a>, or after a tim
85878587
<div algorithm="request-a-deferred-fetch">
85888588
<p>To <dfn>request a deferred fetch</dfn> given a
85898589
<a for=/>request</a> <var>request</var> and a null-or-{{DOMHighResTimeStamp}}
8590-
<var>backgroundTimeout</var> (default null):
8590+
<var>inactiveTimeout</var> (default null):
85918591

85928592
<ol>
85938593
<li><p>Assert: <var>request</var>'s <a for=request>client</a> is an
@@ -8623,8 +8623,8 @@ when a <a>fetch group</a> is <a for="fetch group">terminated</a>, or after a tim
86238623
<li><p>Let <var>deferredRecord</var> be a new <a>deferred fetch record</a> whose
86248624
<a for="deferred fetch record">request</a> is <var>request</var>.
86258625

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

86298629
<li><p><a for=list>Append</a> <var>deferredRecord</var> to <var>request</var>'s
86308630
<a for=request>client</a>'s <a for=fetch>fetch group</a>'s
@@ -8639,7 +8639,7 @@ when a <a>fetch group</a> is <a for="fetch group">terminated</a>, or after a tim
86398639
<pre class=idl>
86408640

86418641
dictionary DeferredRequestInit : RequestInit {
8642-
DOMHighResTimeStamp? backgroundTimeout;
8642+
DOMHighResTimeStamp? inactiveTimeout;
86438643
};
86448644

86458645
partial interface mixin WindowOrWorkerGlobalScope {
@@ -8665,16 +8665,16 @@ method steps are:
86658665

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

8668-
<li><p>Let <var>backgroundTimeout</var> be null.
8668+
<li><p>Let <var>inactiveTimeout</var> be null.
86698669

8670-
<li><p>If <var>init</var> is given and <var>init</var>["<code>backgroundTimeout</code>"]
8671-
<a for=map>exists</a> then set <var>backgroundTimeout</var> to
8672-
<var>init</var>["<code>backgroundTimeout</code>"].
8670+
<li><p>If <var>init</var> is given and <var>init</var>["<code>inactiveTimeout</code>"]
8671+
<a for=map>exists</a> then set <var>inactiveTimeout</var> to
8672+
<var>init</var>["<code>inactiveTimeout</code>"].
86738673

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

86768676
<li><p>Let <var>deferredRecord</var> be the result of calling
8677-
<a>request a deferred fetch</a> given <var>request</var> and <var>backgroundTimeout</var>. If that
8677+
<a>request a deferred fetch</a> given <var>request</var> and <var>inactiveTimeout</var>. If that
86788678
threw an exception, <a for=/>reject</a> <var>promise</var> with that exception and return
86798679
<var>promise</var>.
86808680

0 commit comments

Comments
 (0)