Commit ea67191f authored by Dominic Battre's avatar Dominic Battre Committed by Commit Bot

Debug information for failing navigations

Unfortunately, the previous CL
(https://chromium-review.googlesource.com/1218902) lacked an important
negation.

TBR=sky@chromium.org

Bug: 882545
Change-Id: I730dbab7c05b0d67c11be67437b462ac51afd7b3
Reviewed-on: https://chromium-review.googlesource.com/1219750Reviewed-by: default avatarDominic Battré <battre@chromium.org>
Commit-Queue: Dominic Battré <battre@chromium.org>
Cr-Commit-Position: refs/heads/master@{#590325}
parent 2f3bfe69
...@@ -53,7 +53,7 @@ void NavigateToURLBlockUntilNavigationsComplete(Shell* window, ...@@ -53,7 +53,7 @@ void NavigateToURLBlockUntilNavigationsComplete(Shell* window,
same_tab_observer.Wait(); same_tab_observer.Wait();
// TODO(crbug.com/882545) Delete this if statement once the problem has been // TODO(crbug.com/882545) Delete this if statement once the problem has been
// identified. // identified.
if (same_tab_observer.last_navigation_succeeded()) { if (!same_tab_observer.last_navigation_succeeded()) {
DLOG(WARNING) << "Last navigation to " << url << " failed with net error " DLOG(WARNING) << "Last navigation to " << url << " failed with net error "
<< same_tab_observer.last_net_error_code(); << same_tab_observer.last_net_error_code();
} }
......
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