- From: Noam Rosenthal <notifications@github.com>
- Date: Tue, 10 Dec 2024 03:43:50 -0800
- To: whatwg/fetch <fetch@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Tuesday, 10 December 2024 11:43:54 UTC
@noamr commented on this pull request. > + <a>subframe reserved deferred-fetch quota</a>. + + <p class=note>This is a cross-origin/cross-agent subframe, so it spends some of the quota of + this document and its relatives. + </ol> + <li><p>If <var>quota</var> is less than zero, than return zero. + + <li><p>If <var>quota</var> is less than <var>quotaForOrigin</var>, then + return <var>quota</var>. + + <li><p>Return <var>quotaForOrigin</var>. +</ol> +</div> + +<div algorithm> +<p>To <dfn export>reserve deferred-fetch quota</dfn> for a <a>navigable container</a> To summarize: ``` root (a.com) -> frame_a (a.com) -> frame_c (b.com) -> frame_d (b.com) -> frame_b (a.com) ``` - `frame_a` will receive 64kb, but it would be ignored because it shares quota with root - `frame_c` will receive 8kb because it passes all the conditions for minimal quota - `frame_d` as well - `frame_b` will receive 0, because it fails the outer condition in (2): (the parent has to share quota with the top levle) -- Reply to this email directly or view it on GitHub: https://github.com/whatwg/fetch/pull/1647#discussion_r1877944705 You are receiving this because you are subscribed to this thread. Message ID: <whatwg/fetch/pull/1647/review/2492044800@github.com>
Received on Tuesday, 10 December 2024 11:43:54 UTC