Suppress the default browser dialog for Firefox so that it doesn't prevent the pageload test from running (sync from local changes on redwood)

This commit is contained in:
bryner%brianryner.com 2004-08-31 19:02:56 +00:00
parent 76c733e32b
commit 095c91df1f

View File

@ -24,7 +24,7 @@ use Config; # for $Config{sig_name} and $Config{sig_num}
use File::Find ();
use File::Copy;
$::UtilsVersion = '$Revision: 1.269 $ ';
$::UtilsVersion = '$Revision: 1.270 $ ';
package TinderUtils;
@ -1708,6 +1708,9 @@ sub run_all_tests {
if ($Settings::BinaryName =~ /^firefox/) {
set_pref($pref_file, 'privacy.popups.firstTime', 'false');
set_pref($pref_file, 'dom.disable_open_during_load', 'false');
# Suppress default browser dialog
set_pref($pref_file, 'browser.shell.checkDefaultBrowser', 'false');
}
# Suppress security warnings for QA test.