- From: Luke Warlow <notifications@github.com>
- Date: Sat, 28 Nov 2026 06:55:06 -0800
- To: whatwg/fetch <fetch@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Saturday, 28 November 2026 14:55:10 UTC
@lukewarlow commented on this pull request. > + <p>Let <var>processRequestBodyChunkLength</var>, given a <var>bytesLength</var>, be these steps: + + <ol> + <li><p>If <var>requestMonitor</var> is null, then return. + + <li><p>Increase <var>requestMonitor</var>'s <a for=FetchMonitor>loaded</a> by + <var>bytesLength</var>. + + <li><p>If not roughly 50ms has passed since these steps were last invoked, then return. + + <li><p><a>Fire an event</a> named <a event for=FetchMonitor><code>progress</code></a> at + <var>requestMonitor</var>. + </ol> + + <li> + <p>Let <var>processRequestEndOfBody</var> be these steps: There's a relevant XHR spec issue: https://github.com/whatwg/xhr/issues/242 As currently written this PR (and XHR) would fire progress events when tracking upload progress despite a null body, which no browser actually does. -- Reply to this email directly or view it on GitHub: https://github.com/whatwg/fetch/pull/1843#pullrequestreview-6098498249 You are receiving this because you are subscribed to this thread. Message ID: <whatwg/fetch/pull/1843/review/6098498249@github.com>
Received on Saturday, 28 November 2026 14:55:10 UTC