Re: [whatwg/fetch] Deferred fetching (PR #1647)

@mingyc 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

> deferredFetchMinimalAllowed is true

Is it possible to bypass all these 5 conditions without a value for `quota`, i.e. `isTopLevel == false` && `deferredFetchAllowed == false` && `deferredFetchMinimalAllowed == false`?

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

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

Received on Friday, 10 January 2025 07:05:56 UTC