Commit 2e5347cb authored by John Chen's avatar John Chen Committed by Commit Bot

[ChromeDriver] Add a missing error check in log replay

Change-Id: I563cea0cb482ac581814407500b0784361db089b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2067742
Auto-Submit: John Chen <johnchen@chromium.org>
Commit-Queue: Caleb Rouleau <crouleau@chromium.org>
Reviewed-by: default avatarCaleb Rouleau <crouleau@chromium.org>
Cr-Commit-Position: refs/heads/master@{#743404}
parent 12fea389
...@@ -708,6 +708,8 @@ Status LaunchReplayChrome(network::mojom::URLLoaderFactory* factory, ...@@ -708,6 +708,8 @@ Status LaunchReplayChrome(network::mojom::URLLoaderFactory* factory,
status = WaitForDevToolsAndCheckVersion(DevToolsEndpoint(0), factory, status = WaitForDevToolsAndCheckVersion(DevToolsEndpoint(0), factory,
socket_factory, &capabilities, 1, socket_factory, &capabilities, 1,
&devtools_http_client, &retry); &devtools_http_client, &retry);
if (status.IsError())
return status;
std::unique_ptr<DevToolsClient> devtools_websocket_client; std::unique_ptr<DevToolsClient> devtools_websocket_client;
status = CreateBrowserwideDevToolsClientAndConnect( status = CreateBrowserwideDevToolsClientAndConnect(
DevToolsEndpoint(0), capabilities.perf_logging_prefs, socket_factory, DevToolsEndpoint(0), capabilities.perf_logging_prefs, socket_factory,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment