summaryrefslogtreecommitdiffstats
path: root/chrome/browser/extensions/extension_function_test_utils.h
diff options
context:
space:
mode:
authorsreeram@chromium.org <sreeram@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-05-05 21:27:09 +0000
committersreeram@chromium.org <sreeram@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-05-05 21:27:09 +0000
commit737838897fe41e031771979e75c4dfb6dad924cb (patch)
treeaa320ee3996e4cc5475081be9bfb129146aa0ba1 /chrome/browser/extensions/extension_function_test_utils.h
parent0abe285f534b871d12e6fbec5fb1d7bbf49ac4f9 (diff)
downloadchromium_src-737838897fe41e031771979e75c4dfb6dad924cb.zip
chromium_src-737838897fe41e031771979e75c4dfb6dad924cb.tar.gz
chromium_src-737838897fe41e031771979e75c4dfb6dad924cb.tar.bz2
Fix Instant pyauto tests.
http://crrev.com/135298 makes --instant-field-trial override everything else, including the kInstantEnabled pref. Since test_launcher_utils.cc adds the switch (with a 'disabled' value) to all tests, we have to override the switch when trying to enable Instant. The same CL also made preloading of the search engine the default. So, even if you type a non-search string (such as a URL or "javascript:") into the omnibox, Instant's preview (overlay) will still be active. To properly test that Instant isn't actually showing the preview, test for 'current' instead of 'active'. BUG=126261 TEST=instant.py Review URL: http://codereview.chromium.org/10379014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@135558 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/extensions/extension_function_test_utils.h')
0 files changed, 0 insertions, 0 deletions