RESOLVED FIXED 137647
Fetching Blob URLs with XHR gives null content-type and content-length
https://bugs.webkit.org/show_bug.cgi?id=137647
Summary Fetching Blob URLs with XHR gives null content-type and content-length
Nolan Lawson
Reported 2014-10-12 06:54:52 PDT
Created attachment 239703 [details] Test case in pure HTML 1. Create a Blob 2. Create an object URL for the blob 3. Fetch with XHR Expected: content-type and content-length should match the blob's type and size. Actual: Safari gives null for both. Details: I've provided a live test and also attached it. Notice that in Firefox and Chrome, the correct content-type and content-length are given, whereas in Safari it's given as null and null. Tested in Safari 7.1 (9537.85.10.17.1).
Attachments
Test case in pure HTML (2.82 KB, text/html)
2014-10-12 06:54 PDT, Nolan Lawson
no flags
Layout test (5.58 KB, patch)
2017-06-05 11:41 PDT, Daniel Bates
no flags
Alexey Proskuryakov
Comment 1 2014-10-13 23:08:33 PDT
Daniel Bates
Comment 2 2017-06-02 13:01:28 PDT
The test (attachment #239703 [details]) passes for me in Safari for Mac version 10.1 (12603.1.24).
Daniel Bates
Comment 3 2017-06-05 11:41:14 PDT
Created attachment 312020 [details] Layout test
Daniel Bates
Comment 4 2017-06-07 13:10:54 PDT
Comment on attachment 312020 [details] Layout test Clearing flags on attachment: 312020 Committed r217901: <http://trac.webkit.org/changeset/217901>
Daniel Bates
Comment 5 2017-06-07 13:10:56 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.