Skip to content

Commit 5aa1df5

Browse files
committed
Try to fix build
1 parent 04c5a3f commit 5aa1df5

File tree

1 file changed

+16
-13
lines changed

1 file changed

+16
-13
lines changed

fetch.bs

+16-13
Original file line numberDiff line numberDiff line change
@@ -6777,7 +6777,7 @@ which is an algorithm that takes no arguments:
67776777
<li><p>Set <var>request</var>'s <a for=request>keepalive</a> to true.
67786778

67796779
<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
67816781
<a for="deferred fetch record">notify invoked</a> is
67826782
<var>onActivatedWithoutTermination</var>.
67836783

@@ -6788,12 +6788,18 @@ which is an algorithm that takes no arguments:
67886788
<a>deferred-fetch control document</a>.
67896789

67906790
<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>
67946799

67956800
<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>
67976803

67986804
<li>
67996805
<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:
68676873
"<code>done</code>".
68686874

68696875
<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>.
68736879
</ol>
68746880
</div>
68756881

@@ -9106,11 +9112,8 @@ method steps are:
91069112

91079113
<p class=note>Requests whose <a for=request>body</a> is a {{ReadableStream}} cannot be deferred.
91089114

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-
91129115
<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
91149117
<a for=url>origin</a> is less than <var>request</var>'s <a>total request length</a>, then throw a
91159118
"{{QuotaExceededError}}" {{DOMException}}.
91169119

@@ -9121,7 +9124,7 @@ method steps are:
91219124
true.
91229125

91239126
<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
91259128
<a for="deferred fetch record">invoke state</a> to "<code>aborted</code>".
91269129

91279130
<li><p>Return a new {{FetchLaterResult}} whose

0 commit comments

Comments
 (0)