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

@mingyc commented on this pull request.



> +
+
+<div algorithm>
+<p>To get the <dfn>available deferred-fetch quota</dfn> given a {{Document}}
+<var>document</var> and an <a for=/>origin</a>-or-null <var>origin</var>:
+
+<ol>
+ <li><p>Let <var>quota</var> be zero.
+
+ <li><p>Let <var>quotaForOrigin</var> be 64 kibibytes.
+
+ <li>
+  <p>For each <var>otherNavigable</var> in <var>document</var>'s <a>node navigable</a>'s
+  <a for=navigable>top-level traversable</a>'s <a>inclusive descendant navigables</a>:
+
+  <p class=note>This algorithm iterates over the entire navigable tree. It accumulates quota from

interesting.. does this leak the number of b.com in some way? I thought the quota for a frame should just be fixed no matter how many other same-origin frames exist

On the other hand, it doesn't look like this applies to `frame_1` and `frame_2`, as this step does not apply to `deferred-fetch`. Does that mean each of them just has a fixed `64 kb`?

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

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

Received on Thursday, 12 December 2024 09:21:58 UTC