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

Unified Diff: chrome/browser/instant/instant_browsertest.cc

Issue 11421079: Persist the Instant API to committed search result pages. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 1 month 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 | chrome/browser/instant/instant_client.h » ('j') | chrome/browser/instant/instant_client.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/instant/instant_browsertest.cc
diff --git a/chrome/browser/instant/instant_browsertest.cc b/chrome/browser/instant/instant_browsertest.cc
index e4e5c5d5c2d2d6eaa2989edd852dc597bbd3216c..6923a3e3395f5941a6406a84f83872bb2dd97372 100644
--- a/chrome/browser/instant/instant_browsertest.cc
+++ b/chrome/browser/instant/instant_browsertest.cc
@@ -405,7 +405,7 @@ IN_PROC_BROWSER_TEST_F(InstantTest, OnResizeEvent) {
FocusOmniboxAndWaitForInstantSupport();
EXPECT_TRUE(UpdateSearchState(instant()->GetPreviewContents()));
- EXPECT_EQ(1, onresizecalls_);
+ EXPECT_EQ(0, onresizecalls_);
EXPECT_EQ(0, height_);
// Type a query into the omnibox. This should cause an onresize() event, with
@@ -413,7 +413,7 @@ IN_PROC_BROWSER_TEST_F(InstantTest, OnResizeEvent) {
SetOmniboxTextAndWaitForInstantToShow("search");
EXPECT_TRUE(UpdateSearchState(instant()->GetPreviewContents()));
- EXPECT_EQ(2, onresizecalls_);
+ EXPECT_EQ(1, onresizecalls_);
EXPECT_LT(0, height_);
}
« no previous file with comments | « no previous file | chrome/browser/instant/instant_client.h » ('j') | chrome/browser/instant/instant_client.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698