[wpt-sync] Sync PR 29012 - [XHR] Stop content type sniffing for testing
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 29012 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/29012
Details from upstream follow.
b'Yutaka Hirano <yhirano@chromium.org>' wrote:
[XHR] Stop content type sniffing for testing
xhr/event-error.sub.any.js checks whether the "loaded" and "total"
properties of "error" and "loadend" events, but it has a hidden
assumption: at least one progress events have already been dispatched.
To ensure that the assumption holds, diable the XHR content type
sniffing with adding some response headers.Bug: 402812
Change-Id: I5eb0a50d675d5a9a112344f5fb0aedc8d79d9036Reviewed-on: https://chromium-review.googlesource.com/2896659
WPT-Export-Revision: 2aea557905d68844edf1dea40ee793ad3e539de7
Assignee | ||
Comment 1•3 years ago
|
||
PR 29012 applied with additional changes from upstream: 20b739c0a0dfefd65fdf8782e07a79ee040fad91
Assignee | ||
Updated•3 years ago
|
Assignee | ||
Comment 2•3 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=5508f1d62524b5621f800dab58ee1703a684503c
Assignee | ||
Comment 3•3 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: 6
FAIL: 2
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)
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/0f575c27c310 [wpt PR 29012] - [XHR] Stop content type sniffing for testing, a=testonly
Comment 5•3 years ago
|
||
bugherder |
Description
•