diff options
author | trav90 <travawine@palemoon.org> | 2018-07-31 21:41:57 -0500 |
---|---|---|
committer | trav90 <travawine@palemoon.org> | 2018-07-31 21:41:57 -0500 |
commit | 66d949a329c6d71f1aadbc9c7539937bb9819d94 (patch) | |
tree | 8b637ee1837228be7a7465cb3a8966a1cf4f05bd /modules/libpref | |
parent | a92253e8d3d41484137115281d24a90ecd51c1be (diff) | |
download | UXP-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')
-rw-r--r-- | modules/libpref/init/all.js | 3 |
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 |