- From: Luke Warlow <notifications@github.com>
- Date: Sat, 28 Nov 2026 07:28:10 -0800
- To: whatwg/fetch <fetch@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Saturday, 28 November 2026 15:28:15 UTC
@lukewarlow commented on this pull request.
> @@ -8512,7 +8513,19 @@ otherwise false.
<pre class=idl>
partial interface mixin WindowOrWorkerGlobalScope {
- [NewObject] Promise<Response> fetch(RequestInfo input, optional RequestInit init = {});
+ [NewObject] Promise<Response> fetch(RequestInfo input, optional FetchInit init = {});
+};
+
+dictionary FetchInit : RequestInit {
+ FetchMonitorCallback monitor;
+};
+
+callback FetchMonitorCallback = undefined (FetchMonitor monitor);
+
+[Exposed=(Window,Worker)]
+interface FetchMonitor : EventTarget {
+ attribute EventHandler onrequestprogress;
+ attribute EventHandler onresponseprogress;
};
I've added a new `finished` promise. Let me know if it's handled how you would expect.
--
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/fetch/pull/1843#discussion_r4727664682
You are receiving this because you are subscribed to this thread.
Message ID: <whatwg/fetch/pull/1843/review/6098704824@github.com>
Received on Saturday, 28 November 2026 15:28:15 UTC