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

Unified Diff: content/browser/site_per_process_browsertest.cc

Issue 2396493002: Improve the TestNavigationManager (Closed)
Patch Set: Improve the TestNavigationManager Created 4 years, 2 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 | « no previous file | content/public/test/browser_test_utils.h » ('j') | content/public/test/browser_test_utils.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/site_per_process_browsertest.cc
diff --git a/content/browser/site_per_process_browsertest.cc b/content/browser/site_per_process_browsertest.cc
index 0f1c057eacff88c93113bd9f51295b7c4974f36c..a449f29e496ffa2ea26e43988f06bec7b9c96daf 100644
--- a/content/browser/site_per_process_browsertest.cc
+++ b/content/browser/site_per_process_browsertest.cc
@@ -8251,7 +8251,7 @@ IN_PROC_BROWSER_TEST_F(SitePerProcessBrowserTest,
cross_site_url_1);
shell()->web_contents()->GetController().LoadURL(
cross_site_url_1, Referrer(), ui::PAGE_TRANSITION_LINK, std::string());
- EXPECT_TRUE(cross_site_manager.WaitForWillProcessResponse());
+ EXPECT_TRUE(cross_site_manager.WaitForResponse());
// Start a renderer-initiated navigation to a cross-process url and make sure
// the navigation will be blocked before being transferred.
@@ -8261,7 +8261,7 @@ IN_PROC_BROWSER_TEST_F(SitePerProcessBrowserTest,
cross_site_url_2);
EXPECT_TRUE(ExecuteScript(
root, "location.href = '" + cross_site_url_2.spec() + "';"));
- EXPECT_TRUE(transfer_manager.WaitForWillProcessResponse());
+ EXPECT_TRUE(transfer_manager.WaitForResponse());
// Now have the cross-process navigation commit and mark the current RFH as
// pending deletion.
« no previous file with comments | « no previous file | content/public/test/browser_test_utils.h » ('j') | content/public/test/browser_test_utils.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698