[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 01:56:21 PDT 2019


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

--- Comment #15 from Bastien Nocera <bugzilla at hadess.net> ---
(In reply to Carlos Alberto Lopez Perez from comment #13)
> (In reply to Carlos Garcia Campos from comment #12)
> > So, is this a bug in wk or shared-mime-info?
> 
> Good question. I don't know :\
> 
> To claim is a bug in shared mime info I need a way to reproduce the issue
> with shared-mime-info (and to file a bug there in case it is a issue with
> it). I tried with "xdg-mime query" but it doesn't reproduce the issue.

xdg-mime is a pile of shell scripting garbage. And it probably just shows the mime-type guessed from the suffix.

> Maybe with a small C/C++ program that simulates what WebKit does? But I
> don't know where is exactly the WebKit code for this to see what it does and
> how.

There's a test suite in shared-mime-info, details of which are explained in the HACKING file.

I'll repeat it once more though, WebKitGTK seriously needs to stop using shared-mime-info to detect whether files are one type or the other. Or somebody needs to take all the internal html pages and add them to the shared-mime-info test suite so it doesn't regress.

-- 
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/4c8eb169/attachment.html>


More information about the webkit-unassigned mailing list