[webkit-gtk] How to view file saved by webkit_web_view_save_to_file

Sergio Villar Senin svillar at igalia.com
Fri Jan 24 10:49:56 PST 2014


En 24/01/14 11:33, Mario Sanchez Prada escribiu:
> Hi,
> 
> WebCore used to recognize (and allow rendering) MHTML elements as files with
> mimetype message/rfc822, but that changed in May with the patch for bug
> 116442[2], which replaced the expected mimetype with
> application/x-mimearchive.
> 
> However, you need to have a version of shared-mime-info that it's recent
> enough to contain the change that matches MHTML files with this
> application/x-mimearchive mimetype (see [3]), which is the 1.1 release I
> believe.
> 
> So, I would check the version of shared-mime-info. It should work fine if
> it's recent enough.

Interestingly I did the same research last week when I was checking why
all the mhtml/ tests were failing in two of the gtk bots. I suspected
that it was because of the shared-mime-info version, so I updated the
bots to the same version (debian 1.0-1+b1) used in the bots that run the
tests fine. That didn't work.

Same thing is happening for me locally, one of my machines run all the
tests fine with WK2 but fail all of them when using WK1, so there should
be something wrong related to that.

Opened https://bugs.webkit.org/show_bug.cgi?id=127568 to track the issue

BR



More information about the webkit-gtk mailing list