Bug 116536

Summary: [GTK] MiniBrowser hangs when opening 'file:///' urls of content other than HTML
Product: WebKit Reporter: Eduardo Lima Mitev <elima>
Component: WebKit2Assignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: agomez
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   

Description Eduardo Lima Mitev 2013-05-21 07:17:16 PDT
Opening local content of (at least) types txt, css and json makes MiniBrowser hang.

1) $ touch /tmp/foo.txt
2) $ WebKitBuild/Release/Programs/MiniBrowser file:///tmp/foo.txt

The expected result would (ideally) be showing the contents as raw txt file. Unsupported MIME-types can be checked with `webkit_web_view_can_show_mime_type()` <http://webkitgtk.org/reference/webkit2gtk/stable/WebKitWebView.html#webkit-web-view-can-show-mime-type>.

A quicker solution would be to avoid the hang and show a simple error message praying "unsupported MIME-type" or something alike. I can work on this approach initially, and then file a new bug to provide a default handler for unsupported types, which should require more work.
Comment 1 Andres Gomez Garcia 2013-06-18 17:30:04 PDT
I think this is already solved with bug 117533.
Comment 2 Eduardo Lima Mitev 2013-06-25 11:12:49 PDT
(In reply to comment #1)
> I think this is already solved with bug 117533.

Yes, indeed it has been fixed. Thanks a lot!

Closing.