summaryrefslogtreecommitdiff
path: root/modules/libpref
diff options
context:
space:
mode:
authorMoonchild <mcwerewolf@gmail.com>2018-08-01 08:01:19 +0200
committerGitHub <noreply@github.com>2018-08-01 08:01:19 +0200
commitddb2b976802181e05cb37a94480e9fb42ae6708a (patch)
tree54eb8adec957fe5d5b9c138f691366c86cc85cb2 /modules/libpref
parentb450f90cd7b24a0a965f65068d8f7196805ee35f (diff)
parent66d949a329c6d71f1aadbc9c7539937bb9819d94 (diff)
downloaduxp-ddb2b976802181e05cb37a94480e9fb42ae6708a.tar.gz
Merge pull request #685 from trav90/default-pref-updates
Disable battery API by default
Diffstat (limited to 'modules/libpref')
-rw-r--r--modules/libpref/init/all.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/libpref/init/all.js b/modules/libpref/init/all.js
index 83a46f54ab..ceecaa84e7 100644
--- a/modules/libpref/init/all.js
+++ b/modules/libpref/init/all.js
@@ -4714,7 +4714,8 @@ pref("dom.vibrator.max_vibrate_ms", 10000);
pref("dom.vibrator.max_vibrate_list_len", 128);
// Battery API
-pref("dom.battery.enabled", true);
+// Disabled by default to reduce private data exposure.
+pref("dom.battery.enabled", false);
// Push