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

@noamr commented on this pull request.



> + <li><p><a for=list>For each</a> (<var>name</var>, <var>value</var>) of <var>request</var>'s
+ <a for=request>header list</a>, increment <var>totalRequestLength</var> by <var>name</var>'s
+ <a for="byte sequence">length</a> + <var>value</var>'s <a for="byte sequence">length</a>.
+
+ <li><p>Increment <var>totalRequestLength</var> by <var>request</var>'s <a for=request>body</a>'s
+ <a for=body>length</a>.
+
+ <li><p>Return <var>totalRequestLength</var>.
+</ol>
+</div>
+
+<div algorithm>
+<p>To <dfn>process deferred fetches</dfn> given a <a>fetch group</a> <var>fetchGroup</var>:
+
+<ol>
+ <li><p><a for=list>For each</a> <a for="fetch group">deferred fetch record</a>

It's expected. Also when making the deferred fetch, the deferred fetch record would be added to root. frame-1 would never have its own deferred fetch records because it's not a control document.

Yes, in the example, the first one would succeed and the other two would fail.

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

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

Received on Monday, 20 January 2025 10:12:04 UTC