Title: [150418] trunk/Source/WebCore
- Revision
- 150418
- Author
- zandober...@gmail.com
- Date
- 2013-05-20 23:08:18 -0700 (Mon, 20 May 2013)
Log Message
[GTK] Support application/x-mimearchive mimetype for MHTML archives instead of message/rfc822
https://bugs.webkit.org/show_bug.cgi?id=116442
Reviewed by Martin Robinson.
* loader/archive/ArchiveFactory.cpp:
(WebCore::archiveMIMETypes): Like EFL and Qt, register the application/x-mimearchive mime type as a MHTML archive type
and stop propagating the message/rfc822 mime type as such. This also removes a couple of PLATFORM ifdefs.
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (150417 => 150418)
--- trunk/Source/WebCore/ChangeLog 2013-05-21 05:57:50 UTC (rev 150417)
+++ trunk/Source/WebCore/ChangeLog 2013-05-21 06:08:18 UTC (rev 150418)
@@ -1,3 +1,14 @@
+2013-05-20 Zan Dobersek <zdober...@igalia.com>
+
+ [GTK] Support application/x-mimearchive mimetype for MHTML archives instead of message/rfc822
+ https://bugs.webkit.org/show_bug.cgi?id=116442
+
+ Reviewed by Martin Robinson.
+
+ * loader/archive/ArchiveFactory.cpp:
+ (WebCore::archiveMIMETypes): Like EFL and Qt, register the application/x-mimearchive mime type as a MHTML archive type
+ and stop propagating the message/rfc822 mime type as such. This also removes a couple of PLATFORM ifdefs.
+
2013-05-20 Benjamin Poulain <bpoul...@apple.com>
Minor String fixes in CSS
Modified: trunk/Source/WebCore/loader/archive/ArchiveFactory.cpp (150417 => 150418)
--- trunk/Source/WebCore/loader/archive/ArchiveFactory.cpp 2013-05-21 05:57:50 UTC (rev 150417)
+++ trunk/Source/WebCore/loader/archive/ArchiveFactory.cpp 2013-05-21 06:08:18 UTC (rev 150418)
@@ -68,12 +68,8 @@
#endif
#if ENABLE(MHTML)
mimeTypes.set("multipart/related", archiveFactoryCreate<MHTMLArchive>);
-#if PLATFORM(GTK)
- mimeTypes.set("message/rfc822", archiveFactoryCreate<MHTMLArchive>);
-#elif PLATFORM(QT) || PLATFORM(EFL)
mimeTypes.set("application/x-mimearchive", archiveFactoryCreate<MHTMLArchive>);
#endif
-#endif
initialized = true;
return mimeTypes;
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes