Bug 15755 - HTML5: WebKit should accept all image/* MIME types and use content sniffing to determine the actual type
Summary: HTML5: WebKit should accept all image/* MIME types and use content sniffing t...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Images (show other bugs)
Version: 523.x (Safari 3)
Hardware: Mac OS X 10.4
: P2 Enhancement
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-29 13:36 PDT by David Kilzer (:ddkilzer)
Modified: 2009-06-14 01:26 PDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Kilzer (:ddkilzer) 2007-10-29 13:36:09 PDT
Per Hixie's comment in Bug 15640 Comment #9:

> I don't have any data, but, HTML5 suggests treating all image/* types as
> equivalent and using magic bytes to distinguish them.

I'm not sure if the machinery (CFNetwork, etc.) on OS X currently does this, or whether it uses the MIME type returned from the server combined with file extensions to determine the actual image type.