Skip to content

Commit 3e724c4

Browse files
committed
nits
1 parent 3fa4984 commit 3e724c4

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

fetch.bs

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6942,9 +6942,7 @@ quota to <code>https://frame.example.com</code>, for example by serving the foll
69426942
<ol>
69436943
<li><p>Let <var>quota</var> be zero.
69446944

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.
69486946

69496947
<li>
69506948
<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
69856983
</ol>
69866984

69876985
<li>
6988-
<p>Otherwise,
6986+
<p>Otherwise:
69896987

69906988
<p class=note>This is a subframe, check if it inherits quota from its parent container based
69916989
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
70387036
<var>otherNavigable</var>'s <a>navigable container</a>'s
70397037
<a>subframe reserved deferred-fetch quota</a>.
70407038

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}}.
70437041
</ol>
70447042
<li><p>If <var>quota</var> is less than zero, than return zero.
70457043

@@ -7056,7 +7054,7 @@ quota to <code>https://frame.example.com</code>, for example by serving the foll
70567054

70577055
<p class=note>This is called when the container document initiates a navigation. It potentially
70587056
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
70607058
whether the reserved quota was used in practice.
70617059
This algorithm assumes that the container's document might delegate quota to the navigated frame,
70627060
and the reserved quota would only apply in that case, and would be ignored if it ends up being

0 commit comments

Comments
 (0)