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

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

> if the iframe navigates internally to a different origin

How about initial loads of both frame?

Also, I think there are some issue about the `inherited policy` for `frame_b`. My test shows that it won't have `deferred-fetch` enabled ... Is it because its parent iframe is cross-origin?

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

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

Received on Tuesday, 10 December 2024 11:04:33 UTC