Bug 294260 - Disable startup crash tracking in test profiles (toolkit.startup.max_resumed_crashes = -1) r=waldo,robcee

--HG--
extra : rebase_source : 6856629cc35106499f82753471ff77c2607a5e97
This commit is contained in:
Matthew Noorenberghe 2012-02-03 18:31:31 -08:00
parent fde3087a8e
commit 5a46a0d983
6 changed files with 10 additions and 0 deletions

View File

@ -33,3 +33,4 @@ user_pref("javascript.options.methodjit.content", true);
user_pref("javascript.options.methodjit_always", false);
user_pref("javascript.options.strict", false);
user_pref("javascript.options.werror", false);
user_pref("toolkit.startup.max_resumed_crashes", -1);

View File

@ -234,6 +234,8 @@ class FirefoxProfile(Profile):
'extensions.update.enabled' : False,
# Don't open a dialog to show available add-on updates
'extensions.update.notifyUser' : False,
# Suppress automatic safe mode after crashes
'toolkit.startup.max_resumed_crashes' : -1,
}
class ThunderbirdProfile(Profile):

View File

@ -266,6 +266,8 @@ class FirefoxProfile(Profile):
'extensions.update.enabled' : False,
# Don't open a dialog to show available add-on updates
'extensions.update.notifyUser' : False,
# Suppress automatic safe mode after crashes
'toolkit.startup.max_resumed_crashes' : -1,
}
class ThunderbirdProfile(Profile):

View File

@ -57,6 +57,9 @@ sub global_prefs {
# Suppress session restore dialog
Prefs::set_pref($pref_file, 'browser.sessionstore.resume_from_crash', 'false');
# Suppress automatic safe mode after crashes
Prefs::set_pref($pref_file, 'toolkit.startup.max_resumed_crashes', -1);
}
elsif ($Settings::BinaryName eq 'Camino') {
Prefs::set_pref($pref_file, 'camino.check_default_browser', 'false');

View File

@ -24,6 +24,7 @@ userPrefs = {
'javascript.options.showInConsole': 'true',
'layout.debug.enable_data_xbl': 'true',
'shell.checkDefaultClient': 'false',
'toolkit.startup.max_resumed_crashes': -1,
'browser.EULA.override': 'true'
}

View File

@ -105,6 +105,7 @@ class TPSTestRunner(object):
'services.sync.log.logger.engine.bookmarks': 'Trace',
'services.sync.log.appender.console': 'Trace',
'services.sync.log.appender.debugLog.enabled': True,
'toolkit.startup.max_resumed_crashes': -1,
'browser.dom.window.dump.enabled': True,
# Allow installing extensions dropped into the profile folder
'extensions.autoDisableScopes': 10,