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

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

Issue 2720543002: Fix headless_browsertests failures with PlzNavigate. (Closed)
Patch Set: review comments 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
« no previous file with comments | « content/browser/frame_host/render_frame_host_impl.h ('k') | headless/lib/embedder_mojo_browsertest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..7efae8b700b760dd82a10fe1cf361424e2be5192 100644
--- a/content/browser/frame_host/render_frame_host_impl.cc
+++ b/content/browser/frame_host/render_frame_host_impl.cc
@@ -2700,6 +2700,7 @@ void RenderFrameHostImpl::CommitNavigation(
void RenderFrameHostImpl::FailedNavigation(
const CommonNavigationParams& common_params,
+ const BeginNavigationParams& begin_params,
const RequestNavigationParams& request_params,
bool has_stale_copy_in_cache,
int error_code) {
@@ -2714,6 +2715,9 @@ void RenderFrameHostImpl::FailedNavigation(
Send(new FrameMsg_FailedNavigation(routing_id_, common_params, request_params,
has_stale_copy_in_cache, error_code));
+ RenderFrameDevToolsAgentHost::OnFailedNavigation(
+ this, common_params, begin_params, 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);
« no previous file with comments | « content/browser/frame_host/render_frame_host_impl.h ('k') | headless/lib/embedder_mojo_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698