WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
116442
[GTK] Support application/x-mimearchive mimetype for MHTML archives instead of message/rfc822
https://bugs.webkit.org/show_bug.cgi?id=116442
Summary
[GTK] Support application/x-mimearchive mimetype for MHTML archives instead o...
Zan Dobersek
Reported
2013-05-20 09:39:19 PDT
[GTK] Support application/x-mimearchive mimetype for MHTML archives instead of message/rfc822
Attachments
Patch
(1.62 KB, patch)
2013-05-20 09:44 PDT
,
Zan Dobersek
no flags
Details
Formatted Diff
Diff
Patch
(1.70 KB, patch)
2013-05-20 12:48 PDT
,
Zan Dobersek
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Zan Dobersek
Comment 1
2013-05-20 09:44:14 PDT
Created
attachment 202282
[details]
Patch
WebKit Commit Bot
Comment 2
2013-05-20 09:45:01 PDT
Attachment 202282
[details]
did not pass style-queue: Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'Source/WebCore/ChangeLog', u'Source/WebCore/loader/archive/ArchiveFactory.cpp']" exit_code: 1 Source/WebCore/loader/archive/ArchiveFactory.cpp:71: Do not add platform specific code in WebCore outside of platform. [build/webcore_platform_layering_violation] [5] Total errors found: 1 in 2 files If any of these errors are false positives, please file a bug against check-webkit-style.
Zan Dobersek
Comment 3
2013-05-20 11:43:32 PDT
(In reply to
comment #2
)
>
Attachment 202282
[details]
did not pass style-queue: > > Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'Source/WebCore/ChangeLog', u'Source/WebCore/loader/archive/ArchiveFactory.cpp']" exit_code: 1 > Source/WebCore/loader/archive/ArchiveFactory.cpp:71: Do not add platform specific code in WebCore outside of platform. [build/webcore_platform_layering_violation] [5] > Total errors found: 1 in 2 files
I've kept the current approach, but filed
bug #116453
to cover the layering violation.
Martin Robinson
Comment 4
2013-05-20 12:04:52 PDT
Comment on
attachment 202282
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=202282&action=review
>> Source/WebCore/loader/archive/ArchiveFactory.cpp:71 >> +#if PLATFORM(EFL) || PLATFORM(GTK) || PLATFORM(QT) > > Do not add platform specific code in WebCore outside of platform. [build/webcore_platform_layering_violation] [5]
Do you know what other platform enable MHTML other than EFL/GTK/Qt? Perhaps that platform should use the new mime-type as well.
Zan Dobersek
Comment 5
2013-05-20 12:34:34 PDT
Comment on
attachment 202282
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=202282&action=review
>>> Source/WebCore/loader/archive/ArchiveFactory.cpp:71 >>> +#if PLATFORM(EFL) || PLATFORM(GTK) || PLATFORM(QT) >> >> Do not add platform specific code in WebCore outside of platform. [build/webcore_platform_layering_violation] [5] > > Do you know what other platform enable MHTML other than EFL/GTK/Qt? Perhaps that platform should use the new mime-type as well.
The build systems of the in-tree ports and the FeatureList.pm module show that only these three ports enable MHTML.
Martin Robinson
Comment 6
2013-05-20 12:36:11 PDT
(In reply to
comment #5
)
> The build systems of the in-tree ports and the FeatureList.pm module show that only these three ports enable MHTML.
So perhaps this can just be simplified to #if ENABLE(MATHML) then?
Zan Dobersek
Comment 7
2013-05-20 12:38:56 PDT
Ah, of course. Wasn't looking at it that way.
Zan Dobersek
Comment 8
2013-05-20 12:48:22 PDT
Created
attachment 202307
[details]
Patch
Zan Dobersek
Comment 9
2013-05-20 23:03:23 PDT
The relevant shared-mime-info patch:
http://cgit.freedesktop.org/xdg/shared-mime-info/commit/?id=5dc7a385dfde27baabbe7384e69605c48adbf1e4
Zan Dobersek
Comment 10
2013-05-20 23:07:50 PDT
Comment on
attachment 202307
[details]
Patch Clearing flags on attachment: 202307 Committed
r150418
: <
http://trac.webkit.org/changeset/150418
>
Zan Dobersek
Comment 11
2013-05-20 23:07:56 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.
Top of Page
Format For Printing
XML
Clone This Bug