[GTK] Crash when browsing inspector:// uri without port set
authorphiln@webkit.org <philn@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 23 Jan 2019 16:48:04 +0000 (16:48 +0000)
committerphiln@webkit.org <philn@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 23 Jan 2019 16:48:04 +0000 (16:48 +0000)
commit49463ed59071d6ea63fe8b8d34c8c50e7f32a4b4
treeea20170ea83f683c37fa3db837bb85be476169f3
parent0df29d4b5b416fcdc793697d3169c691254bc461
[GTK] Crash when browsing inspector:// uri without port set
https://bugs.webkit.org/show_bug.cgi?id=193721

Reviewed by Michael Catanzaro.

* UIProcess/API/gtk/WebKitRemoteInspectorProtocolHandler.cpp:
(WebKit::RemoteInspectorProtocolHandler::handleRequest): Return
back to caller after setting the error, if no port was provided
along with the inspector URL.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@240338 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebKit/ChangeLog
Source/WebKit/UIProcess/API/gtk/WebKitRemoteInspectorProtocolHandler.cpp