summaryrefslogtreecommitdiff
path: root/src/patches/iceweasel-branding/Determine-which-phishing-shavar-to-use-depending-on-.patch
diff options
context:
space:
mode:
Diffstat (limited to 'src/patches/iceweasel-branding/Determine-which-phishing-shavar-to-use-depending-on-.patch')
-rw-r--r--src/patches/iceweasel-branding/Determine-which-phishing-shavar-to-use-depending-on-.patch36
1 files changed, 0 insertions, 36 deletions
diff --git a/src/patches/iceweasel-branding/Determine-which-phishing-shavar-to-use-depending-on-.patch b/src/patches/iceweasel-branding/Determine-which-phishing-shavar-to-use-depending-on-.patch
deleted file mode 100644
index 2ff6677..0000000
--- a/src/patches/iceweasel-branding/Determine-which-phishing-shavar-to-use-depending-on-.patch
+++ /dev/null
@@ -1,36 +0,0 @@
-From: André Silva <emulatorman@parabola.nu>
-Date: Sat, 19 Nov 2016 02:54:21 -0300
-Subject: Determine which phishing shavar to use depending on
- MOZ_OFFICIAL_BRANDING
-
----
- modules/libpref/init/all.js | 4 +---
- modules/libpref/moz.build | 3 +++
- 2 files changed, 4 insertions(+), 3 deletions(-)
-
-diff --git a/modules/libpref/init/all.js b/modules/libpref/init/all.js
-index 11bfba3..ed817aa 100644
---- a/modules/libpref/init/all.js
-+++ b/modules/libpref/init/all.js
-@@ -5630,9 +5630,7 @@ pref("dom.mapped_arraybuffer.enabled", t
-
- // The tables used for Safebrowsing phishing and malware checks
- pref("urlclassifier.malwareTable", "goog-malware-proto,goog-unwanted-proto,test-harmful-simple,test-malware-simple,test-unwanted-simple");
--#ifdef MOZILLA_OFFICIAL
--// In official builds, we are allowed to use Google's private phishing
--// list (see bug 1288840).
-+#ifdef MOZ_OFFICIAL_BRANDING
- pref("urlclassifier.phishTable", "goog-phish-proto,test-phish-simple");
- #else
- pref("urlclassifier.phishTable", "googpub-phish-proto,test-phish-simple");
-diff --git a/modules/libpref/moz.build b/modules/libpref/moz.build
-index 1c2c13e..7783e9d 100644
---- a/modules/libpref/moz.build
-+++ b/modules/libpref/moz.build
-@@ -52,3 +52,6 @@ if CONFIG['MOZ_ENABLE_WEBRENDER']:
- FINAL_TARGET_PP_FILES += [
- 'greprefs.js',
- ]
-+
-+if CONFIG['MOZ_OFFICIAL_BRANDING']:
-+ DEFINES['MOZ_OFFICIAL_BRANDING'] = True