Bug 112819

Summary: Add webp to supported image mime types if WEBP feature is enabled/used
Product: WebKit Reporter: Jeff Rogers <jrogers>
Component: WebCore Misc.Assignee: Jeff Rogers <jrogers>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch none

Jeff Rogers
Reported 2013-03-20 09:17:04 PDT
Currently enabling WebP image support will not allow ImageDocument to display .webp images as Image.supportsType will return false. Add "image/webp" in MIMETypeRegistry::initializeSupportedImageMIMETypes if USE(WEBP).
Attachments
Patch (1.52 KB, patch)
2013-03-20 09:28 PDT, Jeff Rogers
no flags
Jeff Rogers
Comment 1 2013-03-20 09:28:58 PDT
Darin Adler
Comment 2 2013-04-09 09:26:59 PDT
Comment on attachment 194078 [details] Patch OK
Darin Adler
Comment 3 2013-04-09 09:27:27 PDT
Comment on attachment 194078 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=194078&action=review > Source/WebCore/ChangeLog:10 > + No new tests: WebP image decoding already covered by exisiting tests. I don’t understand this logic. Obviously adding the supported MIME type has some effect on behavior, so there must be something testable.
WebKit Commit Bot
Comment 4 2013-04-09 09:51:05 PDT
Comment on attachment 194078 [details] Patch Clearing flags on attachment: 194078 Committed r148028: <http://trac.webkit.org/changeset/148028>
WebKit Commit Bot
Comment 5 2013-04-09 09:51:06 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.