Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(338)

Unified Diff: content/browser/frame_host/render_frame_host_impl.cc

Issue 2720543002: Fix headless_browsertests failures with PlzNavigate. (Closed)
Patch Set: without PlzNavigate Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/browser/frame_host/render_frame_host_impl.cc
diff --git a/content/browser/frame_host/render_frame_host_impl.cc b/content/browser/frame_host/render_frame_host_impl.cc
index 069f5b5d1fb9e89f780a74048084610515efd789..272f70a062765c466f13294bafee47eb61c4db74 100644
--- a/content/browser/frame_host/render_frame_host_impl.cc
+++ b/content/browser/frame_host/render_frame_host_impl.cc
@@ -2714,6 +2714,9 @@ void RenderFrameHostImpl::FailedNavigation(
Send(new FrameMsg_FailedNavigation(routing_id_, common_params, request_params,
has_stale_copy_in_cache, error_code));
+ RenderFrameDevToolsAgentHost::OnFailedNavigation(
+ this, static_cast<net::Error>(error_code));
+
// An error page is expected to commit, hence why is_loading_ is set to true.
is_loading_ = true;
frame_tree_node_->ResetNavigationRequest(true);

Powered by Google App Engine
This is Rietveld 408576698