From 1a7dbd242bcf2e53e8f492ca7101457100e57d29 Mon Sep 17 00:00:00 2001 From: JustOff Date: Tue, 12 Jun 2018 17:42:08 +0300 Subject: [PATCH] Fix incorrect preprocessor defines for safebrowsing --- .../components/preferences/in-content/privacy.js | 14 +++++++------- .../components/preferences/in-content/privacy.xul | 4 ++-- application/basilisk/components/preferences/jar.mn | 4 ++-- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/application/basilisk/components/preferences/in-content/privacy.js b/application/basilisk/components/preferences/in-content/privacy.js index fced02fe6b..eab606e364 100644 --- a/application/basilisk/components/preferences/in-content/privacy.js +++ b/application/basilisk/components/preferences/in-content/privacy.js @@ -22,7 +22,7 @@ var gPrivacyPane = { */ _shouldPromptForRestart: true, -#ifdef MOZ_SAFEBROWSING +#ifdef MOZ_SAFE_BROWSING /** * Show the Tracking Protection UI depending on the * privacy.trackingprotection.ui.enabled pref, and linkify its Learn More link @@ -131,7 +131,7 @@ var gPrivacyPane = { this.updateHistoryModePane(); this.updatePrivacyMicroControls(); this.initAutoStartPrivateBrowsingReverter(); -#ifdef MOZ_SAFEBROWSING +#ifdef MOZ_SAFE_BROWSING this._initTrackingProtection(); this._initTrackingProtectionPBM(); #endif @@ -160,7 +160,7 @@ var gPrivacyPane = { gPrivacyPane.clearPrivateDataNow(true); return false; }); -#ifdef MOZ_SAFEBROWSING +#ifdef MOZ_SAFE_BROWSING setEventListener("doNotTrackSettings", "click", function () { gPrivacyPane.showDoNotTrackSettings(); return false; @@ -174,7 +174,7 @@ var gPrivacyPane = { gPrivacyPane.showCookies); setEventListener("clearDataSettings", "command", gPrivacyPane.showClearPrivateDataSettings); -#ifdef MOZ_SAFEBROWSING +#ifdef MOZ_SAFE_BROWSING setEventListener("trackingProtectionRadioGroup", "command", gPrivacyPane.trackingProtectionWritePrefs); setEventListener("trackingProtectionExceptions", "command", @@ -190,7 +190,7 @@ var gPrivacyPane = { gPrivacyPane.showContainerSettings); }, -#ifdef MOZ_SAFEBROWSING +#ifdef MOZ_SAFE_BROWSING // TRACKING PROTECTION MODE /** @@ -472,7 +472,7 @@ var gPrivacyPane = { this._shouldPromptForRestart = true; }, -#ifdef MOZ_SAFEBROWSING +#ifdef MOZ_SAFE_BROWSING /** * Displays fine-grained, per-site preferences for tracking protection. */ @@ -496,7 +496,7 @@ var gPrivacyPane = { gotoPref("containers"); }, -#ifdef MOZ_SAFEBROWSING +#ifdef MOZ_SAFE_BROWSING /** * Displays the available block lists for tracking protection. */ diff --git a/application/basilisk/components/preferences/in-content/privacy.xul b/application/basilisk/components/preferences/in-content/privacy.xul index 8881a84feb..e6cdc5dd2c 100644 --- a/application/basilisk/components/preferences/in-content/privacy.xul +++ b/application/basilisk/components/preferences/in-content/privacy.xul @@ -10,7 +10,7 @@