- From: Anne van Kesteren <notifications@github.com>
- Date: Tue, 02 Mar 2021 08:39:43 -0800
- To: whatwg/xhr <xhr@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
- Message-ID: <whatwg/xhr/pull/317@github.com>
The only information browsers use for progress events for responses is the Content-Length header.
Align on that and only use body's length concept for uploads.
Tests: web-platform-tests/wpt#27837.
Fetch PRs: whatwg/fetch#1183 & whatwg/fetch#1184.
- [ ] At least two implementers are interested (and none opposed):
* …
* …
- [ ] [Tests](https://github.com/web-platform-tests/wpt) are written and can be reviewed and commented upon at:
* …
- [ ] [Implementation bugs](https://github.com/whatwg/meta/blob/main/MAINTAINERS.md#handling-pull-requests) are filed:
* Chrome: …
* Firefox: …
* Safari: …
(See [WHATWG Working Mode: Changes](https://whatwg.org/working-mode#changes) for more details.)
<!--
This comment and the below content is programatically generated.
You may add a comma-separated list of anchors you'd like a
direct link to below (e.g. #idl-serializers, #idl-sequence):
Don't remove this comment or modify anything below this line.
If you don't want a preview generated for this pull request,
just replace the whole of this comment's content by "no preview"
and remove what's below.
-->
***
<a href="https://whatpr.org/xhr/317.html" title="Last updated on Mar 2, 2021, 4:39 PM UTC (e93c89d)">Preview</a> | <a href="https://whatpr.org/xhr/317/26f974f...e93c89d.html" title="Last updated on Mar 2, 2021, 4:39 PM UTC (e93c89d)">Diff</a>
You can view, comment on, or merge this pull request online at:
https://github.com/whatwg/xhr/pull/317
-- Commit Summary --
* Handle errors in response bodies
* Use extract a length from Fetch
-- File Changes --
M xhr.bs (101)
-- Patch Links --
https://github.com/whatwg/xhr/pull/317.patch
https://github.com/whatwg/xhr/pull/317.diff
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/xhr/pull/317
Received on Tuesday, 2 March 2021 16:39:56 UTC