Closed Bug 1632044 Opened 5 years ago Closed 5 years ago

[wpt-sync] Sync PR 23164 - XHR: align with Fetch's Content-Type stripping

Categories

(Core :: DOM: Networking, task, P4)

task

Tracking

()

RESOLVED FIXED
mozilla77
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.

Component: web-platform-tests → DOM: Networking
Product: Testing → Core
Whiteboard: [wptsync downstream] → [necko-triaged][wptsync downstream]

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)

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/74aa03678383 [wpt PR 23164] - XHR: align with Fetch's Content-Type stripping, a=testonly https://hg.mozilla.org/integration/autoland/rev/9867ed789924 [wpt PR 23164] - Update wpt metadata, a=testonly
Pushed by archaeopteryx@coole-files.de: https://hg.mozilla.org/integration/autoland/rev/3a312842c93c [wpt PR 23164] - XHR: align with Fetch's Content-Type stripping, a=testonly https://hg.mozilla.org/integration/autoland/rev/46ecf7e8fcfc [wpt PR 23164] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla77
You need to log in before you can comment on or make changes to this bug.