@@ -6777,7 +6777,7 @@ which is an algorithm that takes no arguments:
6777
6777
<li><p> Set <var> request</var> 's <a for=request>keepalive</a> to true.
6778
6778
6779
6779
<li><p> Let <var> deferredRecord</var> be a new <a>deferred fetch record</a> whose
6780
- <a for="deferred fetch record">request</a> is <var> request</var> ,
6780
+ <a for="deferred fetch record">request</a> is <var> request</var> , and whose
6781
6781
<a for="deferred fetch record">notify invoked</a> is
6782
6782
<var> onActivatedWithoutTermination</var> .
6783
6783
@@ -6788,12 +6788,18 @@ which is an algorithm that takes no arguments:
6788
6788
<a>deferred-fetch control document</a> .
6789
6789
6790
6790
<li>
6791
- <p> If <var> controlDocument</var> is not <var> document</var> , then <a for=list>append</a>
6792
- <var> deferredRecord</var> to <var> controlDocument</var> 's <a>fetch group</a>' s
6793
- <a for="fetch group">deferred fetch records</a> .
6791
+ <p> If <var> controlDocument</var> is not <var> document</var> , then:</p>
6792
+ <ol>
6793
+ <li><p> <a for=list>Append</a>
6794
+ <var> deferredRecord</var> to <var> controlDocument</var> 's <a>fetch group</a>' s
6795
+ <a for="fetch group">deferred fetch records</a> .
6796
+
6797
+ <li><p> Set <var> request</var> 's <a for=request>client</a> to <var> controlDocument</var> .
6798
+ </ol>
6794
6799
6795
6800
<p class=note> This ensures that the deferred fetch is counted towards the control document's
6796
- quota if its request is still in flight after the <a>fetch group</a> has been terminated.
6801
+ quota if its request is still in flight after the <a>fetch group</a> has been terminated.</p>
6802
+ </li>
6797
6803
6798
6804
<li>
6799
6805
<p> If <var> activateAfter</var> is non-null, then run the following steps <a>in parallel</a> :</p>
@@ -6867,9 +6873,9 @@ which is an algorithm that takes no arguments:
6867
6873
"<code> done</code> ".
6868
6874
6869
6875
<li><p> <a>Queue a global task</a> on the <a>deferred fetch task source</a> with
6870
- <var> request </var> 's <a for=request>client </a>' s
6871
- <a for="environment settings object">global object</a> to run <var> deferredRecord </var> 's
6872
- <a for="deferred fetch record">notify invoked</a> .
6876
+ <var> deferredRecord </var> 's <a for="deferred fetch record">request </a>' s
6877
+ <a for=request>client</a> 's <a for= "environment settings object">global object</a> to run
6878
+ <var> deferredRecord </var> 's < a for="deferred fetch record">notify invoked</a> .
6873
6879
</ol>
6874
6880
</div>
6875
6881
@@ -9106,11 +9112,8 @@ method steps are:
9106
9112
9107
9113
<p class=note> Requests whose <a for=request>body</a> is a {{ReadableStream}} cannot be deferred.
9108
9114
9109
- <li><p> Let <var> controlDocument</var> be <var> request</var> 's <a for=request>client</var>' s
9110
- <a>deferred-fetch control document</a> .
9111
-
9112
9115
<li><p> If the <a>available deferred-fetch quota</a> given <var> request</var> 's
9113
- <a for=request>client</var > and <var>request</var>'s <a for=request>URL</a> 's
9116
+ <a for=request>client</a > and <var> request</var> 's <a for=request>URL</a>' s
9114
9117
<a for=url>origin</a> is less than <var> request</var> 's <a>total request length</a> , then throw a
9115
9118
"{{QuotaExceededError}} " {{DOMException}} .
9116
9119
@@ -9121,7 +9124,7 @@ method steps are:
9121
9124
true.
9122
9125
9123
9126
<li><p> <a for=AbortSignal lt=add>Add the following abort steps</a> to <var> requestObject</var> 's
9124
- <a for=Request>signal</a> : <li><p> Set <var> deferredRecord</var> 's
9127
+ <a for=Request>signal</a> : Set <var> deferredRecord</var> 's
9125
9128
<a for="deferred fetch record">invoke state</a> to "<code> aborted</code> ".
9126
9129
9127
9130
<li><p> Return a new {{FetchLaterResult}} whose
0 commit comments