Re: [whatwg/fetch] blob: fetch of slice() without valid content type yields unexpected results (Issue #1464)

https://github.com/whatwg/fetch/issues/1436 had a large amount of overlap with this issue, and the associated wpt tests PR https://github.com/web-platform-tests/wpt/pull/36243 contains tests for this [here](https://github.com/web-platform-tests/wpt/blob/master/fetch/api/basic/scheme-blob.sub.any.js#L78-L118).

| Test                                                                                                             | Safari | Chrome | Firefox |
|----------------------------------------------------------------------|-------|---------|--------|
|Set content type to the empty string for slice with invalid content type | :x: | :x: | :x: |
|Set content type to the empty string for slice with no content type        | :x: | :x: | :x: |
|Blob.slice should not sniff the content for a content type                        | :white_check_mark: | :x: | :x: |

Is is a WebKit issue for this? If so, I think we can close this unless we need separate issues from those posted in https://github.com/whatwg/fetch/issues/1436 for Chrome and Firefox (I plan to do the work for this in https://bugzilla.mozilla.org/show_bug.cgi?id=1771423)?

-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/fetch/issues/1464#issuecomment-1276312053
You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/fetch/issues/1464/1276312053@github.com>

Received on Wednesday, 12 October 2022 14:53:20 UTC