5

Bug 1635068: fix removed dead pref extensions.screenshots.upload-disabled and un...

 3 years ago
source link: https://phabricator.services.mozilla.com/D112010
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client
Diff 427272

browser/app/profile/firefox.js

Show First 20 LinesShow All 1,987 Lines▼ Show 20 Linespref("extensions.formautofill.reauth.enabled", false); pref("extensions.formautofill.reauth.enabled", false);

// Whether or not to restore a session with lazy-browser tabs. // Whether or not to restore a session with lazy-browser tabs. pref("browser.sessionstore.restore_tabs_lazily", true); pref("browser.sessionstore.restore_tabs_lazily", true);

pref("browser.suppress_first_window_animation", true); pref("browser.suppress_first_window_animation", true);

// Preference that allows individual users to disable Screenshots. // Preference that allows individual users to disable Screenshots. pref("extensions.screenshots.disabled", false); pref("extensions.screenshots.disabled", false); // Preference that allows individual users to leave Screenshots enabled, but // disable uploading to the server. pref("extensions.screenshots.upload-disabled", false);

Please remove this comment as well

// DoH Rollout: whether to enable automatic performance-based TRR-selection. // DoH Rollout: whether to enable automatic performance-based TRR-selection. // This pref is controlled by a Normandy rollout so we don't overload providers. // This pref is controlled by a Normandy rollout so we don't overload providers. pref("doh-rollout.trr-selection.enabled", false); pref("doh-rollout.trr-selection.enabled", false);

// DoH Rollout: whether to enable automatic steering to provider endpoints. // DoH Rollout: whether to enable automatic steering to provider endpoints. // This pref is also controlled by a Normandy rollout. // This pref is also controlled by a Normandy rollout. pref("doh-rollout.provider-steering.enabled", true); pref("doh-rollout.provider-steering.enabled", true);

▲ Show 20 LinesShow All 528 LinesShow Last 20 Lines

browser/extensions/screenshots/experiments/screenshots/api.js

Show All 29 Lines return { // 'default' - local builds from source // 'default' - local builds from source // 'nightly-try' - nightly Try builds (QA may occasionally need to test with these) // 'nightly-try' - nightly Try builds (QA may occasionally need to test with these) getUpdateChannel() { getUpdateChannel() { return AppConstants.MOZ_UPDATE_CHANNEL; return AppConstants.MOZ_UPDATE_CHANNEL; }, }, isHistoryEnabled() { isHistoryEnabled() { return Services.prefs.getBoolPref("places.history.enabled", true); return Services.prefs.getBoolPref("places.history.enabled", true); }, }, isUploadDisabled() { return Services.prefs.getBoolPref( "extensions.screenshots.upload-disabled", false ); }, setIcon: isActive => { setIcon: isActive => { Services.obs.notifyObservers( Services.obs.notifyObservers( null, null, "toggle-screenshot-disable", "toggle-screenshot-disable", isActive isActive ); ); }, }, onScreenshotCommand: new EventManager({ onScreenshotCommand: new EventManager({ Show All 18 Lines

browser/extensions/screenshots/experiments/screenshots/schema.json

Show All 12 Lines "functions": [ { { "name": "isHistoryEnabled", "name": "isHistoryEnabled", "type": "function", "type": "function", "description": "Returns the value of the 'places.history.enabled' preference", "description": "Returns the value of the 'places.history.enabled' preference", "parameters": [], "parameters": [], "async": true "async": true }, }, { { "name": "isUploadDisabled", "type": "function", "description": "Returns the value of the 'extensions.screenshots.upload-disabled' preference", "parameters": [], "async": true }, { "name": "setIcon", "name": "setIcon", "type": "function", "type": "function", "description": "Disables or enables the screenshot toolbar button", "description": "Disables or enables the screenshot toolbar button", "parameters": [ "parameters": [ { { "name": "isActive", "name": "isActive", "type": "boolean" "type": "boolean" } } Show All 19 Lines

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK