Skip to content

Commit

Permalink
Nits
Browse files Browse the repository at this point in the history
  • Loading branch information
noamr committed Aug 20, 2023
1 parent 00aae49 commit 36b1227
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions fetch.bs
Original file line number Diff line number Diff line change
Expand Up @@ -2701,23 +2701,23 @@ functionality.
<a for=/>fetch controller</a> or null).

<p>A <dfn export>deferred fetch record</dfn> is a <a for=/>struct</a> used to maintain state needed
to invoke a fetch at a later time, e.g., when a <code>Document</code> is unloaded or becomes
to invoke a fetch at a later time, e.g., when a <code>Document</code> object is unloaded or becomes
not <a for=Document>fully active</a>. It has the following <a for=struct>items</a>:

<dl>
<dt><dfn export for="deferred fetch record">request</dfn>
<dd>A <a for=/>request</a>
<dd>A <a for=/>request</a>.

<dt><dfn export for="deferred fetch record">inactivity deferred delay</dfn> (default null)
<dd>Null or a <a>duration</a>
<dd>Null or a <a>duration</a>.

<dt><dfn export for="deferred fetch record">sent</dfn> (default false)
<dd>A boolean
<dd>A boolean.

<dt><dfn export for="deferred fetch record">invoke state</dfn> (default "<code>deferred</code>")
<dd>
<p>"<code>deferred</code>", "<code>scheduled</code>", "<code>terminated</code>",
"<code>aborted</code>", or "<code>sent</code>"
"<code>aborted</code>", or "<code>sent</code>".

<p class=note>This value can be modified <a>in parallel</a>. To set it safely, use atomic
operations, e.g. atomically exchange the value (set it to the new value and return the new value
Expand All @@ -2731,11 +2731,11 @@ not <a for=Document>fully active</a>. It has the following <a for=struct>items</
<dfn export for="fetch group" id=concept-fetch-group-terminate>terminated</dfn>:

<ol>
<li><p>For each associated <a for="fetch group">fetch record</a> <var>record</var>,
if <var>record</var>'s <a for="fetch record">controller</a> is non-null and
<var>record</var>'s <a for="fetch record">request</a>'s <a>done flag</a> is unset and
<a for=request>keepalive</a> is false, <a for="fetch controller">terminate</a> <var>record</var>'s
<a for="fetch record">controller</a>.
<li><p>For each <a for="fetch group">fetch record</a> <var>record</var> in <var>fetchGroup</var>'s
<a for="fetch group">fetch records</a>, if <var>record</var>'s <a for="fetch record">controller</a>
is non-null and <var>record</var>'s <a for="fetch record">request</a>'s <a>done flag</a> is unset
and <a for=request>keepalive</a> is false, <a for="fetch controller">terminate</a>
<var>record</var>'s <a for="fetch record">controller</a>.

<li><p><a for=list>For each</a> <a for="fetch group">deferred fetch record</a>
<var>deferredRecord</var> in <var>fetchGroup</var>'s
Expand Down

0 comments on commit 36b1227

Please sign in to comment.