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

Unified Diff: content/test/test_render_frame_host.cc

Issue 2735183003: PlzNavigate: stop navigations when opening a document for write (Closed)
Patch Set: Rebase + fixed compilation error Created 3 years, 9 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/test/test_render_frame_host.cc
diff --git a/content/test/test_render_frame_host.cc b/content/test/test_render_frame_host.cc
index ee77d73a26dcdc05d4b5a54482f10d1c480c3045..5159d4b503509b4d5fd8661f9d520fffbbbb7194 100644
--- a/content/test/test_render_frame_host.cc
+++ b/content/test/test_render_frame_host.cc
@@ -235,7 +235,7 @@ void TestRenderFrameHost::SimulateNavigationStop() {
} else if (IsBrowserSideNavigationEnabled()) {
// Even if the RenderFrameHost is not loading, there may still be an
// ongoing navigation in the FrameTreeNode. Cancel this one as well.
- frame_tree_node()->ResetNavigationRequest(false);
+ frame_tree_node()->ResetNavigationRequest(false, true);
}
}

Powered by Google App Engine
This is Rietveld 408576698