Chromium Code Reviews| Index: content/browser/web_contents/navigation_controller_impl_unittest.cc |
| diff --git a/content/browser/web_contents/navigation_controller_impl_unittest.cc b/content/browser/web_contents/navigation_controller_impl_unittest.cc |
| index b0b09a544e0d0def241b14566f98b45cf20755cb..c3d32614a508f36ec6ca6e03981a5fae8cc3667f 100644 |
| --- a/content/browser/web_contents/navigation_controller_impl_unittest.cc |
| +++ b/content/browser/web_contents/navigation_controller_impl_unittest.cc |
| @@ -518,16 +518,10 @@ TEST_F(NavigationControllerTest, LoadURL_RedirectAbortCancelsPending) { |
| // Now the navigation redirects. |
| const GURL kRedirectURL("http://bee"); |
| - test_rvh()->OnMessageReceived( |
| - ViewHostMsg_DidRedirectProvisionalLoad(0, // routing_id |
| - -1, // pending page_id |
| - GURL(), // opener |
| - kNewURL, // old url |
| - kRedirectURL)); // new url |
|
Charlie Reis
2012/05/30 22:43:31
I don't understand. Doesn't this just remove the
mmenke
2012/05/30 22:50:43
After this CL, the NavigationController will no lo
Charlie Reis
2012/05/31 16:56:27
Ok, I experimentally verified that this updated te
|
| // We don't want to change the NavigationEntry's url, in case it cancels. |
| // Prevents regression of http://crbug.com/77786. |
| - EXPECT_EQ(kNewURL, controller.GetPendingEntry()->GetURL()); |
| + //EXPECT_EQ(kNewURL, controller.GetPendingEntry()->GetURL()); |
|
Charlie Reis
2012/05/30 22:43:31
Shouldn't have commented out code. But again, thi
Charlie Reis
2012/05/31 16:56:27
This is unfortunate. I'd like to keep this line i
Deprecated (see juliatuttle)
2012/05/31 18:16:24
Done.
|
| // It may abort before committing, if it's a download or due to a stop or |
| // a new navigation from the user. |