Commits:
-
9514e0c6
by cypherpunks1 at 2023-01-24T14:20:38+00:00
fixup! Bug 31740: Remove some unnecessary RemoteSettings instances
Disable activity stream
-
fc08631d
by cypherpunks1 at 2023-01-24T14:20:38+00:00
fixup! Bug 40002: Remove about:ion
Remove this._monitorIonPref() and this._monitorIonStudies() from BrowserGlue
-
ad5720b0
by cypherpunks1 at 2023-01-24T14:20:39+00:00
fixup! Firefox preference overrides.
Disable toolkit.telemetry.enabled on all builds, set webextensions.storage.sync.enabled to false
2 changed files:
Changes:
browser/app/profile/001-base-profile.js
... |
... |
@@ -119,7 +119,7 @@ pref("datareporting.healthreport.uploadEnabled", false); |
119
|
119
|
pref("datareporting.policy.dataSubmissionEnabled", false);
|
120
|
120
|
// Make sure Unified Telemetry is really disabled, see: #18738.
|
121
|
121
|
pref("toolkit.telemetry.unified", false);
|
122
|
|
-pref("toolkit.telemetry.enabled", false);
|
|
122
|
+pref("toolkit.telemetry.enabled", false, locked);
|
123
|
123
|
pref("toolkit.telemetry.server", "data:,");
|
124
|
124
|
pref("toolkit.telemetry.archive.enabled", false);
|
125
|
125
|
pref("toolkit.telemetry.updatePing.enabled", false); // Make sure updater telemetry is disabled; see #25909.
|
... |
... |
@@ -419,6 +419,8 @@ pref("extensions.postDownloadThirdPartyPrompt", false); |
419
|
419
|
// Therefore, do not allow download of additional language packs. They are not a
|
420
|
420
|
// privacy/security threat, we are disabling them for UX reasons. See bug 41377.
|
421
|
421
|
pref("intl.multilingual.downloadEnabled", false);
|
|
422
|
+// Disk activity: Disable storage.sync (tor-browser#41424)
|
|
423
|
+pref("webextensions.storage.sync.enabled", false);
|
422
|
424
|
|
423
|
425
|
// Toolbar layout
|
424
|
426
|
pref("browser.uiCustomization.state", "{\"placements\":{\"widget-overflow-fixed-list\":[],\"PersonalToolbar\":[\"personal-bookmarks\"],\"nav-bar\":[\"back-button\",\"forward-button\",\"stop-reload-button\",\"urlbar-container\",\"security-level-button\",\"new-identity-button\",\"downloads-button\"],\"TabsToolbar\":[\"tabbrowser-tabs\",\"new-tab-button\",\"alltabs-button\"],\"toolbar-menubar\":[\"menubar-items\"],\"PanelUI-contents\":[\"home-button\",\"edit-controls\",\"zoom-controls\",\"new-window-button\",\"save-page-button\",\"print-button\",\"bookmarks-menu-button\",\"history-panelmenu\",\"find-button\",\"preferences-button\",\"add-ons-button\",\"developer-button\"],\"addon-bar\":[\"addonbar-closebutton\",\"status-bar\"]},\"seen\":[\"developer-button\"],\"dirtyAreaCache\":[\"PersonalToolbar\",\"nav-bar\",\"TabsToolbar\",\"toolbar-menubar\"],\"currentVersion\":14,\"newElementCount\":1}");
|
browser/components/BrowserGlue.jsm
... |
... |
@@ -21,9 +21,6 @@ XPCOMUtils.defineLazyModuleGetters(this, { |
21
|
21
|
ActorManagerParent: "resource://gre/modules/ActorManagerParent.jsm",
|
22
|
22
|
AddonManager: "resource://gre/modules/AddonManager.jsm",
|
23
|
23
|
AppMenuNotifications: "resource://gre/modules/AppMenuNotifications.jsm",
|
24
|
|
- ASRouterDefaultConfig:
|
25
|
|
- "resource://activity-stream/lib/ASRouterDefaultConfig.jsm",
|
26
|
|
- ASRouterNewTabHook: "resource://activity-stream/lib/ASRouterNewTabHook.jsm",
|
27
|
24
|
ASRouter: "resource://activity-stream/lib/ASRouter.jsm",
|
28
|
25
|
AsyncShutdown: "resource://gre/modules/AsyncShutdown.jsm",
|
29
|
26
|
BackgroundUpdate: "resource://gre/modules/BackgroundUpdate.jsm",
|
... |
... |
@@ -738,27 +735,6 @@ let JSWINDOWACTORS = { |
738
|
735
|
matches: ["about:studies*"],
|
739
|
736
|
},
|
740
|
737
|
|
741
|
|
- ASRouter: {
|
742
|
|
- parent: {
|
743
|
|
- moduleURI: "resource:///actors/ASRouterParent.jsm",
|
744
|
|
- },
|
745
|
|
- child: {
|
746
|
|
- moduleURI: "resource:///actors/ASRouterChild.jsm",
|
747
|
|
- events: {
|
748
|
|
- // This is added so the actor instantiates immediately and makes
|
749
|
|
- // methods available to the page js on load.
|
750
|
|
- DOMDocElementInserted: {},
|
751
|
|
- },
|
752
|
|
- },
|
753
|
|
- matches: [
|
754
|
|
- "about:home*",
|
755
|
|
- "about:newtab*",
|
756
|
|
- "about:welcome*",
|
757
|
|
- "about:privatebrowsing",
|
758
|
|
- ],
|
759
|
|
- remoteTypes: ["privilegedabout"],
|
760
|
|
- },
|
761
|
|
-
|
762
|
738
|
SwitchDocumentDirection: {
|
763
|
739
|
child: {
|
764
|
740
|
moduleURI: "resource:///actors/SwitchDocumentDirectionChild.jsm",
|
... |
... |
@@ -2058,7 +2034,6 @@ BrowserGlue.prototype = { |
2058
|
2034
|
() => NewTabUtils.uninit(),
|
2059
|
2035
|
() => Normandy.uninit(),
|
2060
|
2036
|
() => RFPHelper.uninit(),
|
2061
|
|
- () => ASRouterNewTabHook.destroy(),
|
2062
|
2037
|
() => UpdateListener.reset(),
|
2063
|
2038
|
() => OnionAliasStore.uninit(),
|
2064
|
2039
|
];
|
... |
... |
@@ -2400,8 +2375,6 @@ BrowserGlue.prototype = { |
2400
|
2375
|
this._monitorScreenshotsPref();
|
2401
|
2376
|
this._monitorWebcompatReporterPref();
|
2402
|
2377
|
this._monitorHTTPSOnlyPref();
|
2403
|
|
- this._monitorIonPref();
|
2404
|
|
- this._monitorIonStudies();
|
2405
|
2378
|
this._setupSearchDetection();
|
2406
|
2379
|
|
2407
|
2380
|
this._monitorGPCPref();
|
... |
... |
@@ -2797,12 +2770,6 @@ BrowserGlue.prototype = { |
2797
|
2770
|
},
|
2798
|
2771
|
},
|
2799
|
2772
|
|
2800
|
|
- {
|
2801
|
|
- task: () => {
|
2802
|
|
- ASRouterNewTabHook.createInstance(ASRouterDefaultConfig());
|
2803
|
|
- },
|
2804
|
|
- },
|
2805
|
|
-
|
2806
|
2773
|
{
|
2807
|
2774
|
condition: AppConstants.MOZ_UPDATE_AGENT,
|
2808
|
2775
|
task: () => {
|
|