[Webkit-unassigned] [Bug 202321] [GTK] Web Inspector: page error with shared-mime-info 1.14

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Oct 22 06:20:44 PDT 2019


https://bugs.webkit.org/show_bug.cgi?id=202321

--- Comment #28 from Carlos Garcia Campos <cgarcia at igalia.com> ---
(In reply to Michael Catanzaro from comment #25)
> (In reply to Carlos Garcia Campos from comment #24)
> > And it's now fixed, right?
> 
> Yes, closing.
> 
> > So, I don't think WebKit i using shared-mimo-info directly, it's libsoup
> > using G_FILE_ATTRIBUTE_STANDARD_CONTENT_TYPE, which ends up suing
> > g_content_type_guess(), for local files.
> 
> But it's an opt-in feature that WebKit explicitly enables when creating its
> SoupSession in SoupNetworkSession.cpp and NetworkDataTaskSoup.cpp, so WebKit
> is requesting this behavior.

As I explained before, the soup sniffer is not used for local files, where G_FILE_ATTRIBUTE_STANDARD_CONTENT_TYPE is used unconditionally.

> (In reply to Michael Catanzaro from comment #16)
> > It would require removing the SoupContentSniffer feature. Note that feature
> > might be added by default now (check the SoupSession documentation), so just
> > removing it from the SoupSession initialization isn't enough because that is
> > probably redundant. It should be explicitly removed.
> 
> Sorry, this was incorrect. The feature is not enabled by default.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20191022/6ccfdf06/attachment-0001.html>


More information about the webkit-unassigned mailing list