[wpt-sync] Sync PR 28995 - [XHR] length and transmitted should be zero in "request error steps"
Categories
(Core :: DOM: Networking, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox90 | --- | fixed |
People
(Reporter: mozilla.org, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 28995 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/28995
Details from upstream follow.
b'Yutaka Hirano <yhirano@chromium.org>' wrote:
[XHR] length and transmitted should be zero in "request error steps"
As specified at https://xhr.spec.whatwg.org/#request-error-steps, give
0 and 0 for length and transmitted to
https://xhr.spec.whatwg.org/#concept-event-fire-progress. This change
is too subtle for an intent.Bug: 402812
Change-Id: I7231f96af016b36d3ee3dc24b42bc18ba21a1470Reviewed-on: https://chromium-review.googlesource.com/2892239
WPT-Export-Revision: bf771d9deb0b84d3388aef2ffc5f14f9ae4f4119
Assignee | ||
Updated•4 years ago
|
Assignee | ||
Comment 1•4 years ago
|
||
Assignee | ||
Comment 2•4 years ago
|
||
Assignee | ||
Comment 3•4 years ago
|
||
CI Results
Ran 15 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 4 tests and 2 subtests
Status Summary
Firefox
OK : 4
PASS: 5
FAIL: 3
Chrome
OK : 4
PASS: 8
Safari
OK : 4
PASS: 6
FAIL: 2
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
Firefox-only Failures
/xhr/response-body-errors.any.html
Asynchronous XMLHttpRequest should clear response on bad chunk: FAIL
/xhr/response-body-errors.any.worker.html
Synchronous XMLHttpRequest should throw on bad chunk: FAIL
Asynchronous XMLHttpRequest should clear response on bad chunk: FAIL
New Tests That Don't Pass
/xhr/response-body-errors.any.html
Asynchronous XMLHttpRequest should clear response on bad chunk: FAIL (Chrome: PASS, Safari: PASS)
/xhr/response-body-errors.any.worker.html
Synchronous XMLHttpRequest should throw on bad chunk: FAIL (Chrome: PASS, Safari: PASS)
Asynchronous XMLHttpRequest should clear response on bad chunk: FAIL (Chrome: PASS, Safari: PASS)
Comment 5•3 years ago
|
||
bugherder |
Description
•