diff options
author | jcampan@chromium.org <jcampan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-01 18:24:41 +0000 |
---|---|---|
committer | jcampan@chromium.org <jcampan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-01 18:24:41 +0000 |
commit | d659132ecf7a4948bc74593da6a62bf094bbf52b (patch) | |
tree | ee09af03cfa7a8d94112768cec109f5af6ab4b11 /chrome/test/ui | |
parent | 3bf03aff50e1881229c3b4e28591da4959b9ea07 (diff) | |
download | chromium_src-d659132ecf7a4948bc74593da6a62bf094bbf52b.zip chromium_src-d659132ecf7a4948bc74593da6a62bf094bbf52b.tar.gz chromium_src-d659132ecf7a4948bc74593da6a62bf094bbf52b.tar.bz2 |
Some UI tests would fail on some boxes as these tests have specific expectations in term of how many and what kind of info-bars are showing, and the default browser check would add an extra info-bar.
This CL adds a switch that disables the default browser check on start-up and makes the UI tests specify that switch.
BUG=13064
TEST=Run the UI tests.
Review URL: http://codereview.chromium.org/112081
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17336 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/test/ui')
-rw-r--r-- | chrome/test/ui/ui_test.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/test/ui/ui_test.cc b/chrome/test/ui/ui_test.cc index 1b15116..c6b1574 100644 --- a/chrome/test/ui/ui_test.cc +++ b/chrome/test/ui/ui_test.cc @@ -243,6 +243,10 @@ void UITest::LaunchBrowser(const CommandLine& arguments, bool clear_profile) { // No first-run dialogs, please. command_line.AppendSwitch(switches::kNoFirstRun); + // No default browser check, it would create an info-bar (if we are not the + // default browser) that could conflicts with some tests expectations. + command_line.AppendSwitch(switches::kNoDefaultBrowserCheck); + // We need cookies on file:// for things like the page cycler. if (enable_file_cookies_) command_line.AppendSwitch(switches::kEnableFileCookies); |