From cbd52d48fa2524beb37b506b55a315b49f026a1e Mon Sep 17 00:00:00 2001 From: wolfbeast Date: Sat, 7 Jul 2018 11:24:38 +0200 Subject: Make the page visibility API pref-controlled. This resolves #607. --- modules/libpref/init/all.js | 3 +++ 1 file changed, 3 insertions(+) (limited to 'modules') diff --git a/modules/libpref/init/all.js b/modules/libpref/init/all.js index d135f93099..beab06aff5 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); -- cgit v1.2.3