Closed Bug 1452941 Opened 2 years ago Closed 2 years ago

[wpt-sync] Sync PR 8422 - Adjust XMLHttpRequest Content-Type handling

Categories

(Core :: DOM: Core & HTML, enhancement, P4)

enhancement

Tracking

()

RESOLVED FIXED
mozilla61
Tracking Status
firefox61 --- fixed

People

(Reporter: wptsync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 8422 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/w3c/web-platform-tests/pull/8422
Details from upstream follow.

Anne van Kesteren <annevk@annevk.nl> wrote:
>  Adjust XMLHttpRequest Content-Type handling
>  
>  See https://github.com/whatwg/mimesniff/pull/36.
>  
>  
>
Component: web-platform-tests → DOM
Product: Testing → Core
Ran 1 tests and 16 subtests
OK     : 1
PASS   : 13
FAIL   : 3

Existing tests that now have a worse result (e.g. they used to PASS and now FAIL):
/xhr/send-content-type-charset.htm
    Correct text/plain MIME with charset: FAIL
    charset given but wrong, fix it (known MIME, bogus charset): FAIL

New tests that have failures or other problems:
/xhr/send-content-type-charset.htm
    Multiple charset parameters deduplicate, bogus parameter dropped: FAIL
Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/be93580d93e3
[wpt PR 8422] - Adjust XMLHttpRequest Content-Type handling, a=testonly
https://hg.mozilla.org/mozilla-central/rev/be93580d93e3
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla61
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.