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 f8069f526fb74391a0d02ab6efb8e9ed30a98633..4d28b1ba830ad428326f7c27e370fc6e135fb0bb 100644 |
--- a/content/browser/frame_host/navigator_impl_unittest.cc |
+++ b/content/browser/frame_host/navigator_impl_unittest.cc |
@@ -432,6 +432,7 @@ TEST_F(NavigatorTestWithBrowserSideNavigation, CrossSiteNavigation) { |
// Receive the beforeUnload ACK. |
main_test_rfh()->SendBeforeUnloadACK(true); |
EXPECT_TRUE(GetSpeculativeRenderFrameHost(node)); |
+ EXPECT_FALSE(contents()->CrossNavigationPending()); |
scoped_refptr<ResourceResponse> response(new ResourceResponse); |
GetLoaderForNavigationRequest(main_request)->CallOnResponseStarted( |
@@ -440,6 +441,7 @@ TEST_F(NavigatorTestWithBrowserSideNavigation, CrossSiteNavigation) { |
ASSERT_TRUE(speculative_rfh); |
EXPECT_TRUE(DidRenderFrameHostRequestCommit(speculative_rfh)); |
EXPECT_FALSE(DidRenderFrameHostRequestCommit(main_test_rfh())); |
+ EXPECT_TRUE(contents()->CrossNavigationPending()); |
speculative_rfh->SendNavigate(0, kUrl2); |