- From: Ming-Ying Chung <notifications@github.com>
- Date: Thu, 16 Jan 2025 22:10:52 -0800
- To: whatwg/fetch <fetch@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
- Message-ID: <whatwg/fetch/pull/1647/review/2558048421@github.com>
@mingyc 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> > For each deferred fetch record deferredRecord of controlDocument’s fetch group’s deferred fetch records: Consider the following example: ``` root (a.com) -> frame-1 (a.com) -> frame-2 (b.com) -> frame-3 (b.com) -> frame-4 (a.com) ``` Since `frame-1`'s `controlDocument` is `root`, any new fetchLater requests made in `frame-1`, when being processed by `To get the available deferred-fetch quota`, will only consider the existing deferred records from `root`? Is that expected? -- Reply to this email directly or view it on GitHub: https://github.com/whatwg/fetch/pull/1647#pullrequestreview-2558048421 You are receiving this because you are subscribed to this thread. Message ID: <whatwg/fetch/pull/1647/review/2558048421@github.com>
Received on Friday, 17 January 2025 06:10:55 UTC