Index: content/browser/frame_host/navigator_impl_unittest.cc |
diff --git a/content/browser/frame_host/navigator_impl_unittest.cc b/content/browser/frame_host/navigator_impl_unittest.cc |
index 03112e00020870d5980255ab35b3aff59a7c87a3..760e1ad1796ffc60e1f84ec37125d4c5fa1a327a 100644 |
--- a/content/browser/frame_host/navigator_impl_unittest.cc |
+++ b/content/browser/frame_host/navigator_impl_unittest.cc |
@@ -422,6 +422,7 @@ TEST_F(NavigatorTestWithBrowserSideNavigation, CrossSiteNavigation) { |
// Receive the beforeUnload ACK. |
main_test_rfh()->SendBeforeUnloadACK(true); |
EXPECT_TRUE(GetSpeculativeRenderFrameHost(node)); |
+ EXPECT_FALSE(contents()->cross_navigation_pending()); |
scoped_refptr<ResourceResponse> response(new ResourceResponse); |
GetLoaderForNavigationRequest(main_request)->CallOnResponseStarted( |
@@ -430,6 +431,7 @@ TEST_F(NavigatorTestWithBrowserSideNavigation, CrossSiteNavigation) { |
ASSERT_TRUE(speculative_rfh); |
EXPECT_TRUE(DidRenderFrameHostRequestCommit(speculative_rfh)); |
EXPECT_FALSE(DidRenderFrameHostRequestCommit(main_test_rfh())); |
+ EXPECT_TRUE(contents()->cross_navigation_pending()); |
speculative_rfh->SendNavigate(0, kUrl2); |