From 66d949a329c6d71f1aadbc9c7539937bb9819d94 Mon Sep 17 00:00:00 2001 From: trav90 Date: Tue, 31 Jul 2018 21:41:57 -0500 Subject: Disable battery API by default to reduce private data exposure to the web --- modules/libpref/init/all.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'modules/libpref/init') 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 -- cgit v1.2.3