Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff --git a/browser/app/profile/firefox.js b/browser/app/profile/firefox.js
- --- a/browser/app/profile/firefox.js
- +++ b/browser/app/profile/firefox.js
- @@ -1519,31 +1519,24 @@ pref("media.gmp-provider.enabled", true)
- pref("privacy.trackingprotection.ui.enabled", true);
- #else
- pref("privacy.trackingprotection.ui.enabled", false);
- #endif
- pref("privacy.trackingprotection.introCount", 0);
- pref("privacy.trackingprotection.introURL", "https://www.mozilla.org/%LOCALE%/firefox/%VERSION%/tracking-protection/start/");
- // Enable Contextual Identity Containers
- -#ifdef NIGHTLY_BUILD
- -pref("privacy.userContext.enabled", true);
- -pref("privacy.userContext.ui.enabled", true);
- -pref("privacy.usercontext.about_newtab_segregation.enabled", true);
- -// 0 disables long press, 1 when clicked, the menu is shown, 2 the menu is shown after X milliseconds.
- -pref("privacy.userContext.longPressBehavior", 2);
- -#else
- pref("privacy.userContext.enabled", false);
- pref("privacy.userContext.ui.enabled", false);
- pref("privacy.usercontext.about_newtab_segregation.enabled", false);
- // 0 disables long press, 1 when clicked, the menu is shown, 2 the menu is shown after X milliseconds.
- pref("privacy.userContext.longPressBehavior", 0);
- -#endif
- +
- pref("privacy.userContext.extension", "");
- // Start the browser in e10s mode
- pref("browser.tabs.remote.autostart", false);
- pref("browser.tabs.remote.desktopbehavior", true);
- #if !defined(RELEASE_OR_BETA) || defined(MOZ_DEV_EDITION)
- // At the moment, autostart.2 is used, while autostart.1 is unused.
- diff --git a/toolkit/components/extensions/ExtensionPreferencesManager.jsm b/toolkit/components/extensions/ExtensionPreferencesManager.jsm
- --- a/toolkit/components/extensions/ExtensionPreferencesManager.jsm
- +++ b/toolkit/components/extensions/ExtensionPreferencesManager.jsm
- @@ -85,16 +85,21 @@ function initialValueCallback() {
- * @param {Object} setting
- * An object that represents a setting, which will have a setCallback
- * property.
- * @param {Object} item
- * An object that represents an item handed back from the setting store
- * from which the new pref values can be calculated.
- */
- function setPrefs(setting, item) {
- + try {
- + Cu.reportError("setting pref" + JSON.stringify(setting) + " " + JSON.stringify(item));
- + } catch (e) {
- + Cu.reportError("arse" + e);
- + }
- let prefs = item.initialValue || setting.setCallback(item.value);
- for (let pref in prefs) {
- if (prefs[pref] === undefined) {
- Preferences.reset(pref);
- } else {
- Preferences.set(pref, prefs[pref]);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement