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

@mingyc commented on this pull request.



> +   <a for=Document>visibility state</a> for a long period of time.
+
+   <li><p>The user agent may wait for a further <a>implementation-defined</a> <a>duration</a>, e.g.,
+   in order to batch several requests together or to wait until <a for=request>keepalive</a>
+   requests are complete.
+
+   <li><p><a>Process a deferred fetch</a> given <var>deferredRecord</var>.
+  </ol>
+ </li>
+
+ <li><p>Return <var>deferredRecord</var>.
+</ol>
+</div>
+
+<div algorithm>
+<p>To get the <dfn>available deferred fetching quota</dfn> given a <code>Document</code>

> To get the available deferred fetching quota 

It looks like this algorithm assumes that both `remainingTotalQuota` and `remainingQuotaForOrigin` are always >= 0, which may not be true within Step 6.

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

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

Received on Wednesday, 5 June 2024 08:43:42 UTC