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

@mingyc commented on this pull request.



> +  </ol>
+
+ <li><p>If <var>quota</var> is equal or less than 0, then return 0.
+
+ <li><p>If <var>quota</var> is less than <var>quotaForRequestOrigin</var>, then return
+ <var>quota</var>.
+
+ <li><p>Return <var>quotaForRequestOrigin</var>.
+</ol>
+</div>
+
+<div algorithm>
+<p>To <dfn export>reserve deferred-fetch quota</dfn> for a <a>navigable container</a>
+<var>container</var> given an <a for=/>origin</a> <var>originToNavigateTo</var>:
+
+<p class=note>This is called when <var>container</var> and the document that initiated the

> This is called when the iframe is being [navigated](https://html.spec.whatwg.org/multipage/browsing-the-web.html#navigate),

It might still be ambigous. This algorithm later relies on [inherited policies](
https://w3c.github.io/webappsec-permissions-policy/#inherited-policies), which is also only available on navigation.



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

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

Received on Wednesday, 8 January 2025 02:38:30 UTC