- From: Luke Warlow <notifications@github.com>
- Date: Fri, 25 Jul 2025 05:47:53 -0700
- To: whatwg/fetch <fetch@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Friday, 25 July 2025 12:47:57 UTC
@lukewarlow commented on this pull request. > + +<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 +<var>target</var>, given <var>transmitted</var> and <var>length</var>, means to <a>fire an event</a> +named <var>e</var> at <var>target</var>, using {{ProgressEvent}}, with the {{ProgressEvent/loaded}} +attribute initialized to <var>transmitted</var>, and if <var>length</var> is not 0, with the +{{ProgressEvent/lengthComputable}} attribute initialized to true and the {{ProgressEvent/total}} +attribute initialized to <var>length</var>. + + +<h3 id=suggested-names-for-events-using-the-progressevent-interface>Suggested names for events using the {{ProgressEvent}} interface</h3> + +<p><em>This section is non-normative.</em> + +<p>The suggested {{Event/type}} Most of these events aren't used in Fetch so this table should probably be kept in the XHR spec. -- Reply to this email directly or view it on GitHub: https://github.com/whatwg/fetch/pull/1843#pullrequestreview-3055275019 You are receiving this because you are subscribed to this thread. Message ID: <whatwg/fetch/pull/1843/review/3055275019@github.com>
Received on Friday, 25 July 2025 12:47:57 UTC