[wpt-sync] Sync PR 36594 - fetch: fix blob.slice tests content-length assert
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 36594 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/36594
Details from upstream follow.
Dan Robertson <drobertson@mozilla.com> wrote:
fetch: fix blob.slice tests content-length assert
The content-length checks in the fetch blob.slice tests are not valid. Add content to the input blob to ensure that blob.slice does not sniff the content-type and fix the content-length check.
See: https://github.com/web-platform-tests/wpt/pull/36243#pullrequestreview-1151195449
| 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.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.worker.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.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.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:
Comment 4•3 years ago
|
||
| bugherder | ||
Description
•