- From: Ming-Ying Chung <notifications@github.com>
- Date: Tue, 10 Dec 2024 04:00:13 -0800
- To: whatwg/fetch <fetch@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
- Message-ID: <whatwg/fetch/pull/1647/review/2492104564@github.com>
@mingyc commented on this pull request.
> +with its parent and the permissions policy allow. It is not observable to the cotnainer document
+whether the reserved quota was used in practice.
+This algorithm assumes that the container's document might delegate quota to the navigated frame,
+and the reserved quota would only apply in that case, and would be ignored if it ends up being
+shared.
+
+<ol>
+ <li><p>If the <a data-lt="define an inherited policy for feature in container">inherited policy</a>
+ for {{PermissionPolicy/"deferred-fetch"}}, <var>container</var> and <var>originToNavigateTo</var>
+ is <code>Enabled</code>, and the <a>available deferred-fetch quota</a> for
+ <var>container</var>'s <a>container document</a> is equal or greater than
+ <a>optional subframe deferred-fetch quota</a>, then set <var>container</var>'s
+ <a>reserved deferred-fetch quota</a> to <a>optional subframe deferred-fetch quota</a>.
+
+ <li>
+ <p>Otherwise, if the
```
and container’s node document and container’s node navigable’s top-level traversable’s active document share deferred-fetch quota, then:
```
Are the following two the same if `container` is a first-level child iframe (as they will both point to main frame)?
* `container’s node document`
* `container’s node navigable’s top-level traversable`
--
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/fetch/pull/1647#pullrequestreview-2492104564
You are receiving this because you are subscribed to this thread.
Message ID: <whatwg/fetch/pull/1647/review/2492104564@github.com>
Received on Tuesday, 10 December 2024 12:00:17 UTC