File tree Expand file tree Collapse file tree 2 files changed +3
-14
lines changed
browser/components/attribution
toolkit/components/nimbus Expand file tree Collapse file tree 2 files changed +3
-14
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,6 @@ import { AppConstants } from "resource://gre/modules/AppConstants.sys.mjs";
16
16
const lazy = { } ;
17
17
ChromeUtils . defineESModuleGetters ( lazy , {
18
18
MacAttribution : "resource:///modules/MacAttribution.sys.mjs" ,
19
- NimbusFeatures : "resource://nimbus/ExperimentAPI.sys.mjs" ,
20
19
UpdateUtils : "resource://gre/modules/UpdateUtils.sys.mjs" ,
21
20
} ) ;
22
21
ChromeUtils . defineLazyGetter ( lazy , "log" , ( ) => {
@@ -238,13 +237,13 @@ export var AttributionCode = {
238
237
return gCachedAttrData ;
239
238
}
240
239
241
- // This is a temporary block while we rollout macOS attribution .
240
+ // This is a temporary block until we're ready to enable macOS reporting by default .
242
241
if (
243
242
AppConstants . platform == "macosx" &&
244
- ! lazy . NimbusFeatures . attribution . getVariable ( "macosEnabled ")
243
+ ! Services . prefs . getBoolPref ( "browser.attribution.macos.enabled ")
245
244
) {
246
245
lazy . log . debug (
247
- "getAttrDataSync: macOS attribution disabled by nimbus ; skipping"
246
+ "getAttrDataSync: macOS attribution disabled by pref ; skipping"
248
247
) ;
249
248
return { } ;
250
249
}
Original file line number Diff line number Diff line change @@ -1971,16 +1971,6 @@ feltPrivacy:
1971
1971
description : >-
1972
1972
Enables the reset PBM feature button and confirmation panel.
1973
1973
1974
- attribution :
1975
- description : Prefs related to install attribution
1976
- hasExposure : false
1977
- isEarlyStartup : true
1978
- variables :
1979
- macosEnabled :
1980
- type : boolean
1981
- description : Whether or not macOS attribution data will be processed and sent in Telemetry
1982
- fallbackPref : browser.attribution.macos.enabled
1983
-
1984
1974
phc :
1985
1975
description : Prefs to control the Probabalistic Heap Checker (PHC)
1986
1976
owner : pbone@mozilla.com
You can’t perform that action at this time.
0 commit comments