Re: [whatwg/fetch] WIP: Add a mechanism to fetch to track progress (PR #1843)

@lukewarlow commented on this pull request.



> +  double total = 0;
+};
+</pre>
+
+<p><a>Events</a> using the {{ProgressEvent}} interface indicate some kind of progression.
+
+<p>The
+<dfn attribute for=ProgressEvent><code>lengthComputable</code></dfn>,
+<dfn attribute for=ProgressEvent><code>loaded</code></dfn>, and
+<dfn attribute for=ProgressEvent><code>total</code></dfn>
+getter steps are to return the value they were initialized to.
+
+
+<h3 id=firing-events-using-the-progressevent-interface>Firing events using the {{ProgressEvent}} interface</h3>
+
+<p>To <dfn id=concept-event-fire-progress>fire a progress event</dfn> named <var>e</var> at

Should fetch really fire sync events? It would match XHR but I wonder if these should be queued instead?

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

Message ID: <whatwg/fetch/pull/1843/review/3055272706@github.com>

Received on Friday, 25 July 2025 12:47:23 UTC