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

@noamr commented on this pull request.



> +
+
+<div algorithm>
+<p>To get the <dfn>available deferred-fetch quota</dfn> given a {{Document}}
+<var>document</var> and an <a for=/>origin</a>-or-null <var>origin</var>:
+
+<ol>
+ <li><p>Let <var>quota</var> be zero.
+
+ <li><p>Let <var>quotaForOrigin</var> be 64 kibibytes.
+
+ <li>
+  <p>For each <var>otherNavigable</var> in <var>document</var>'s <a>node navigable</a>'s
+  <a for=navigable>top-level traversable</a>'s <a>inclusive descendant navigables</a>:
+
+  <p class=note>This algorithm iterates over the entire navigable tree. It accumulates quota from

1 and 2 receive 64kb upon navigating, which is reset to 0 when the document is created.

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

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

Received on Thursday, 12 December 2024 10:43:23 UTC