[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
Wed Oct 16 03:42:38 PDT 2019


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

--- Comment #18 from Bastien Nocera <bugzilla at hadess.net> ---
(In reply to Michael Catanzaro from comment #17)
> (In reply to Bastien Nocera from comment #15)
> > xdg-mime is a pile of shell scripting garbage. And it probably just shows
> > the mime-type guessed from the suffix.
> 
> Does it use shared-mime-info?
> 
> I see a different result than Carlos:
> 
> $ xdg-mime query filetype Main.html 
> application/xhtml+xml

It uses different "backends" depending on what's installed. It might use some KDE definitions.

> And I see it reported as XHTML in nautilus properties dialog, too.

Nautilus might or might not use data to figure this out. Or maybe just the glob.

Use the shared-mime-info test suite if you want to test things uninstalled, use g_content_type_guess() if you want to write your own test case.

-- 
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/20191016/52381cbf/attachment.html>


More information about the webkit-unassigned mailing list