Bug 110166

Summary: Unregistered blob URLs have incorrect MIME type
Product: WebKit Reporter: Alexey Proskuryakov <ap>
Component: Page LoadingAssignee: Alexey Proskuryakov <ap>
Status: RESOLVED FIXED    
Severity: Normal CC: andersca, beidson
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
proposed fix sam: review+

Description Alexey Proskuryakov 2013-02-18 16:52:22 PST
BlobResourceHandle::notifyResponseOnError() creates a response with an empty MIME type. In Safari, this triggers a download.
Comment 1 Alexey Proskuryakov 2013-02-18 16:54:13 PST
Created attachment 188962 [details]
proposed fix
Comment 2 Sam Weinig 2013-02-19 10:03:48 PST
Comment on attachment 188962 [details]
proposed fix

View in context: https://bugs.webkit.org/attachment.cgi?id=188962&action=review

> Source/WebCore/ChangeLog:13
> +        * platform/network/BlobResourceHandle.cpp: (WebCore::BlobResourceHandle::notifyResponseOnError):
> +        Pass an accurate MIME type.

Please explain why this is better.
Comment 3 Alexey Proskuryakov 2013-02-19 10:07:38 PST
Committed <http://trac.webkit.org/changeset/143349>.