summaryrefslogtreecommitdiffstats
path: root/browser/components/about
diff options
context:
space:
mode:
authortrav90 <travawine@protonmail.ch>2018-05-12 08:17:44 -0500
committertrav90 <travawine@protonmail.ch>2018-05-12 08:17:44 -0500
commit5909cef47a4aaf458e41e0d2a46b88972b934dff (patch)
treebb29a2fa48196df4ba33af890be6535c46ef3b2e /browser/components/about
parent2f359ed80ccb2cab440c0cda886404ed42ad9fdf (diff)
downloadUXP-5909cef47a4aaf458e41e0d2a46b88972b934dff.tar
UXP-5909cef47a4aaf458e41e0d2a46b88972b934dff.tar.gz
UXP-5909cef47a4aaf458e41e0d2a46b88972b934dff.tar.lz
UXP-5909cef47a4aaf458e41e0d2a46b88972b934dff.tar.xz
UXP-5909cef47a4aaf458e41e0d2a46b88972b934dff.zip
Make safebrowsing optional at build time - Part 1: browser/
Diffstat (limited to 'browser/components/about')
-rw-r--r--browser/components/about/AboutRedirector.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/browser/components/about/AboutRedirector.cpp b/browser/components/about/AboutRedirector.cpp
index 717ae9c48..8ddf19510 100644
--- a/browser/components/about/AboutRedirector.cpp
+++ b/browser/components/about/AboutRedirector.cpp
@@ -41,12 +41,14 @@ static RedirEntry kRedirMap[] = {
nsIAboutModule::HIDE_FROM_ABOUTABOUT
},
{
+#ifdef MOZ_SAFE_BROWSING
"blocked", "chrome://browser/content/blockedSite.xhtml",
nsIAboutModule::URI_SAFE_FOR_UNTRUSTED_CONTENT |
nsIAboutModule::URI_CAN_LOAD_IN_CHILD |
nsIAboutModule::ALLOW_SCRIPT |
nsIAboutModule::HIDE_FROM_ABOUTABOUT
},
+#endif
{
"certerror", "chrome://browser/content/aboutNetError.xhtml",
nsIAboutModule::URI_SAFE_FOR_UNTRUSTED_CONTENT |