summaryrefslogtreecommitdiffstats
path: root/modules/libpref/init/all.js
diff options
context:
space:
mode:
authortrav90 <travawine@palemoon.org>2018-07-31 21:41:57 -0500
committertrav90 <travawine@palemoon.org>2018-07-31 21:41:57 -0500
commit66d949a329c6d71f1aadbc9c7539937bb9819d94 (patch)
tree8b637ee1837228be7a7465cb3a8966a1cf4f05bd /modules/libpref/init/all.js
parenta92253e8d3d41484137115281d24a90ecd51c1be (diff)
downloadUXP-66d949a329c6d71f1aadbc9c7539937bb9819d94.tar
UXP-66d949a329c6d71f1aadbc9c7539937bb9819d94.tar.gz
UXP-66d949a329c6d71f1aadbc9c7539937bb9819d94.tar.lz
UXP-66d949a329c6d71f1aadbc9c7539937bb9819d94.tar.xz
UXP-66d949a329c6d71f1aadbc9c7539937bb9819d94.zip
Disable battery API by default to reduce private data exposure to the web
Diffstat (limited to 'modules/libpref/init/all.js')
-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 73f7e76d7..4751b4544 100644
--- a/modules/libpref/init/all.js
+++ b/modules/libpref/init/all.js
@@ -4718,7 +4718,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