[wpt-sync] Sync PR 23164 - XHR: align with Fetch's Content-Type stripping
Categories
(Core :: DOM: Networking, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox77 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [necko-triaged][wptsync downstream])
Sync web-platform-tests PR 23164 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/23164
Details from upstream follow.
Anne van Kesteren <annevk@annevk.nl> wrote:
XHR: align with Fetch's Content-Type stripping
Also modernize the code a tiny bit.
Closes #23156.
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Comment 1•5 years ago
|
||
Updated•5 years ago
|
Assignee | ||
Comment 2•5 years ago
|
||
CI Results
Ran 13 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 65 tests
Status Summary
Firefox
OK : 1
PASS: 20[GitHub] 84[Gecko-android-em-7.0-x86_64-debug-geckoview, Gecko-android-em-7.0-x86_64-opt-geckoview, Gecko-linux1804-64-asan-opt, Gecko-linux1804-64-debug, Gecko-linux1804-64-opt, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows10-64-debug, Gecko-windows10-64-opt, Gecko-windows10-64-qr-debug, Gecko-windows10-64-qr-opt, Gecko-windows7-32-debug, Gecko-windows7-32-opt]
FAIL: 2
Chrome
OK : 1
PASS: 20
FAIL: 2
Safari
OK : 1
PASS: 19
FAIL: 3
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
/xhr/send-redirect-to-cors.htm
XMLHttpRequest: send() - Redirect to CORS-enabled resource (301 POST with string and explicit Content-Type safelisted): FAIL (Chrome: FAIL, Safari: FAIL)
XMLHttpRequest: send() - Redirect to CORS-enabled resource (303 FOO with string and explicit Content-Type safelisted): FAIL (Chrome: FAIL, Safari: FAIL)
Comment 5•5 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/3a312842c93c
https://hg.mozilla.org/mozilla-central/rev/46ecf7e8fcfc
Description
•