Bug 185867

Summary: [GTK] WebDriver: Network process crash when running imported/w3c/webdriver/tests/delete_cookie/delete.py::test_unknown_cookie
Product: WebKit Reporter: Carlos Garcia Campos <cgarcia>
Component: WebKitGTKAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: bburg, berto, bugs-noreply, ews-watchlist, gustavo, mcatanzaro
Priority: P2 Keywords: Gtk
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=185866
Attachments:
Description Flags
Patch mcatanzaro: review+

Description Carlos Garcia Campos 2018-05-22 06:25:37 PDT
webkitpy.webdriver_tests.webdriver_w3c_executor: [DEBUG] (WebKitWebDriver:21620): (process:21647): libsoup-CRITICAL **: 15:18:04.117: soup_cookie_jar_get_cookie_list: assertion 'uri != NULL' failed
webkitpy.webdriver_tests.webdriver_w3c_executor: [DEBUG] (WebKitWebDriver:21620): RemoteInspectorServer failed to send DBus message: The connection is closed

We need to null check the value returned by URL::createSoupURI() before passing it to soup.
Comment 1 Carlos Garcia Campos 2018-05-22 06:28:00 PDT
Created attachment 340979 [details]
Patch
Comment 2 Carlos Garcia Campos 2018-05-22 08:10:09 PDT
Committed r232066: <https://trac.webkit.org/changeset/232066>