Closed Bug 1685686 Opened 5 years ago Closed 5 years ago

[wpt-sync] Sync PR 27100 - Fetch: test Body mixin's MIME type

Categories

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

task

Tracking

()

RESOLVED FIXED
86 Branch
Tracking Status
firefox86 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Attachments

(2 files)

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

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

b'Anne van Kesteren <annevk@annevk.nl>' wrote:

Fetch: test Body mixin's MIME type

When you can modify the headers of a Request or Response, it does not make a whole lot of sense to only look at the headers when the object was created for the purposes of the MIME type. We should consider changing this.

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

CI Results

Ran 14 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 9 tests and 4 subtests

Status Summary

Firefox

OK : 9
PASS : 70
FAIL : 31

Chrome

OK : 9
PASS : 86
FAIL : 15

Safari

OK : 8
PASS : 67
FAIL : 30
ERROR: 1

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

/fetch/api/body/mime-type.any.html
Request: overriding explicit Content-Type: FAIL (Chrome: FAIL, Safari: FAIL)
Response: overriding explicit Content-Type: FAIL (Chrome: FAIL, Safari: FAIL)
Request: removing implicit Content-Type: FAIL (Chrome: FAIL, Safari: FAIL)
Response: removing implicit Content-Type: FAIL (Chrome: FAIL, Safari: FAIL)
Request: setting missing Content-Type: FAIL (Chrome: FAIL, Safari: FAIL)
Response: setting missing Content-Type: FAIL (Chrome: FAIL, Safari: FAIL)
/service-workers/cache-storage/serviceworker/cache-match.https.html
MIME type should reflect Content-Type headers of response.: FAIL (Chrome: FAIL, Safari: FAIL)
/fetch/api/body/mime-type.any.worker.html
Request: overriding explicit Content-Type: FAIL (Chrome: FAIL, Safari: FAIL)
Response: overriding explicit Content-Type: FAIL (Chrome: FAIL, Safari: FAIL)
Request: removing implicit Content-Type: FAIL (Chrome: FAIL, Safari: FAIL)
Response: removing implicit Content-Type: FAIL (Chrome: FAIL, Safari: FAIL)
Request: setting missing Content-Type: FAIL (Chrome: FAIL, Safari: FAIL)
Response: setting missing Content-Type: FAIL (Chrome: FAIL, Safari: FAIL)
/service-workers/cache-storage/window/cache-match.https.html
MIME type should reflect Content-Type headers of response.: FAIL (Chrome: FAIL, Safari: FAIL)
/service-workers/cache-storage/worker/cache-match.https.html
MIME type should reflect Content-Type headers of response.: FAIL (Chrome: FAIL, Safari: FAIL)
/wasm/webapi/modified-contenttype.any.serviceworker.html
compileStreaming with Content-Type set late: FAIL (Chrome: PASS, Safari: FAIL)
compileStreaming with Content-Type removed late: FAIL (Chrome: PASS, Safari: FAIL)
instantiateStreaming with Content-Type set late: FAIL (Chrome: PASS, Safari: FAIL)
instantiateStreaming with Content-Type removed late: FAIL (Chrome: PASS, Safari: FAIL)
/wasm/webapi/modified-contenttype.any.sharedworker.html
compileStreaming with Content-Type set late: FAIL (Chrome: PASS)
compileStreaming with Content-Type removed late: FAIL (Chrome: PASS)
instantiateStreaming with Content-Type set late: FAIL (Chrome: PASS)
instantiateStreaming with Content-Type removed late: FAIL (Chrome: PASS)
/wasm/webapi/modified-contenttype.any.worker.html
compileStreaming with Content-Type set late: FAIL (Chrome: PASS, Safari: FAIL)
compileStreaming with Content-Type removed late: FAIL (Chrome: PASS, Safari: FAIL)
instantiateStreaming with Content-Type set late: FAIL (Chrome: PASS, Safari: FAIL)
instantiateStreaming with Content-Type removed late: FAIL (Chrome: PASS, Safari: FAIL)
/wasm/webapi/modified-contenttype.any.html
compileStreaming with Content-Type set late: FAIL (Chrome: PASS, Safari: FAIL)
compileStreaming with Content-Type removed late: FAIL (Chrome: PASS, Safari: FAIL)
instantiateStreaming with Content-Type set late: FAIL (Chrome: PASS, Safari: FAIL)
instantiateStreaming with Content-Type removed late: FAIL (Chrome: PASS, Safari: FAIL)

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/a11d6acb2e36 [wpt PR 27100] - Fetch: test Body mixin's MIME type, a=testonly https://hg.mozilla.org/integration/autoland/rev/4e2f28481959 [wpt PR 27100] - Update wpt metadata, a=testonly

Automatic update from web-platform-tests
Fetch: test Body mixin's MIME type

Tests for https://github.com/whatwg/fetch/pull/1137.

wpt-commits: 680c091ae63ef3963c0cb8d19f8ec8070bc17bc0
wpt-pr: 27100

wpt-pr: 27100
wpt-type: metadata

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/29947c205ad0 [wpt PR 27100] - Fetch: test Body mixin's MIME type, a=testonly https://hg.mozilla.org/integration/autoland/rev/3feca8249e7b [wpt PR 27100] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → 86 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: