Closed Bug 1452928 Opened 2 years ago Closed Last year

[wpt-sync] Sync PR 8449 - Add more XMLHttpRequest overrideMimeType() tests

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 8449 into mozilla-central (this bug is closed when the sync is complete).

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

Anne van Kesteren <annevk@annevk.nl> wrote:
>  Add more XMLHttpRequest overrideMimeType() tests
>  
>  For https://github.com/whatwg/xhr/issues/157 and https://github.com/whatwg/mimesniff/issues/42.
>  
>  
>
Component: web-platform-tests → DOM
Product: Testing → Core
Ran 2 tests and 18 subtests
OK     : 2
PASS   : 6
FAIL   : 12

New tests that have failures or other problems:
/XMLHttpRequest/overridemimetype-edge-cases.window.html
    If charset is not overridden by overrideMimeType() the original continues to be used: FAIL
    overrideMimeType() state needs to be reset across requests: FAIL
/xhr/overridemimetype-blob.html
    Bogus MIME type should end up as application/octet-stream, 3: FAIL
    Bogus MIME type should end up as application/octet-stream, 4: FAIL
    Bogus MIME type should end up as application/octet-stream, 5: FAIL
    Bogus MIME type should end up as application/octet-stream, 6: FAIL
    Bogus MIME type should end up as application/octet-stream, 7: FAIL
    Bogus MIME type should end up as application/octet-stream, 9: FAIL
    Valid MIME types need to be parsed and serialized 1: FAIL
    Valid MIME types need to be parsed and serialized 4: FAIL
    Valid MIME types need to be parsed and serialized 5: FAIL
Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/a743786f569a
[wpt PR 8449] - Add more XMLHttpRequest overrideMimeType() tests, a=testonly
https://hg.mozilla.org/integration/mozilla-inbound/rev/dca90afc00ae
[wpt PR 8449] - Update wpt metadata, a=testonly
https://hg.mozilla.org/mozilla-central/rev/a743786f569a
https://hg.mozilla.org/mozilla-central/rev/dca90afc00ae
Status: NEW → RESOLVED
Closed: Last year
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.