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