WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
116536
[GTK] MiniBrowser hangs when opening 'file:///' urls of content other than HTML
https://bugs.webkit.org/show_bug.cgi?id=116536
Summary
[GTK] MiniBrowser hangs when opening 'file:///' urls of content other than HTML
Eduardo Lima Mitev
Reported
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.
Attachments
Add attachment
proposed patch, testcase, etc.
Andres Gomez Garcia
Comment 1
2013-06-18 17:30:04 PDT
I think this is already solved with
bug 117533
.
Eduardo Lima Mitev
Comment 2
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.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug