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

Unified Diff: trunk/src/chrome/browser/ui/search/local_ntp_browsertest.cc

Issue 135903002: Revert 244407 "InstantExtended: remove dead code related to the ..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 11 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/ui/search/local_ntp_browsertest.cc
===================================================================
--- trunk/src/chrome/browser/ui/search/local_ntp_browsertest.cc (revision 244428)
+++ trunk/src/chrome/browser/ui/search/local_ntp_browsertest.cc (working copy)
@@ -24,17 +24,15 @@
virtual void SetUpInProcessBrowserTestFixture() OVERRIDE {
ASSERT_TRUE(https_test_server().Start());
GURL instant_url = https_test_server().GetURL(
- "files/instant_extended.html?strk=1&");
- GURL ntp_url = https_test_server().GetURL(
"files/local_ntp_browsertest.html?strk=1&");
- InstantTestBase::Init(instant_url, ntp_url, false);
+ InstantTestBase::Init(instant_url, false);
}
};
// Flaky: crbug.com/267117
IN_PROC_BROWSER_TEST_F(LocalNTPTest, DISABLED_LocalNTPJavascriptTest) {
ASSERT_NO_FATAL_FAILURE(SetupInstant(browser()));
- FocusOmnibox();
+ FocusOmniboxAndWaitForInstantNTPSupport();
ui_test_utils::NavigateToURLWithDisposition(
browser(),
@@ -67,7 +65,7 @@
// Setup Instant.
ASSERT_NO_FATAL_FAILURE(SetupInstant(browser()));
- FocusOmnibox();
+ FocusOmniboxAndWaitForInstantNTPSupport();
// Open a new tab.
ui_test_utils::NavigateToURLWithDisposition(
« no previous file with comments | « trunk/src/chrome/browser/ui/search/instant_unload_handler.cc ('k') | trunk/src/chrome/browser/ui/search/search_tab_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698