Summary: | Fetching Blob URLs with XHR gives null content-type and content-length | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Nolan Lawson <nolan> | ||||||
Component: | WebCore Misc. | Assignee: | Nobody <webkit-unassigned> | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | Normal | CC: | ap, dahjelle.webkit.org, darin, dbates | ||||||
Priority: | P2 | Keywords: | InRadar | ||||||
Version: | 528+ (Nightly build) | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
URL: | http://bl.ocks.org/nolanlawson/0eac306e4dac2114c752 | ||||||||
Attachments: |
|
The test (attachment #239703 [details]) passes for me in Safari for Mac version 10.1 (12603.1.24).
Created attachment 312020 [details]
Layout test
Comment on attachment 312020 [details] Layout test Clearing flags on attachment: 312020 Committed r217901: <http://trac.webkit.org/changeset/217901> All reviewed patches have been landed. Closing bug. |
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).