Re: [whatwg/fetch] Deferred fetching (PR #1647)

@noamr commented on this pull request.



> @@ -7093,13 +7093,14 @@ descendants share a quota of 384 kibibytes. That value is computed as such:
 <p>To <dfn export>reserve deferred-fetch quota</dfn> for a <a>navigable container</a>
 <var>container</var> given an <a for=/>origin</a> <var>originToNavigateTo</var>:
 
-<p class=note>This is called when <var>container</var> and the document that initiated the
-navigation (the "source document") are not <a>same origin</a>. It potentially
-reserves either 64kb or 8kb of quota for the frame, if  the permissions policy allow. It is not
-observable to the cotnainer document whether the reserved quota was used in practice.
-This algorithm assumes that the container's document might delegate quota to the navigated frame,
-and the reserved quota would only apply in that case, and would be ignored if it ends up being
-shared.
+<p class=note>This is called on navigation, when the source document of the navigation is the
+<a for=/>navigable</a>'s parent document. It potentially reserves either 64kb or 8kb of quota for
+the frame, if  the permissions policy allow. It is not observable to the cotnainer document whether
+the reserved quota was used in practice. This algorithm assumes that the container's document might
+delegate quota to the navigated frame, and the reserved quota would only apply in that case, and
+would be ignored if it ends up being shared. If quota was reserved and the document ends up being
+<a>same origin</a> with its parent, the quota would be
+<a data-lt="potentially free deferred-fetch quota">freed</a>.

It will be explicit in the HTML spec. I'll prepare a PR.
What you wrote is correct.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/fetch/pull/1647#discussion_r1906970726
You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/fetch/pull/1647/review/2536781830@github.com>

Received on Wednesday, 8 January 2025 10:34:20 UTC