Bug 78605

Summary: Separate mimetype and file extension mapping API from WebKit/blackberry/Api/WebKitTextCodec and complete it.
Product: WebKit Reporter: Lyon Chen <liachen>
Component: New BugsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Minor CC: rwlbuis, staikos, webkit.review.bot, yong.li.webkit
Priority: P1    
Version: 528+ (Nightly build)   
Hardware: Other   
OS: Other   
Attachments:
Description Flags
Patch for 78605.
rwlbuis: review-
Patch for 78605 with updated ChangeLog none

Description Lyon Chen 2012-02-14 07:52:44 PST
Right now there is an getExtensionForMimeType() in WebKitTextCodec, it should be in its own files and another matching function, getMimeTypeFromExtension() is needed.
Comment 1 Lyon Chen 2012-02-14 11:41:57 PST
Created attachment 127007 [details]
Patch for 78605.
Comment 2 Rob Buis 2012-02-14 12:00:05 PST
Comment on attachment 127007 [details]
Patch for 78605.

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

ChangeLog still needs some fixing

> Source/WebKit/ChangeLog:4
> +        Now the MIME type and file extension mapping API are in WebKitMIMETypeConverter.

The explanation should go below the Reviewed By line.

> Source/WebKit/ChangeLog:17
> +        * blackberry/CMakeListsBlackBerry.txt:

The ChangeLog does not include all changes below.
Comment 3 Lyon Chen 2012-02-14 12:22:44 PST
Created attachment 127015 [details]
Patch for 78605 with updated ChangeLog
Comment 4 Rob Buis 2012-02-14 12:28:10 PST
Comment on attachment 127015 [details]
Patch for 78605 with updated ChangeLog

Looks good.
Comment 5 WebKit Review Bot 2012-02-14 13:17:18 PST
Comment on attachment 127015 [details]
Patch for 78605 with updated ChangeLog

Clearing flags on attachment: 127015

Committed r107730: <http://trac.webkit.org/changeset/107730>
Comment 6 WebKit Review Bot 2012-02-14 13:17:35 PST
All reviewed patches have been landed.  Closing bug.