diff options
author | Matt A. Tobin <mattatobin@localhost.localdomain> | 2018-02-02 04:16:08 -0500 |
---|---|---|
committer | Matt A. Tobin <mattatobin@localhost.localdomain> | 2018-02-02 04:16:08 -0500 |
commit | 5f8de423f190bbb79a62f804151bc24824fa32d8 (patch) | |
tree | 10027f336435511475e392454359edea8e25895d /addon-sdk/source/test/preferences | |
parent | 49ee0794b5d912db1f95dce6eb52d781dc210db5 (diff) | |
download | UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.gz UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.lz UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.xz UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.zip |
Add m-esr52 at 52.6.0
Diffstat (limited to 'addon-sdk/source/test/preferences')
-rw-r--r-- | addon-sdk/source/test/preferences/common.json | 16 | ||||
-rw-r--r-- | addon-sdk/source/test/preferences/e10s-off.json | 5 | ||||
-rw-r--r-- | addon-sdk/source/test/preferences/e10s-on.json | 3 | ||||
-rw-r--r-- | addon-sdk/source/test/preferences/firefox.json | 11 | ||||
-rw-r--r-- | addon-sdk/source/test/preferences/no-connections.json | 41 | ||||
-rw-r--r-- | addon-sdk/source/test/preferences/test-e10s-preferences.js | 15 | ||||
-rw-r--r-- | addon-sdk/source/test/preferences/test-preferences.js | 15 | ||||
-rw-r--r-- | addon-sdk/source/test/preferences/test.json | 46 |
8 files changed, 152 insertions, 0 deletions
diff --git a/addon-sdk/source/test/preferences/common.json b/addon-sdk/source/test/preferences/common.json new file mode 100644 index 000000000..c645e24d5 --- /dev/null +++ b/addon-sdk/source/test/preferences/common.json @@ -0,0 +1,16 @@ +{ + "browser.dom.window.dump.enabled": true, + "javascript.options.showInConsole": true, + "devtools.debugger.remote-enabled": true, + "extensions.sdk.console.logLevel": "info", + "extensions.checkCompatibility.nightly": false, + "extensions.update.enabled": false, + "lightweightThemes.update.enabled": false, + "extensions.update.notifyUser": false, + "extensions.enabledScopes": 5, + "extensions.getAddons.cache.enabled": false, + "extensions.installDistroAddons": false, + "extensions.autoDisableScopes": 10, + "app.releaseNotesURL": "http://localhost/app-dummy/", + "app.vendorURL": "http://localhost/app-dummy/" +} diff --git a/addon-sdk/source/test/preferences/e10s-off.json b/addon-sdk/source/test/preferences/e10s-off.json new file mode 100644 index 000000000..269d7a92a --- /dev/null +++ b/addon-sdk/source/test/preferences/e10s-off.json @@ -0,0 +1,5 @@ +{ + "browser.tabs.remote.autostart": false, + "browser.tabs.remote.autostart.1": false, + "browser.tabs.remote.autostart.2": false +} diff --git a/addon-sdk/source/test/preferences/e10s-on.json b/addon-sdk/source/test/preferences/e10s-on.json new file mode 100644 index 000000000..dd5a78dbf --- /dev/null +++ b/addon-sdk/source/test/preferences/e10s-on.json @@ -0,0 +1,3 @@ +{ + "browser.tabs.remote.autostart": true +} diff --git a/addon-sdk/source/test/preferences/firefox.json b/addon-sdk/source/test/preferences/firefox.json new file mode 100644 index 000000000..5b8145cec --- /dev/null +++ b/addon-sdk/source/test/preferences/firefox.json @@ -0,0 +1,11 @@ +{ + "browser.startup.homepage": "about:blank", + "startup.homepage_welcome_url": "about:blank", + "devtools.browsertoolbox.panel": "jsdebugger", + "devtools.chrome.enabled": true, + "urlclassifier.updateinterval": 172800, + "browser.safebrowsing.provider.google.gethashURL": "http://localhost/safebrowsing-dummy/gethash", + "browser.safebrowsing.provider.google.updateURL": "http://localhost/safebrowsing-dummy/update", + "browser.safebrowsing.provider.mozilla.gethashURL": "http://localhost/safebrowsing-dummy/gethash", + "browser.safebrowsing.provider.mozilla.updateURL": "http://localhost/safebrowsing-dummy/update" +} diff --git a/addon-sdk/source/test/preferences/no-connections.json b/addon-sdk/source/test/preferences/no-connections.json new file mode 100644 index 000000000..370b7909c --- /dev/null +++ b/addon-sdk/source/test/preferences/no-connections.json @@ -0,0 +1,41 @@ +{ + "toolkit.telemetry.enabled": false, + "toolkit.telemetry.server": "https://localhost/telemetry-dummy/", + "app.update.auto": false, + "app.update.url": "http://localhost/app-dummy/update", + "app.update.enabled": false, + "app.update.staging.enabled": false, + "media.gmp-gmpopenh264.autoupdate": false, + "media.gmp-manager.cert.checkAttributes": false, + "media.gmp-manager.cert.requireBuiltIn": false, + "media.gmp-manager.url": "http://localhost/media-dummy/gmpmanager", + "media.gmp-manager.url.override": "http://localhost/dummy-gmp-manager.xml", + "media.gmp-manager.updateEnabled": false, + "browser.aboutHomeSnippets.updateUrl": "https://localhost/snippet-dummy", + "browser.newtab.url": "about:blank", + "browser.search.update": false, + "browser.search.suggest.enabled": false, + "browser.safebrowsing.phishing.enabled": false, + "browser.safebrowsing.provider.google.updateURL": "http://localhost/safebrowsing-dummy/update", + "browser.safebrowsing.provider.google.gethashURL": "http://localhost/safebrowsing-dummy/gethash", + "browser.safebrowsing.provider.google.reportURL": "http://localhost/safebrowsing-dummy/malwarereport", + "browser.selfsupport.url": "https://localhost/selfsupport-dummy", + "browser.safebrowsing.provider.mozilla.gethashURL": "http://localhost/safebrowsing-dummy/gethash", + "browser.safebrowsing.provider.mozilla.updateURL": "http://localhost/safebrowsing-dummy/update", + "browser.newtabpage.directory.source": "data:application/json,{'jetpack':1}", + "browser.newtabpage.directory.ping": "", + "extensions.update.url": "http://localhost/extensions-dummy/updateURL", + "extensions.update.background.url": "http://localhost/extensions-dummy/updateBackgroundURL", + "extensions.blocklist.url": "http://localhost/extensions-dummy/blocklistURL", + "extensions.webservice.discoverURL": "http://localhost/extensions-dummy/discoveryURL", + "extensions.getAddons.maxResults": 0, + "services.blocklist.base": "http://localhost/dummy-kinto/v1", + "geo.wifi.uri": "http://localhost/location-dummy/locationURL", + "browser.search.geoip.url": "http://localhost/location-dummy/locationURL", + "browser.search.isUS": true, + "browser.search.countryCode": "US", + "geo.wifi.uri": "http://localhost/extensions-dummy/geowifiURL", + "geo.wifi.scan": false, + "browser.webapps.checkForUpdates": 0, + "identity.fxaccounts.auth.uri": "http://localhost/fxa-dummy/" +} diff --git a/addon-sdk/source/test/preferences/test-e10s-preferences.js b/addon-sdk/source/test/preferences/test-e10s-preferences.js new file mode 100644 index 000000000..ed09e5fa3 --- /dev/null +++ b/addon-sdk/source/test/preferences/test-e10s-preferences.js @@ -0,0 +1,15 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ +"use strict"; + +var extend = require("lodash").extend + +var e10sOn = require("./e10s-on.json"); +var commonPrefs = require("./common.json"); +var testPrefs = require("./test.json"); +var fxPrefs = require("./firefox.json"); +var disconnectionPrefs = require("./no-connections.json"); + +var prefs = extend({}, e10sOn, commonPrefs, testPrefs, disconnectionPrefs, fxPrefs); +module.exports = prefs; diff --git a/addon-sdk/source/test/preferences/test-preferences.js b/addon-sdk/source/test/preferences/test-preferences.js new file mode 100644 index 000000000..5cdb4a292 --- /dev/null +++ b/addon-sdk/source/test/preferences/test-preferences.js @@ -0,0 +1,15 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ +"use strict"; + +var extend = require("lodash").extend + +var e10sOff = require("./e10s-off.json"); +var commonPrefs = require("./common.json"); +var testPrefs = require("./test.json"); +var fxPrefs = require("./firefox.json"); +var disconnectionPrefs = require("./no-connections.json"); + +var prefs = extend({}, e10sOff, commonPrefs, testPrefs, disconnectionPrefs, fxPrefs); +module.exports = prefs; diff --git a/addon-sdk/source/test/preferences/test.json b/addon-sdk/source/test/preferences/test.json new file mode 100644 index 000000000..d34061fb8 --- /dev/null +++ b/addon-sdk/source/test/preferences/test.json @@ -0,0 +1,46 @@ +{ + "browser.console.showInPanel": true, + "browser.startup.page": 0, + "browser.firstrun.show.localepicker": false, + "browser.firstrun.show.uidiscovery": false, + "browser.ui.layout.tablet": 0, + "dom.disable_open_during_load": false, + "dom.experimental_forms": true, + "dom.forms.number": true, + "dom.forms.color": true, + "dom.max_script_run_time": 0, + "hangmonitor.timeout": 0, + "dom.max_chrome_script_run_time": 0, + "dom.popup_maximum": -1, + "dom.send_after_paint_to_content": true, + "dom.successive_dialog_time_limit": 0, + "browser.shell.checkDefaultBrowser": false, + "shell.checkDefaultClient": false, + "browser.warnOnQuit": false, + "accessibility.typeaheadfind.autostart": false, + "browser.EULA.override": true, + "gfx.color_management.force_srgb": true, + "network.manage-offline-status": false, + "network.http.speculative-parallel-limit": 0, + "test.mousescroll": true, + "security.default_personal_cert": "Select Automatically", + "network.http.prompt-temp-redirect": false, + "security.warn_viewing_mixed": false, + "extensions.defaultProviders.enabled": true, + "datareporting.policy.dataSubmissionPolicyBypassNotification": true, + "layout.css.report_errors": true, + "layout.css.grid.enabled": true, + "layout.spammy_warnings.enabled": false, + "dom.mozSettings.enabled": true, + "network.http.bypass-cachelock-threshold": 200000, + "geo.provider.testing": true, + "browser.pagethumbnails.capturing_disabled": true, + "browser.download.panel.shown": true, + "general.useragent.updates.enabled": false, + "media.eme.enabled": true, + "media.eme.apiVisible": true, + "dom.ipc.tabs.shutdownTimeoutSecs": 0, + "general.useragent.locale": "en-US", + "intl.locale.matchOS": "en-US", + "dom.indexedDB.experimental": true +} |