@@ -6942,9 +6942,7 @@ quota to <code>https://frame.example.com</code>, for example by serving the foll
6942
6942
<ol>
6943
6943
<li><p> Let <var> quota</var> be zero.
6944
6944
6945
- <li>
6946
- <p> Let <var> quotaForOrigin</var> be 64 kibibytes.
6947
- <p class=note>
6945
+ <li><p> Let <var> quotaForOrigin</var> be 64 kibibytes.
6948
6946
6949
6947
<li>
6950
6948
<p> For each <var> otherNavigable</var> in <var> document</var> 's <a>node navigable</a>' s
@@ -6985,7 +6983,7 @@ quota to <code>https://frame.example.com</code>, for example by serving the foll
6985
6983
</ol>
6986
6984
6987
6985
<li>
6988
- <p> Otherwise,
6986
+ <p> Otherwise:
6989
6987
6990
6988
<p class=note> This is a subframe, check if it inherits quota from its parent container based
6991
6989
on permissions policy. This would only be the case if the subframe and its parent do not share
@@ -7038,8 +7036,8 @@ quota to <code>https://frame.example.com</code>, for example by serving the foll
7038
7036
<var> otherNavigable</var> 's <a>navigable container</a>' s
7039
7037
<a>subframe reserved deferred-fetch quota</a> .
7040
7038
7041
- <p class=note> This is a cross-origin/cross-agent subframe, so it spends some of the quota of
7042
- this document and its relatives .
7039
+ <p class=note> This is a cross-origin/cross-agent subframe, so we check if it has reserved some
7040
+ quota which was delegated via {{PermissionsPolicy}} .
7043
7041
</ol>
7044
7042
<li><p> If <var> quota</var> is less than zero, than return zero.
7045
7043
@@ -7056,7 +7054,7 @@ quota to <code>https://frame.example.com</code>, for example by serving the foll
7056
7054
7057
7055
<p class=note> This is called when the container document initiates a navigation. It potentially
7058
7056
reserves either 64kb or 8kb of quota for the frame, if it doesn't <a>share deferred-fetch quota</a>
7059
- with the container and the permissions policy allow. It is not observable to the cotnainer document
7057
+ with its parent and the permissions policy allow. It is not observable to the cotnainer document
7060
7058
whether the reserved quota was used in practice.
7061
7059
This algorithm assumes that the container's document might delegate quota to the navigated frame,
7062
7060
and the reserved quota would only apply in that case, and would be ignored if it ends up being
0 commit comments