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

@mingyc commented on this pull request.



> +    <a>subframe reserved deferred-fetch quota</a>.
+
+    <p class=note>This is a cross-origin/cross-agent subframe, so it spends some of the quota of
+    this document and its relatives.
+  </ol>
+ <li><p>If <var>quota</var> is less than zero, than return zero.
+
+ <li><p>If <var>quota</var> is less than <var>quotaForOrigin</var>, then
+ return <var>quota</var>.
+
+ <li><p>Return <var>quotaForOrigin</var>.
+</ol>
+</div>
+
+<div algorithm>
+<p>To <dfn export>reserve deferred-fetch quota</dfn> for a <a>navigable container</a>

Now I think I am still not quite understand the for-loop ...

```
For each navigable of container’s node navigable’s top-level traversable’s inclusive descendant navigables who meets all of the following conditions:
```

Does this basically iterate through all the nodes (iframes + root from this example) in the frame tree?

If so, `frame_c` and `frame_d` will both pass all the conditions?

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

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

Received on Tuesday, 10 December 2024 11:25:46 UTC