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>

```
To reserve deferred-fetch quota for a navigable container container given an origin originToNavigateTo:
```

What will be the returned value given the following example?

```
root (a.com) -> frame_a (a.com) -> frame_c (b.com)
             -> frame_d (b.com) -> frame_b (a.com)
```

- `frame_a`: 64kb
- `frame_b`: should also be 64kb?
- `frame_c`: 8kb?
- `frame_d`: 8kb

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

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

Received on Tuesday, 10 December 2024 10:39:07 UTC