summaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@gmail.com>2018-07-07 11:24:38 +0200
committerwolfbeast <mcwerewolf@gmail.com>2018-07-07 11:24:38 +0200
commite9f79994278968cc86698a7d90e05ca01201c441 (patch)
tree383e5af1c100504f9a3432d284d4238f0b1acdf6 /modules
parent0daa12376295d5d796256a116eb2a348a3a9273f (diff)
downloadUXP-e9f79994278968cc86698a7d90e05ca01201c441.tar
UXP-e9f79994278968cc86698a7d90e05ca01201c441.tar.gz
UXP-e9f79994278968cc86698a7d90e05ca01201c441.tar.lz
UXP-e9f79994278968cc86698a7d90e05ca01201c441.tar.xz
UXP-e9f79994278968cc86698a7d90e05ca01201c441.zip
Make the page visibility API pref-controlled.
This resolves #607.
Diffstat (limited to 'modules')
-rw-r--r--modules/libpref/init/all.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/libpref/init/all.js b/modules/libpref/init/all.js
index d135f9309..beab06aff 100644
--- a/modules/libpref/init/all.js
+++ b/modules/libpref/init/all.js
@@ -155,6 +155,9 @@ pref("dom.select_events.textcontrols.enabled", true);
pref("dom.select_events.textcontrols.enabled", false);
#endif
+// Whether or not the document visbility API is enabled
+pref("dom.visibilityAPI.enabled", true);
+
// Whether or not Web Workers are enabled.
pref("dom.workers.enabled", true);