Changeset 61110 in webkit
- Timestamp:
- Jun 13, 2010 11:32:02 PM (14 years ago)
- Location:
- trunk
- Files:
-
- 3 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r61103 r61110 1 2010-06-13 Charles Wei <charles.wei@torchmobile.com.cn> 2 3 Reviewed by George Staikos. 4 5 Test case to verify that MIME type in uppercase (TEXT/HTML) is supported. 6 https://bugs.webkit.org/show_bug.cgi?id=39492 7 8 * http/tests/mime/resources/uppercase-mime-type.php: Added. 9 * http/tests/mime/uppercase-mime-type-expected.txt: Added. 10 * http/tests/mime/uppercase-mime-type.html: Added. 11 1 12 2010-06-13 Chris Fleizach <cfleizach@apple.com> 2 13 -
trunk/WebKit/qt/ChangeLog
r61090 r61110 1 2010-06-13 Charles Wei <charles.wei@torchmobile.com.cn> 2 3 Reviewed by George Staikos. 4 5 Fix the QtWebKit which doesn't recognize the MIME type of HTML/TEXT in uppercase 6 https://bugs.webkit.org/show_bug.cgi?id=39492 7 8 * WebCoreSupport/FrameLoaderClientQt.cpp: 9 (WebCore::FrameLoaderClientQt::canShowMIMEType): 10 1 11 2010-06-08 Robert Hogan <robert@webkit.org> 2 12 -
trunk/WebKit/qt/WebCoreSupport/FrameLoaderClientQt.cpp
r60566 r61110 543 543 bool FrameLoaderClientQt::canShowMIMEType(const String& MIMEType) const 544 544 { 545 if (MIMETypeRegistry::isSupportedImageMIMEType(MIMEType)) 545 String type = MIMEType; 546 type.makeLower(); 547 if (MIMETypeRegistry::isSupportedImageMIMEType(type)) 546 548 return true; 547 549 548 if (MIMETypeRegistry::isSupportedNonImageMIMEType( MIMEType))550 if (MIMETypeRegistry::isSupportedNonImageMIMEType(type)) 549 551 return true; 550 552 551 553 if (m_frame && m_frame->settings() && m_frame->settings()->arePluginsEnabled() 552 && PluginDatabase::installedPlugins()->isMIMETypeRegistered( MIMEType))554 && PluginDatabase::installedPlugins()->isMIMETypeRegistered(type)) 553 555 return true; 554 556
Note: See TracChangeset
for help on using the changeset viewer.