- From: Noam Rosenthal <notifications@github.com>
- Date: Mon, 02 Dec 2024 03:49:49 -0800
- To: whatwg/fetch <fetch@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
- Message-ID: <whatwg/fetch/pull/1647/review/2472485764@github.com>
@noamr commented on this pull request.
> + return.
+
+ <p class=note>Only the top level document and related documents can delegate the
+ {{PermissionPolicy/"deferred-fetch-minimal"}} policy.
+
+ <li><p>Let <var>framesWithMinimalQuotaPolicy</var> be zero.
+ <li>
+ <p><a for=list>For each</a> <var>navigable</var> that matches the following conditions:
+ <ul class=brief>
+
+ <li><p><var>navigable</var> is not <var>container</var>'s <a>content navigable</a>.
+
+ <li><p><var>topLevelRelatives</var> <a for=list>contains</a> <var>navigable</var>'s
+ <a for=navigable>parent</a>
+
+ <li><p><var>topLevelRelatives</var> does not <a for=list>contain</a> <var>navigable</var>
Let's take `frame-3`:
- `topLevelRelatives` is `{main document, frame-1, frame-2}` (see previous comment).
- The for loop iterates over all the navigables, not just on the `topLevelRelatives`. So it iterates over `{main document, frame-1, frame-2, frame-3, frame-4}`
- `frame-3` fails the first condition
- The main document passes the second condition
- `frame-1` and `frame_2` fail the 3rd condition
- We're left with `frame-4`, and we check its deferred fetch policy
--
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/fetch/pull/1647#discussion_r1865713681
You are receiving this because you are subscribed to this thread.
Message ID: <whatwg/fetch/pull/1647/review/2472485764@github.com>
Received on Monday, 2 December 2024 11:49:53 UTC