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

Issue 58903004: InstantExtended: update tests for Instant Extended (part 2). (Closed)

Created:
7 years, 1 month ago by samarth
Modified:
7 years, 1 month ago
Reviewers:
sky
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, marja+watch_chromium.org, extensions-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

InstantExtended: update tests for Instant Extended (part 2). Update tests that were using the wrong test for checking the NTP URL. Once Instant Extended is turned on, IsNTPURL will not return true for "chrome://newtab", so the tests expecting that particular literal must be updated. (Ultimately, this should be cleaned up so there is no distinction between chrome://newtab and chrome-search://local-ntp.. but that will need to happen later.) (Note that this is split off from http://crrev.com/24733003.) BUG=297915 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=235029

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+18 lines, -25 lines) Patch
M chrome/browser/extensions/extension_url_rewrite_browsertest.cc View 2 chunks +3 lines, -2 lines 0 comments Download
M chrome/browser/extensions/lazy_background_page_apitest.cc View 2 chunks +2 lines, -4 lines 0 comments Download
M chrome/browser/policy/policy_browsertest.cc View 1 chunk +1 line, -1 line 2 comments Download
M chrome/browser/sessions/persistent_tab_restore_service_browsertest.cc View 3 chunks +6 lines, -7 lines 0 comments Download
M chrome/browser/sessions/session_restore_browsertest.cc View 2 chunks +2 lines, -4 lines 0 comments Download
M chrome/browser/ui/browser_browsertest.cc View 2 chunks +2 lines, -3 lines 0 comments Download
M chrome/browser/ui/browser_navigator_browsertest.cc View 2 chunks +2 lines, -4 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
samarth
PTAL. Thanks, Samarth
7 years, 1 month ago (2013-11-13 17:57:28 UTC) #1
sky
https://codereview.chromium.org/58903004/diff/1/chrome/browser/policy/policy_browsertest.cc File chrome/browser/policy/policy_browsertest.cc (right): https://codereview.chromium.org/58903004/diff/1/chrome/browser/policy/policy_browsertest.cc#newcode1717 chrome/browser/policy/policy_browsertest.cc:1717: EXPECT_EQ(GURL(chrome::kChromeUINewTabURL), contents->GetURL()); I'm pretty sure the failure for GURL ...
7 years, 1 month ago (2013-11-13 21:19:36 UTC) #2
samarth
https://codereview.chromium.org/58903004/diff/1/chrome/browser/policy/policy_browsertest.cc File chrome/browser/policy/policy_browsertest.cc (right): https://codereview.chromium.org/58903004/diff/1/chrome/browser/policy/policy_browsertest.cc#newcode1717 chrome/browser/policy/policy_browsertest.cc:1717: EXPECT_EQ(GURL(chrome::kChromeUINewTabURL), contents->GetURL()); On 2013/11/13 21:19:36, sky wrote: > I'm ...
7 years, 1 month ago (2013-11-13 21:41:41 UTC) #3
sky
My mistake, LGTM
7 years, 1 month ago (2013-11-13 22:20:11 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/samarth@chromium.org/58903004/1
7 years, 1 month ago (2013-11-13 22:45:58 UTC) #5
commit-bot: I haz the power
7 years, 1 month ago (2013-11-14 03:20:39 UTC) #6
Message was sent while issue was closed.
Change committed as 235029

Powered by Google App Engine
This is Rietveld 408576698