diff options
author | wolfbeast <mcwerewolf@gmail.com> | 2018-04-08 12:24:27 +0200 |
---|---|---|
committer | wolfbeast <mcwerewolf@gmail.com> | 2018-04-08 12:24:27 +0200 |
commit | bf6bb142fc5bcb49b053788e06160af304f639e5 (patch) | |
tree | 2b45b84a1b216d17c0911d6f228c1264fefc31e1 /browser/experiments/test/xpcshell/test_telemetry_disabled.js | |
parent | 309d1ca1f297e5ccf2309d6d90b82d558e5d426c (diff) | |
download | UXP-bf6bb142fc5bcb49b053788e06160af304f639e5.tar UXP-bf6bb142fc5bcb49b053788e06160af304f639e5.tar.gz UXP-bf6bb142fc5bcb49b053788e06160af304f639e5.tar.lz UXP-bf6bb142fc5bcb49b053788e06160af304f639e5.tar.xz UXP-bf6bb142fc5bcb49b053788e06160af304f639e5.zip |
Remove telemetry experiments framework
Diffstat (limited to 'browser/experiments/test/xpcshell/test_telemetry_disabled.js')
-rw-r--r-- | browser/experiments/test/xpcshell/test_telemetry_disabled.js | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/browser/experiments/test/xpcshell/test_telemetry_disabled.js b/browser/experiments/test/xpcshell/test_telemetry_disabled.js deleted file mode 100644 index 74f85ccfc..000000000 --- a/browser/experiments/test/xpcshell/test_telemetry_disabled.js +++ /dev/null @@ -1,21 +0,0 @@ -/* Any copyright is dedicated to the Public Domain. - * http://creativecommons.org/publicdomain/zero/1.0/ */ - -"use strict"; - -Cu.import("resource:///modules/experiments/Experiments.jsm"); - -add_test(function test_experiments_activation() { - do_get_profile(); - loadAddonManager(); - - Services.prefs.setBoolPref(PREF_EXPERIMENTS_ENABLED, true); - Services.prefs.setBoolPref(PREF_TELEMETRY_ENABLED, false); - - let experiments = Experiments.instance(); - Assert.ok(!experiments.enabled, "Experiments must be disabled if Telemetry is disabled."); - - // TODO: Test that Experiments are turned back on when bug 1232648 lands. - - run_next_test(); -}); |