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

@noamr commented on this pull request.



> +<var>container</var> given an <a for=/>origin</a> <var>originToNavigateTo</var>:
+
+<p class=note>This is called when the container document and the document that initiated the
+navigation (the "source document") <a>share deferred-fetch quota</a>. It potentially
+reserves either 64kb or 8kb of quota for the frame, if it doesn't <a>share deferred-fetch quota</a>
+with its parent and 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.
+
+<ol>
+ <li><p>If the <a data-lt="define an inherited policy for feature in container">inherited policy</a>
+ for {{PermissionPolicy/"deferred-fetch"}}, <var>container</var> and <var>originToNavigateTo</var>
+ is <code>Enabled</code>, and the <a>available deferred-fetch quota</a> for
+ <var>container</var>'s <a>container document</a> is equal or greater than

1. yes
2. yes
3. Yea, I need to clean that up

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

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

Received on Wednesday, 11 December 2024 09:26:57 UTC