michael@0: # This Source Code Form is subject to the terms of the Mozilla Public michael@0: # License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: # file, You can obtain one at http://mozilla.org/MPL/2.0/. michael@0: michael@0: DEFAULT_COMMON_PREFS = { michael@0: # allow debug output via dump to be printed to the system console michael@0: # (setting it here just in case, even though PlainTextConsole also michael@0: # sets this preference) michael@0: 'browser.dom.window.dump.enabled': True, michael@0: # warn about possibly incorrect code michael@0: 'javascript.options.showInConsole': True, michael@0: michael@0: # Allow remote connections to the debugger michael@0: 'devtools.debugger.remote-enabled' : True, michael@0: michael@0: 'extensions.sdk.console.logLevel': 'info', michael@0: michael@0: 'extensions.checkCompatibility.nightly' : False, michael@0: michael@0: # Disable extension updates and notifications. michael@0: 'extensions.update.enabled' : False, michael@0: 'extensions.update.notifyUser' : False, michael@0: michael@0: # From: michael@0: # http://hg.mozilla.org/mozilla-central/file/1dd81c324ac7/build/automation.py.in#l372 michael@0: # Only load extensions from the application and user profile. michael@0: # AddonManager.SCOPE_PROFILE + AddonManager.SCOPE_APPLICATION michael@0: 'extensions.enabledScopes' : 5, michael@0: # Disable metadata caching for installed add-ons by default michael@0: 'extensions.getAddons.cache.enabled' : False, michael@0: # Disable intalling any distribution add-ons michael@0: 'extensions.installDistroAddons' : False, michael@0: # Allow installing extensions dropped into the profile folder michael@0: 'extensions.autoDisableScopes' : 10, michael@0: michael@0: # Disable app update michael@0: 'app.update.enabled' : False, michael@0: michael@0: # Point update checks to a nonexistent local URL for fast failures. michael@0: 'extensions.update.url' : 'http://localhost/extensions-dummy/updateURL', michael@0: 'extensions.blocklist.url' : 'http://localhost/extensions-dummy/blocklistURL', michael@0: # Make sure opening about:addons won't hit the network. michael@0: 'extensions.webservice.discoverURL' : 'http://localhost/extensions-dummy/discoveryURL' michael@0: } michael@0: michael@0: DEFAULT_FENNEC_PREFS = { michael@0: 'browser.console.showInPanel': True, michael@0: 'browser.firstrun.show.uidiscovery': False michael@0: } michael@0: michael@0: # When launching a temporary new Firefox profile, use these preferences. michael@0: DEFAULT_FIREFOX_PREFS = { michael@0: 'browser.startup.homepage' : 'about:blank', michael@0: 'startup.homepage_welcome_url' : 'about:blank', michael@0: 'devtools.errorconsole.enabled' : True, michael@0: 'devtools.chrome.enabled' : True, michael@0: michael@0: # From: michael@0: # http://hg.mozilla.org/mozilla-central/file/1dd81c324ac7/build/automation.py.in#l388 michael@0: # Make url-classifier updates so rare that they won't affect tests. michael@0: 'urlclassifier.updateinterval' : 172800, michael@0: # Point the url-classifier to a nonexistent local URL for fast failures. michael@0: 'browser.safebrowsing.provider.0.gethashURL' : 'http://localhost/safebrowsing-dummy/gethash', michael@0: 'browser.safebrowsing.provider.0.updateURL' : 'http://localhost/safebrowsing-dummy/update', michael@0: } michael@0: michael@0: # When launching a temporary new Thunderbird profile, use these preferences. michael@0: # Note that these were taken from: michael@0: # http://mxr.mozilla.org/comm-central/source/mail/test/mozmill/runtest.py michael@0: DEFAULT_THUNDERBIRD_PREFS = { michael@0: # say no to slow script warnings michael@0: 'dom.max_chrome_script_run_time': 200, michael@0: 'dom.max_script_run_time': 0, michael@0: # do not ask about being the default mail client michael@0: 'mail.shell.checkDefaultClient': False, michael@0: # disable non-gloda indexing daemons michael@0: 'mail.winsearch.enable': False, michael@0: 'mail.winsearch.firstRunDone': True, michael@0: 'mail.spotlight.enable': False, michael@0: 'mail.spotlight.firstRunDone': True, michael@0: # disable address books for undisclosed reasons michael@0: 'ldap_2.servers.osx.position': 0, michael@0: 'ldap_2.servers.oe.position': 0, michael@0: # disable the first use junk dialog michael@0: 'mailnews.ui.junk.firstuse': False, michael@0: # other unknown voodoo michael@0: # -- dummied up local accounts to stop the account wizard michael@0: 'mail.account.account1.server' : "server1", michael@0: 'mail.account.account2.identities' : "id1", michael@0: 'mail.account.account2.server' : "server2", michael@0: 'mail.accountmanager.accounts' : "account1,account2", michael@0: 'mail.accountmanager.defaultaccount' : "account2", michael@0: 'mail.accountmanager.localfoldersserver' : "server1", michael@0: 'mail.identity.id1.fullName' : "Tinderbox", michael@0: 'mail.identity.id1.smtpServer' : "smtp1", michael@0: 'mail.identity.id1.useremail' : "tinderbox@invalid.com", michael@0: 'mail.identity.id1.valid' : True, michael@0: 'mail.root.none-rel' : "[ProfD]Mail", michael@0: 'mail.root.pop3-rel' : "[ProfD]Mail", michael@0: 'mail.server.server1.directory-rel' : "[ProfD]Mail/Local Folders", michael@0: 'mail.server.server1.hostname' : "Local Folders", michael@0: 'mail.server.server1.name' : "Local Folders", michael@0: 'mail.server.server1.type' : "none", michael@0: 'mail.server.server1.userName' : "nobody", michael@0: 'mail.server.server2.check_new_mail' : False, michael@0: 'mail.server.server2.directory-rel' : "[ProfD]Mail/tinderbox", michael@0: 'mail.server.server2.download_on_biff' : True, michael@0: 'mail.server.server2.hostname' : "tinderbox", michael@0: 'mail.server.server2.login_at_startup' : False, michael@0: 'mail.server.server2.name' : "tinderbox@invalid.com", michael@0: 'mail.server.server2.type' : "pop3", michael@0: 'mail.server.server2.userName' : "tinderbox", michael@0: 'mail.smtp.defaultserver' : "smtp1", michael@0: 'mail.smtpserver.smtp1.hostname' : "tinderbox", michael@0: 'mail.smtpserver.smtp1.username' : "tinderbox", michael@0: 'mail.smtpservers' : "smtp1", michael@0: 'mail.startup.enabledMailCheckOnce' : True, michael@0: 'mailnews.start_page_override.mstone' : "ignore", michael@0: }