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

@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>

Actually there is a bug here, `frame_a` & `frame_b` should be 0. It matters if the frame navigates itself.
`frame_c` and `frame_d`: 8kb each unless they get more via permissions-policy

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

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

Received on Tuesday, 10 December 2024 10:50:09 UTC