- From: Ming-Ying Chung <notifications@github.com>
- Date: Tue, 10 Dec 2024 23:02:03 -0800
- To: whatwg/fetch <fetch@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Wednesday, 11 December 2024 07:02:08 UTC
@mingyc commented on this pull request.
> +
+<p>The <dfn>optional subframe deferred-fetch quota</dfn> is 64 kibibytes.
+<p>The <dfn>minimal subframe deferred-fetch quota</dfn> is 8 kibibytes.
+<p>The <dfn>deferred-fetch delegated quota</dfn> is 128 kibibytes.
+
+<div algorithm>
+<p>Two {{Document}}s <var>a</var> and <var>b</var> are said to
+<dfn>share deferred-fetch quota</dfn> if <var>a</var>'s
+<a>relevant agent</a> is <var>b</var>'s <a>relevant agent</a>, and <var>a</var>'s
+<a for=Document>URL</a>'s <a for=url>origin</a> is <a>same origin</a> with <var>b</var>'s
+<a for=Document>URL</a>'s <a for=url>origin</a>.
+</div>
+
+
+<div algorithm>
+<p>To get the <dfn>available deferred-fetch quota</dfn> given a {{Document}}
```
To get the available deferred-fetch quota given a Document document and an origin-or-null origin:
```
What happens when `document` is a new popup window?
* same-origin new window
* quota = 64kb?
* How about cross-origin sub iframes within this window? Do they contribute to the total 128kb quota from opener?
* cross-origin new window: quota = 8kb?
--
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/fetch/pull/1647#pullrequestreview-2494483891
You are receiving this because you are subscribed to this thread.
Message ID: <whatwg/fetch/pull/1647/review/2494483891@github.com>
Received on Wednesday, 11 December 2024 07:02:08 UTC