Skip to content

Commit 495bed6

Browse files
committed
more cleanup and a bug fix
1 parent c7588fa commit 495bed6

File tree

1 file changed

+12
-8
lines changed

1 file changed

+12
-8
lines changed

fetch.bs

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4484,15 +4484,16 @@ the response. [[!HTTP-CACHING]]
44844484
dispatch and processing of HTTP/1 fetches. [[!RFC9218]]
44854485

44864486
<li>
4487-
<p>If <var>request</var> is a <a>subresource request</a>, then:
4487+
<p>If <var>request</var> is a <a>subresource request</a>:
44884488

44894489
<ol>
44904490
<li><p>Let <var>record</var> be a new <a for="fetch group">fetch record</a> whose
44914491
<a for="fetch record">request</a> is <var>request</var> and <a for="fetch record">controller</a>
44924492
is <var>fetchParams</var>'s <a for="fetch params">controller</a>.
44934493

4494-
<li><p>Append <var>record</var> to <var>request</var>'s <a for=request>client</a>'s
4495-
<a for=fetch>fetch group</a> list of <a for="fetch group">fetch records</a>.
4494+
<li><p><a for=list>Append</a> <var>record</var> to <var>request</var>'s
4495+
<a for=request>client</a>'s <a for="environment settings object">fetch group</a>'s
4496+
<a for="fetch group">fetch records</a>.
44964497
</ol>
44974498

44984499
<li><p>Run <a>main fetch</a> given <var>fetchParams</var>.
@@ -5678,7 +5679,7 @@ run these steps:
56785679
<li><p>Let <var>inflightKeepaliveBytes</var> be 0.
56795680

56805681
<li><p>Let <var>group</var> be <var>httpRequest</var>'s <a for=request>client</a>'s
5681-
<a>fetch group</a>.
5682+
<a for="environment settings object">fetch group</a>.
56825683

56835684
<li><p>Let <var>inflightRecords</var> be the set of <a for="fetch group">fetch records</a> in
56845685
<var>group</var> whose <a for="fetch record">request</a>'s <a for=request>keepalive</a> is true
@@ -6810,7 +6811,8 @@ agent's <a>CORS-preflight cache</a> for which there is a <a>cache entry match</a
68106811
<h3 id=deferred-fetch>Deferred fetching</h3>
68116812

68126813
<p>Deferred fetching allows callers to request that a fetch is invoked at the latest possible
6813-
moment, i.e., when a <a>fetch group</a> is <a for="fetch group">terminated</a>, or after a timeout.
6814+
moment, i.e., when a <a for=/>fetch group</a> is <a for="fetch group">terminated</a>, or after a
6815+
timeout.
68146816

68156817
<p>The <dfn>deferred fetch task source</dfn> is a <a>task source</a> used to update the result of a
68166818
deferred fetch. User agents must prioritize tasks in this <a>task source</a> before other task
@@ -6836,7 +6838,8 @@ which is an algorithm that takes no arguments:
68366838
<var>onActivatedWithoutTermination</var>.
68376839

68386840
<li><p><a for=list>Append</a> <var>deferredRecord</var> to <var>request</var>'s
6839-
<a for=request>client</a>'s <a>fetch group</a>'s <a for="fetch group">deferred fetch records</a>.
6841+
<a for=request>client</a>'s <a for="environment settings object">fetch group</a>'s
6842+
<a for="fetch group">deferred fetch records</a>.
68406843

68416844
<li>
68426845
<p>If <var>activateAfter</var> is non-null, then run the following steps <a>in parallel</a>:
@@ -6886,7 +6889,7 @@ which is an algorithm that takes no arguments:
68866889
</div>
68876890

68886891
<div algorithm>
6889-
<p>To <dfn>process deferred fetches</dfn> given a <a>fetch group</a> <var>fetchGroup</var>:
6892+
<p>To <dfn>process deferred fetches</dfn> given a <a for=/>fetch group</a> <var>fetchGroup</var>:
68906893

68916894
<ol>
68926895
<li><p><a for=list>For each</a> <a for="fetch group">deferred fetch record</a>
@@ -7137,7 +7140,8 @@ fetchLater("https://a.example.com", {body: a_6kb_body});
71377140

71387141
<li>
71397142
<p><a for=list>For each</a> <a>deferred fetch record</a> <var>deferredRecord</var> of
7140-
<var>navigable</var>'s <a for=navigable>active document</a>'s <a>fetch group</a>'s
7143+
<var>navigable</var>'s <a for=navigable>active document</a>'s <a>relevant settings object</a>'s
7144+
<a for="environment settings object">fetch group</a>'s
71417145
<a for="fetch group">deferred fetch records</a>:
71427146

71437147
<ol>

0 commit comments

Comments
 (0)