@@ -6762,8 +6762,8 @@ sources, specifically task sources that can result in running scripts such as th
6762
6762
6763
6763
<div algorithm>
6764
6764
<p> To <dfn>queue a deferred fetch</dfn> given a <a for=/>request</a> <var> request</var> , a
6765
- <a for=fetch>fetch group</a> <var> fetchGroup</var> a null or {{DOMHighResTimeStamp}}
6766
- <var> activateAfter</var> , an <var> onActivatedWithoutTermination</var> , which is an algorithm that
6765
+ <a for=fetch>fetch group</a> <var> fetchGroup</var> , a null or {{DOMHighResTimeStamp}}
6766
+ <var> activateAfter</var> , and <var> onActivatedWithoutTermination</var> , which is
6767
6767
takes no arguments:
6768
6768
6769
6769
<ol>
@@ -6789,8 +6789,10 @@ takes no arguments:
6789
6789
<ol>
6790
6790
<li>
6791
6791
<p> The user agent should wait until any of the following conditions is met:
6792
+
6792
6793
<ul class=brief>
6793
6794
<li><p> At least <var> activateAfter</var> milliseconds have passed.
6795
+
6794
6796
<li><p> The user agent has a reason to believe that it is about to lose the opportunity to
6795
6797
execute scripts, e.g., when the browser is moved to the background, or when
6796
6798
<var> request</var> 's <a for=request>client</a> is a {{Document}} that had a
@@ -6824,19 +6826,18 @@ takes no arguments:
6824
6826
<a for=request>header list</a> , increment <var> totalRequestLength</var> by <var> name</var> 's
6825
6827
<a for="byte sequence">length</a> + <var> value</var> 's <a for="byte sequence">length</a> .
6826
6828
6827
- <li><p> Increment <var> totalRequestLength</var> by <var> request</var> 's
6828
- <a for=request>body</a> 's <a for= body>length</a> .
6829
+ <li><p> Increment <var> totalRequestLength</var> by <var> request</var> 's <a for=request>body</a>' s
6830
+ <a for=body>length</a> .
6829
6831
6830
6832
<li><p> Return <var> totalRequestLength</var> .
6833
+ </ol>
6831
6834
</div>
6832
6835
6833
6836
<div algorithm>
6834
- <p> To <dfn>process deferred fetches</dfn> given a <a>fetch group</a>
6835
- <var> fetchGroup</var> , <a for=list>for each</a> <a for="fetch group">deferred fetch record</a>
6836
- <var> deferredRecord</var> of <var> fetchGroup</var> 's
6837
- <a for="fetch group">deferred fetch records</a> <a>process a deferred fetch</a>
6838
- <var> deferredRecord</var> .
6839
- </ol>
6837
+ <p> To <dfn>process deferred fetches</dfn> given a <a>fetch group</a> <var> fetchGroup</var> ,
6838
+ <a for=list>for each</a> <a for="fetch group">deferred fetch record</a> <var> deferredRecord</var> of
6839
+ <var> fetchGroup</var> 's <a for="fetch group">deferred fetch records</a>
6840
+ <a>process a deferred fetch</a> <var> deferredRecord</var> .
6840
6841
</div>
6841
6842
6842
6843
<div algorithm>
@@ -6847,8 +6848,8 @@ takes no arguments:
6847
6848
6848
6849
<li><p> Set <var> deferredRecord</var> 's <a for="deferred fetch record">done</a> to true.
6849
6850
6850
- <li><p> <a for=/>Fetch</a> <var> deferredRecord</var> 's
6851
- <a for="deferred fetch record">request</a> .
6851
+ <li><p> <a for=/>Fetch</a> <var> deferredRecord</var> 's <a for="deferred fetch record">request</a> .
6852
+
6852
6853
<li><p> Return true.
6853
6854
</ol>
6854
6855
</div>
@@ -6865,16 +6866,16 @@ documents, using permissions policy.
6865
6866
cross-origin nested documents, each reserving 8 kibibytes.
6866
6867
6867
6868
<p> The top-level {{Document}} , and subsequently its nested documents, can control how much of their
6868
- quota is delegates to cross-origin/cross-agent nested documents, by using permissions policy.
6869
- By default, "{{PermissionsPolicy/deferred-fetch-minimal}} " is enabled for any origin, while
6869
+ quota is delegates to cross-origin child documents, using permissions policy. By default,
6870
+ "{{PermissionsPolicy/deferred-fetch-minimal}} " is enabled for any origin, while
6870
6871
"{{PermissionsPolicy/deferred-fetch}} " is enabled for the top-level document's origin only.
6871
6872
By relaxing the "{{PermissionsPolicy/deferred-fetch}} " policy for particular origins and nested
6872
6873
documents, the top-level document can allocate 64 kibibytes to those nested documents. Similarly, by
6873
6874
restricting the "{{PermissionsPolicy/deferred-fetch-minimal}} " policy for a particular origin or
6874
- nested document, the document can prevent the iframe from reserving the 8 kibibytes it would receive
6875
- by default. By disabling "{{PermissionsPolicy/deferred-fetch-minimal}} " for the top-level document
6876
- itself, the entire 128 kibibytes delegated quota is collected back into the main pool of 640
6877
- kibibytes.
6875
+ nested document, the document can prevent the document from reserving the 8 kibibytes it would
6876
+ receive by default. By disabling "{{PermissionsPolicy/deferred-fetch-minimal}} " for the top-leve
6877
+ document itself, the entire 128 kibibytes delegated quota is collected back into the main pool of
6878
+ 640 kibibytes.
6878
6879
6879
6880
<p> Out of the allocated quota for a {{Document}} , only 64 kibibytes can be used concurrently for the
6880
6881
same reporting origin (the <a for=/>request</a> 's <a for=request>URL</a>' s <a for=url>origin</a> ).
@@ -6991,7 +6992,7 @@ descendants share a quota of 384 kibibytes. That value is computed as such:
6991
6992
"<dfn for=PermissionsPolicy enum-value>deferred-fetch-minimal</dfn> ". Its
6992
6993
<a for="policy-controlled feature">default allowlist</a> is "<code> *</code> ".
6993
6994
6994
- <p> The <dfn>max containers with minimal quota</ dfn> is 16 .
6995
+ <p> The <dfn>quota reserved for <code>deferred-fetch- minimal</code></ dfn> is 128 kibibytes .
6995
6996
6996
6997
<div algorithm>
6997
6998
<p> To get the <dfn>available deferred-fetch quota</dfn> given a {{Document}}
@@ -7016,8 +7017,7 @@ descendants share a quota of 384 kibibytes. That value is computed as such:
7016
7017
7017
7018
<li><p> If <var> controlDocument</var> is <a>allowed to use</a> the
7018
7019
<a>policy-controlled feature</a> "{{PermissionsPolicy/deferred-fetch-minimal}} ", then
7019
- decrement <var> quota</var> by <a>max containers with minimal quota</a> , multiplied by
7020
- <a for="reserved deferred-fetch quota">minimal quota</a> .
7020
+ decrement <var> quota</var> by <a>quota reserved for <code>deferred-fetch-minimal</code></a> .
7021
7021
</ol>
7022
7022
7023
7023
<p> Otherwise:
@@ -7061,7 +7061,9 @@ descendants share a quota of 384 kibibytes. That value is computed as such:
7061
7061
<var> navigable</var> 's <a>navigable container</a>' s <a>reserved deferred-fetch quota</a> .
7062
7062
7063
7063
<li><p> If <var> quota</var> is less than 0, then return 0.
7064
+
7064
7065
<li><p> If <var> quota</var> is less than <var> quotaForOrigin</var> , then return <var> quota</var> .
7066
+
7065
7067
<li><p> Return <var> quotaForOrigin</var> .
7066
7068
</ol>
7067
7069
</div>
@@ -7107,7 +7109,8 @@ shared.
7107
7109
<a>descendant navigables</a> , <a for=list data-lt=remove>removing</a> any <a for=/>navigable</a>
7108
7110
whose <a>navigable container</a> 's <a>reserved deferred-fetch quota</a> is not
7109
7111
<a for="reserved deferred-fetch quota">minimal quota</a> , is less than
7110
- <a>max containers with minimal quota</a>
7112
+ <a>quota reserved for <code>deferred-fetch-minimal</code></a> /
7113
+ <a for="reserved deferred-fetch quota">minimal quota</a> .
7111
7114
</ul>
7112
7115
7113
7116
<p> then set <var> container</var> 's <a>reserved deferred-fetch quota</a> to
0 commit comments