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

Unified Diff: trunk/src/chrome/browser/policy/policy_browsertest.cc

Issue 23475011: Revert 220623 "Update chrome://newtab checks in browser tests to..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 years, 4 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: trunk/src/chrome/browser/policy/policy_browsertest.cc
===================================================================
--- trunk/src/chrome/browser/policy/policy_browsertest.cc (revision 220635)
+++ trunk/src/chrome/browser/policy/policy_browsertest.cc (working copy)
@@ -1619,7 +1619,7 @@
UpdateProviderPolicy(policies);
EXPECT_TRUE(chrome::ExecuteCommand(browser(), IDC_HOME));
content::WaitForLoadStop(contents);
- EXPECT_TRUE(chrome::IsNTPURL(contents->GetURL(),browser()->profile()));
+ EXPECT_EQ(GURL(chrome::kChromeUINewTabURL), contents->GetURL());
}
IN_PROC_BROWSER_TEST_F(PolicyTest, IncognitoEnabled) {

Powered by Google App Engine
This is Rietveld 408576698