[Webkit-unassigned] [Bug 117137] [GTK] Remote inspector server should send an error page if resources not found

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jul 4 03:21:11 PDT 2013


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





--- Comment #4 from Anton Obzhirov <a.obzhirov at samsung.com>  2013-07-04 03:23:10 PST ---
(From update of attachment 203568)
View in context: https://bugs.webkit.org/attachment.cgi?id=203568&action=review

>>> Source/WebKit2/UIProcess/InspectorServer/gtk/WebInspectorServerGtk.cpp:59
>>> +        if (error->code == G_IO_ERROR_NOT_FOUND) {
>> 
>> I wonder if I should send some basic error page for other errors - unknown error during retrieving inspector resources - or something like that.
> 
> I think that makes sense, yeah. On second thought, this is likely to hit technical people, so maybe just don't do the error->code check: show it and error->message as well, should make it easier for those people to debug it.

yep, makes sense. Something like "Error (Code: %d, Message: %s) occurred during fetching webinspector resource files. Make sure you ran make install or have set WEBKIT_INSPECTOR_SERVER_PATH in your environment to point to webinspector folder"?

>> Source/WebKit2/UIProcess/InspectorServer/gtk/WebInspectorServerGtk.cpp:63
>> +            builder.appendLiteral(", make sure that you have set WEBKIT_INSPECTOR_SERVER_PATH in your environment to point to webinspector folder.</body></html>");
> 
> How about "make sure you ran make install or have set WEBKIT_…"

ok

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the webkit-unassigned mailing list