summaryrefslogtreecommitdiffstats
path: root/modules/libpref
diff options
context:
space:
mode:
authorJustOff <Off.Just.Off@gmail.com>2018-08-22 13:40:19 +0300
committerJustOff <Off.Just.Off@gmail.com>2018-08-22 13:40:19 +0300
commitde50d15d2800e947fb800a9a318969cebddceb67 (patch)
tree349cfd35c9ec529612969a219b8df53eb7b9856c /modules/libpref
parentd39cf6a1125c4103bd98e0c26c04233317c4ec63 (diff)
downloadUXP-de50d15d2800e947fb800a9a318969cebddceb67.tar
UXP-de50d15d2800e947fb800a9a318969cebddceb67.tar.gz
UXP-de50d15d2800e947fb800a9a318969cebddceb67.tar.lz
UXP-de50d15d2800e947fb800a9a318969cebddceb67.tar.xz
UXP-de50d15d2800e947fb800a9a318969cebddceb67.zip
Use "browser.newtabpage.add_to_session_history" to decide whether to store "about:newtab" in the session history
Diffstat (limited to 'modules/libpref')
-rw-r--r--modules/libpref/init/all.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/libpref/init/all.js b/modules/libpref/init/all.js
index 6eddfe7a2..1a67293e4 100644
--- a/modules/libpref/init/all.js
+++ b/modules/libpref/init/all.js
@@ -247,6 +247,10 @@ pref("dom.compartment_per_addon", true);
// of content viewers to cache based on the amount of available memory.
pref("browser.sessionhistory.max_total_viewers", -1);
+// Whether to store 'about:newtab' in the session history, disabled by default.
+// See https://github.com/MoonchildProductions/UXP/issues/719
+pref("browser.newtabpage.add_to_session_history", false);
+
pref("ui.use_native_colors", true);
pref("ui.click_hold_context_menus", false);
// Duration of timeout of incremental search in menus (ms). 0 means infinite.