- From: Noam Rosenthal <notifications@github.com>
- Date: Thu, 16 Jan 2025 01:55:14 -0800
- To: whatwg/fetch <fetch@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Thursday, 16 January 2025 09:55:17 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 Added "otherwise" to the switch instead -- Reply to this email directly or view it on GitHub: https://github.com/whatwg/fetch/pull/1647#discussion_r1918157388 You are receiving this because you are subscribed to this thread. Message ID: <whatwg/fetch/pull/1647/review/2555413656@github.com>
Received on Thursday, 16 January 2025 09:55:17 UTC