summaryrefslogtreecommitdiffstats
path: root/modules/libpref/init
diff options
context:
space:
mode:
authortrav90 <travawine@protonmail.ch>2018-05-12 08:32:13 -0500
committertrav90 <travawine@protonmail.ch>2018-05-12 13:07:29 -0500
commit41d68e3f70b0aabc01cf9a49c43cf1aab0f4bdce (patch)
treeab1812ebad2c2f5eb46010b8af880ad022e054db /modules/libpref/init
parente07abdd2822f11b1cc10705ee47734b848acb0ce (diff)
downloadUXP-41d68e3f70b0aabc01cf9a49c43cf1aab0f4bdce.tar
UXP-41d68e3f70b0aabc01cf9a49c43cf1aab0f4bdce.tar.gz
UXP-41d68e3f70b0aabc01cf9a49c43cf1aab0f4bdce.tar.lz
UXP-41d68e3f70b0aabc01cf9a49c43cf1aab0f4bdce.tar.xz
UXP-41d68e3f70b0aabc01cf9a49c43cf1aab0f4bdce.zip
Make safebrowsing optional at build time - Part 5: preferences
Diffstat (limited to 'modules/libpref/init')
-rw-r--r--modules/libpref/init/all.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/libpref/init/all.js b/modules/libpref/init/all.js
index 59476b9de..f901462b4 100644
--- a/modules/libpref/init/all.js
+++ b/modules/libpref/init/all.js
@@ -5010,6 +5010,7 @@ pref("dom.flyweb.enabled", false);
// Enable mapped array buffer by default.
pref("dom.mapped_arraybuffer.enabled", true);
+#ifdef MOZ_SAFE_BROWSING
// The tables used for Safebrowsing phishing and malware checks.
pref("urlclassifier.malwareTable", "goog-malware-shavar,goog-unwanted-shavar,test-malware-simple,test-unwanted-simple");
@@ -5117,6 +5118,7 @@ pref("browser.safebrowsing.id", "navclient-auto-ffox");
#else
pref("browser.safebrowsing.id", "Firefox");
#endif
+#endif
// Turn off Spatial navigation by default.
pref("snav.enabled", false);