Skip to content

Instantly share code, notes, and snippets.

@andreastt
Created December 13, 2016 20:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save andreastt/dde0749a7f0fa4aea226f617d5b5f0bf to your computer and use it in GitHub Desktop.
Save andreastt/dde0749a7f0fa4aea226f617d5b5f0bf to your computer and use it in GitHub Desktop.
{
// Disable automatic downloading of new releases
"app.update.auto": false,
// Disable automatically upgrading Firefox
"app.update.enabled": false,
// Increase the APZ content response timeout in tests to 1 minute.
// This is to accommodate the fact that test environments tends to be slower
// than production environments (with the b2g emulator being the slowest of them
// all), resulting in the production timeout value sometimes being exceeded
// and causing false-positive test failures. See bug 1176798, bug 1177018,
// bug 1210465.
//
// https://github.com/mozilla/gecko-dev/blob/master/gfx/doc/AsyncPanZoom.md//content-preventing-default-behaviour-of-input-events
"apz.content_response_timeout": 60000,
// Enable the dump function, which sends messages to the system console
"browser.dom.window.dump.enabled": true,
// Indicate that the download panel has been shown once
// so that whichever download test runs first does not
// show the popup inconsistently
"browser.download.panel.shown": true,
// Implicitly accept license
"browser.EULA.override": true,
// Turn off once Marionette can correctly handle error pages, and doesn't
// hang when about:blank gets loaded twice
//
// (bug 1145668, 1312674)
"browser.newtabpage.enabled": true,
// Assume the about:newtab page's intro panels have been shown to not depend on
// which test runs first and happens to open about:newtab
"browser.newtabpage.introShown": true,
// Never start the browser in offline mode
"browser.offline": false,
// Background thumbnails in particular cause grief, and disabling thumbnails
// in general cannot hurt
"browser.pagethumbnails.capturing_disabled": true,
// Avoid performing Reader Mode intros during tests
"browser.reader.detectedFirstArticle": true,
// Disable safebrowsing components
"browser.safebrowsing.blockedURIs.enabled": false,
"browser.safebrowsing.downloads.enabled": false,
"browser.safebrowsing.enabled": false,
"browser.safebrowsing.forbiddenURIs.enabled": false,
"browser.safebrowsing.malware.enabled": false,
"browser.safebrowsing.phishing.enabled": false,
// Disable updates to search engines
"browser.search.update": false,
// Do not restore the last open set of tabs if the browser crashed
"browser.sessionstore.resume_from_crash": false,
// Skip check for default browser on startup
"browser.shell.checkDefaultBrowser": false,
// Do not warn when quitting with multiple tabs
"browser.showQuitWarning": false,
// Disable Android snippets
"browser.snippets.enabled": false,
"browser.snippets.syncPromo.enabled": false,
"browser.snippets.firstrunHomepage.enabled": false,
// Do not redirect user when a milestone upgrade of Firefox is detected
"browser.startup.homepage_override.mstone": "ignore",
// Start with a blank page (about:blank)
"browser.startup.page": 0,
// Disable tab animation
"browser.tabs.animate": false,
// Do not warn when quitting a window with multiple tabs
"browser.tabs.closeWindowWithLastTab": false,
// Do not allow background tabs to be zombified, otherwise for tests that
// open additional tabs, the test harness tab itself might get unloaded
"browser.tabs.disableBackgroundZombification": false,
// Do not warn on exit when multiple tabs are open
"browser.tabs.warnOnClose": false,
// Do not warn when closing all other open tabs
"browser.tabs.warnOnCloseOtherTabs": false,
// Do not warn when multiple tabs will be opened
"browser.tabs.warnOnOpen": false,
// Disable first run splash page on Windows 10
"browser.usedOnWindows10.introURL": "",
// Disable the UI tour
"browser.uitour.enabled": false,
// Do not show datareporting policy notifications which can interfer with tests
"datareporting.healthreport.about.reportUrl": "http://%(server)s/dummy/abouthealthreport/",
"datareporting.healthreport.documentServerURI": "http://%(server)s/dummy/healthreport/",
"datareporting.healthreport.logging.consoleEnabled": false,
"datareporting.healthreport.service.enabled": false,
"datareporting.healthreport.service.firstRun": false,
"datareporting.healthreport.uploadEnabled": false,
"datareporting.policy.dataSubmissionEnabled": false,
"datareporting.policy.dataSubmissionPolicyAccepted": false,
"datareporting.policy.dataSubmissionPolicyBypassNotification": true,
// Disable popup-blocker
"dom.disable_open_during_load": false,
// Disable the ProcessHangMonitor
"dom.ipc.reportProcessHangs": false,
// Disable slow script dialogues
"dom.max_chrome_script_run_time": 0,
"dom.max_script_run_time": 0,
// Only load extensions from the application and user profile
// AddonManager.SCOPE_PROFILE + AddonManager.SCOPE_APPLICATION
"extensions.autoDisableScopes": 0,
"extensions.enabledScopes": 5,
// don't block add-ons for e10s
"extensions.e10sBlocksEnabling": false,
// Disable metadata caching for installed add-ons by default
"extensions.getAddons.cache.enabled": false,
// Disable intalling any distribution add-ons
"extensions.installDistroAddons": false,
"extensions.showMismatchUI": false,
// Turn off extension updates so they don't bother tests
"extensions.update.enabled": false,
"extensions.update.notifyUser": false,
// Make sure opening about:addons will not hit the network
"extensions.webservice.discoverURL": "http://%(server)s/dummy/discoveryURL",
// Allow the application to have focus even it runs in the background
"focusmanager.testmode": true,
// Disable useragent updates
"general.useragent.updates.enabled": false,
// Always use network provider for geolocation tests
// so we bypass the OSX dialog raised by the corelocation provider
"geo.provider.testing": true,
// Do not scan wi-fi
"geo.wifi.scan": false,
// No hang monitor
"hangmonitor.timeout": 0,
// Show chrome errors and warnings in the error console
"javascript.options.showInConsole": true,
// Make sure the disk cache doesn't get auto disabled
"network.http.bypass-cachelock-threshold": 200000,
// Do not prompt for temporary redirects
"network.http.prompt-temp-redirect": false,
// Disable speculative connections so they are not reported as leaking when they are
// hanging around
"network.http.speculative-parallel-limit": 0,
// Do not automatically switch between offline and online
"network.manage-offline-status": false,
// Make sure SNTP requests do not hit the network
"network.sntp.pools": "%(server)s",
// Local documents have access to all other local docments,
// including directory listings.
"security.fileuri.strict_origin_policy": false,
// Tests don't wait for the notification button security delay
"security.notification_enable_delay": 0,
// Ensure blocklist updates don't hit the network
"services.settings.server": "http://%(server)s/dummy/blocklist/",
// Do not automatically fill sign-in forms with known usernames and passwords
"signon.autofillForms": false,
// Disable password capture, so that tests that include forms are not
// influenced by the presence of the persistent doorhanger notification
"signon.rememberSignons": false,
// Disable first run pages
"startup.homepage_welcome_url": "about:blank",
"startup.homepage_welcome_url.additional": "",
// Prevent starting into safe mode after application crashes
"toolkit.startup.max_resumed_crashes": -1,
// We want to collect telemetry, but we don't want to send in the results
"toolkit.telemetry.server": "https://%(server)s/dummy/telemetry/",
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment