@@ -2761,8 +2761,7 @@ not <a for=Document>fully active</a>. It has the following <a for=struct>items</
27612761 <dd> An algorithm accepting no arguments.
27622762
27632763 <dt> <dfn for="deferred fetch record">invoke state</dfn>  (default "<code> pending</code> ")
2764-  <dd> "<code> pending</code> ", "<code> fetching</code> ", "<code> done</code> ", or
2765-  "<code> aborted</code> ".
2764+  <dd> "<code> pending</code> ", "<code> sent</code> ", or "<code> aborted</code> ".
27662765</dl> 
27672766
27682767<p> Each <a>navigable container</a>  has an associated number
@@ -6781,25 +6780,8 @@ which is an algorithm that takes no arguments:
67816780 <a for="deferred fetch record">notify invoked</a>  is
67826781 <var> onActivatedWithoutTermination</var> .
67836782
6784-  <li><p> <a for=list>Append</a>  <var> deferredRecord</var>  to <var> document</var> 's
6785-  <a>fetch group</a> 's <a for="fetch group">deferred fetch records</a> .
6786- 
6787-  <li><p> Let <var> controlDocument</var>  be <var> document</var> 's
6788-  <a>deferred-fetch control document</a> .
6789- 
6790-  <li> 
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> 
6799- 
6800-   <p class=note> This ensures that the deferred fetch is counted towards the control document's
6801-   quota if its request is still in flight after the <a>fetch group</a>  has been terminated.</p> 
6802-  </li> 
6783+  <li><p> <a for=list>Append</a>  <var> deferredRecord</var>  to <var> request</var> 's
6784+  <a for=request>client</a> 's <a>fetch group</a>' s <a for="fetch group">deferred fetch records</a> .
68036785
68046786 <li> 
68056787  <p> If <var> activateAfter</var>  is non-null, then run the following steps <a>in parallel</a> :</p> 
@@ -6865,12 +6847,9 @@ which is an algorithm that takes no arguments:
68656847 "<code> pending</code> ", then return.
68666848
68676849 <li><p> Set <var> deferredRecord</var> 's <a for="deferred fetch record">invoke state</a>  to
6868-  "<code> fetching </code> ".
6850+  "<code> sent </code> ".
68696851
6870-  <li><p> <a for=/>Fetch</a>  <var> deferredRecord</var> 's <a for="deferred fetch record">request</a> ,
6871-  with <a for=fetch><i>processRequestEndOfBody</i></a>  set to the following step: set
6872-  <var> deferredRecord</var> 's <a for="deferred fetch record">invoke state</a>  to
6873-  "<code> done</code> ".
6852+  <li><p> <a for=/>Fetch</a>  <var> deferredRecord</var> 's <a for="deferred fetch record">request</a> .
68746853
68756854 <li><p> <a>Queue a global task</a>  on the <a>deferred fetch task source</a>  with
68766855 <var> deferredRecord</var> 's <a for="deferred fetch record">request</a>' s
@@ -7091,22 +7070,26 @@ descendants share a quota of 384 kibibytes. That value is computed as such:
70917070 <li><p> Let <var> quotaForRequestOrigin</var>  be 64 kibibytes.
70927071
70937072 <li> 
7094-   <p> <a for=list>For each</a>  <a>deferred fetch record</a>    <var> deferredRecord </var>  of 
7095-   <var>  controlDocument </var >'s <a>fetch group </a>' s
7096-   <a for="fetch group" >deferred  fetch records </a> : </p> 
7073+   <p> <a for=list>For each</a>  <var>  navigable </var>  in  <var> controlDocument </var> 's 
7074+   <a>node navigable</a > 's <a>descendant navigables</a> whose <a for=navigable>active document </a>' s
7075+   <a>deferred- fetch control document </a>  is  <var> controlDocument </var> : 
70977076
70987077  <ol> 
7099-    <li><p> If <var> deferredRecord</var> 's <a for="deferred fetch record">invoke state</a>  is
7100-    "<code> done</code> " or "<code> aborted</code> ", then <a for=iteration>continue</a> .
7078+    <li> 
7079+     <p> <a for=list>For each</a>  <a>deferred fetch record</a>  <var> deferredRecord</var>  of
7080+     <var> controlDocument</var> 's <a>fetch group</a>' s
7081+     <a for="fetch group">deferred fetch records</a> :</p> 
71017082
7102-    <li><p> Let <var> requestLength</var>  be the <a>total request length</a>  of
7103-    <var> deferredRecord</var> 's <a for="deferred fetch record">request</a> .
7083+     <ol> 
7084+      <li><p> Let <var> requestLength</var>  be the <a>total request length</a>  of
7085+      <var> deferredRecord</var> 's <a for="deferred fetch record">request</a> .
71047086
7105-    <li><p> Decrement <var> quota</var>  by <var> requestLength</var> .
7087+       <li><p> Decrement <var> quota</var>  by <var> requestLength</var> .
71067088
7107-    <li><p> If <var> deferredRecord</var> 's <a for="deferred fetch record">request</a>' s
7108-    <a for=request>URL</a> 's <a for=url>origin</a>  is <a>same origin</a>  with <var> origin</var> ,
7109-    then decrement <var> quotaForRequestOrigin</var>  by <var> requestLength</var> .
7089+      <li><p> If <var> deferredRecord</var> 's <a for="deferred fetch record">request</a>' s
7090+      <a for=request>URL</a> 's <a for=url>origin</a>  is <a>same origin</a>  with <var> origin</var> ,
7091+      then decrement <var> quotaForRequestOrigin</var>  by <var> requestLength</var> .
7092+     </ol> 
71107093  </ol> 
71117094
71127095 <li><p> If <var> quota</var>  is equal or less than 0, then return 0.
0 commit comments