[wpt-sync] Sync PR 36243 - Blob fetch with no type has an empty content type
Categories
(Core :: DOM: Networking, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox108 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 36243 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/36243
Details from upstream follow.
Dan Robertson <drobertson@mozilla.com> wrote:
Blob fetch with no type has an empty content type
When fetching a blob with and empty type, the content-type header should be the empty string.
Related to: https://github.com/whatwg/fetch/issues/1436
Assignee | ||
Updated•3 years ago
|
Assignee | ||
Updated•3 years ago
|
Assignee | ||
Updated•3 years ago
|
Assignee | ||
Comment 1•3 years ago
|
||
Assignee | ||
Comment 2•3 years ago
|
||
CI Results
Ran 10 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 2 tests and 17 subtests
Status Summary
Firefox
OK
: 2
PASS
: 18
FAIL
: 16
Chrome
OK
: 2
PASS
: 20
FAIL
: 14
Safari
OK
: 2
PASS
: 30
FAIL
: 4
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
Firefox-only Failures
- /fetch/api/basic/scheme-blob.sub.any.worker.html [wpt.fyi]
- Fetching URL.createObjectURL(empty_data_blob) is OK:
FAIL
- Fetching URL.createObjectURL(empty_data_blob) is OK:
- /fetch/api/basic/scheme-blob.sub.any.html [wpt.fyi]
- Fetching URL.createObjectURL(empty_data_blob) is OK:
FAIL
- Fetching URL.createObjectURL(empty_data_blob) is OK:
New Tests That Don't Pass
- /fetch/api/basic/scheme-blob.sub.any.worker.html [wpt.fyi]
- Fetching URL.createObjectURL(empty_blob) is OK:
FAIL
(Chrome:FAIL
, Safari:PASS
) - Fetching URL.createObjectURL(empty_type_blob) is OK:
FAIL
(Chrome:FAIL
, Safari:PASS
) - Fetching URL.createObjectURL(empty_data_blob) is OK:
FAIL
(Chrome:PASS
, Safari:PASS
) - Blob content is not sniffed for a content type [image/png]:
FAIL
(Chrome:FAIL
, Safari:PASS
) - Blob content is not sniffed for a content type [text/xml]:
FAIL
(Chrome:FAIL
, Safari:PASS
) - Set content type to the empty string for slice with invalid content type:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - Set content type to the empty string for slice with no content type :
FAIL
(Chrome:FAIL
, Safari:FAIL
) - Blob.slice should not sniff the content for a content type:
FAIL
(Chrome:FAIL
, Safari:PASS
)
- Fetching URL.createObjectURL(empty_blob) is OK:
- /fetch/api/basic/scheme-blob.sub.any.html [wpt.fyi]
- Fetching URL.createObjectURL(empty_blob) is OK:
FAIL
(Chrome:FAIL
, Safari:PASS
) - Fetching URL.createObjectURL(empty_type_blob) is OK:
FAIL
(Chrome:FAIL
, Safari:PASS
) - Fetching URL.createObjectURL(empty_data_blob) is OK:
FAIL
(Chrome:PASS
, Safari:PASS
) - Blob content is not sniffed for a content type [image/png]:
FAIL
(Chrome:FAIL
, Safari:PASS
) - Blob content is not sniffed for a content type [text/xml]:
FAIL
(Chrome:FAIL
, Safari:PASS
) - Set content type to the empty string for slice with invalid content type:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - Set content type to the empty string for slice with no content type :
FAIL
(Chrome:FAIL
, Safari:FAIL
) - Blob.slice should not sniff the content for a content type:
FAIL
(Chrome:FAIL
, Safari:PASS
)
- Fetching URL.createObjectURL(empty_blob) is OK:
Comment 4•3 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/8afa45262754
https://hg.mozilla.org/mozilla-central/rev/97933af7e828
Description
•