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
commitafb56291d998171913afa6e1305c020bfecefdd1 (patch)
tree54eb8adec957fe5d5b9c138f691366c86cc85cb2 /modules/libpref
parent74d35985bf29411f11e8b11835c317b57cee6396 (diff)
parent145ec3e6d6a971edc225dbe05e8f550090598afc (diff)
downloaduxp-afb56291d998171913afa6e1305c020bfecefdd1.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