summaryrefslogtreecommitdiffstats
path: root/toolkit/modules/Troubleshoot.jsm
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@gmail.com>2018-04-08 12:24:27 +0200
committerwolfbeast <mcwerewolf@gmail.com>2018-04-08 12:24:27 +0200
commitbf6bb142fc5bcb49b053788e06160af304f639e5 (patch)
tree2b45b84a1b216d17c0911d6f228c1264fefc31e1 /toolkit/modules/Troubleshoot.jsm
parent309d1ca1f297e5ccf2309d6d90b82d558e5d426c (diff)
downloadUXP-bf6bb142fc5bcb49b053788e06160af304f639e5.tar
UXP-bf6bb142fc5bcb49b053788e06160af304f639e5.tar.gz
UXP-bf6bb142fc5bcb49b053788e06160af304f639e5.tar.lz
UXP-bf6bb142fc5bcb49b053788e06160af304f639e5.tar.xz
UXP-bf6bb142fc5bcb49b053788e06160af304f639e5.zip
Remove telemetry experiments framework
Diffstat (limited to 'toolkit/modules/Troubleshoot.jsm')
-rw-r--r--toolkit/modules/Troubleshoot.jsm19
1 files changed, 0 insertions, 19 deletions
diff --git a/toolkit/modules/Troubleshoot.jsm b/toolkit/modules/Troubleshoot.jsm
index cc545b4c4..f259d9ae9 100644
--- a/toolkit/modules/Troubleshoot.jsm
+++ b/toolkit/modules/Troubleshoot.jsm
@@ -12,13 +12,6 @@ Cu.import("resource://gre/modules/AddonManager.jsm");
Cu.import("resource://gre/modules/Services.jsm");
Cu.import("resource://gre/modules/AppConstants.jsm");
-var Experiments;
-try {
- Experiments = Cu.import("resource:///modules/experiments/Experiments.jsm").Experiments;
-}
-catch (e) {
-}
-
// We use a preferences whitelist to make sure we only show preferences that
// are useful for support and won't compromise the user's privacy. Note that
// entries are *prefixes*: for example, "accessibility." applies to all prefs
@@ -263,18 +256,6 @@ var dataProviders = {
});
},
- experiments: function experiments(done) {
- if (Experiments === undefined) {
- done([]);
- return;
- }
-
- // getExperiments promises experiment history
- Experiments.instance().getExperiments().then(
- experiments => done(experiments)
- );
- },
-
modifiedPreferences: function modifiedPreferences(done) {
done(getPrefList(name => Services.prefs.prefHasUserValue(name)));
},