- From: Noam Rosenthal <notifications@github.com>
- Date: Mon, 13 Jan 2025 01:52:01 -0800
- To: whatwg/fetch <fetch@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Monday, 13 January 2025 09:52:05 UTC
@noamr commented on this pull request.
> +
+<div algorithm>
+<p>To get the <dfn>available deferred-fetch quota</dfn> given a {{Document}}
+<var>controlDocument</var> and an <a for=/>origin</a>-or-null <var>origin</var>:
+
+<ol>
+ <li><p>Let <var>navigable</var> be <var>controlDocument</var>'s <a>node navigable</a>.
+
+ <li><p>Let <var>isTopLevel</var> be true if <var>controlDocument</var>'s <a>node navigable</a> is a
+ <a for=/>top-level traversable</a>; otherwise false.
+
+ <li><p>Let <var>deferredFetchAllowed</var> be true if <var>controlDocument</var> is
+ <a>allowed to use</a> the <a>policy-controlled feature</a> "{{PermissionsPolicy/deferred-fetch}}";
+ otherwise false.
+
+ <li><p>Let <var>deferredFetchMinimalAllowed</var> be true if <var>controlDocument</var> is
Yes, adding to the first condition.
--
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/fetch/pull/1647#discussion_r1912922531
You are receiving this because you are subscribed to this thread.
Message ID: <whatwg/fetch/pull/1647/review/2546156226@github.com>
Received on Monday, 13 January 2025 09:52:05 UTC