Right now there is an getExtensionForMimeType() in WebKitTextCodec, it should be in its own files and another matching function, getMimeTypeFromExtension() is needed.
Created attachment 127007 [details] Patch for 78605.
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.
Created attachment 127015 [details] Patch for 78605 with updated ChangeLog
Comment on attachment 127015 [details] Patch for 78605 with updated ChangeLog Looks good.
Comment on attachment 127015 [details] Patch for 78605 with updated ChangeLog Clearing flags on attachment: 127015 Committed r107730: <http://trac.webkit.org/changeset/107730>
All reviewed patches have been landed. Closing bug.