Bug 110166 - Unregistered blob URLs have incorrect MIME type
Summary: Unregistered blob URLs have incorrect MIME type
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Page Loading (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Alexey Proskuryakov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-02-18 16:52 PST by Alexey Proskuryakov
Modified: 2013-02-19 10:07 PST (History)
2 users (show)

See Also:


Attachments
proposed fix (2.02 KB, patch)
2013-02-18 16:54 PST, Alexey Proskuryakov
sam: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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>.