summaryrefslogtreecommitdiffstats
path: root/application/basilisk/components/preferences/in-content/privacy.js
diff options
context:
space:
mode:
authorJustOff <Off.Just.Off@gmail.com>2018-06-12 17:42:08 +0300
committerwolfbeast <mcwerewolf@gmail.com>2018-06-12 22:31:41 +0200
commit7a1e7c82779cc41f3ca1afc2112c60e23207d5fd (patch)
treef3932b90befd891ead5ba98301ea70a09daf9ff2 /application/basilisk/components/preferences/in-content/privacy.js
parent7336eef241d22d4420b270bb5aa7e5692251455d (diff)
downloadUXP-7a1e7c82779cc41f3ca1afc2112c60e23207d5fd.tar
UXP-7a1e7c82779cc41f3ca1afc2112c60e23207d5fd.tar.gz
UXP-7a1e7c82779cc41f3ca1afc2112c60e23207d5fd.tar.lz
UXP-7a1e7c82779cc41f3ca1afc2112c60e23207d5fd.tar.xz
UXP-7a1e7c82779cc41f3ca1afc2112c60e23207d5fd.zip
Fix incorrect preprocessor defines for safebrowsing
Diffstat (limited to 'application/basilisk/components/preferences/in-content/privacy.js')
-rw-r--r--application/basilisk/components/preferences/in-content/privacy.js14
1 files changed, 7 insertions, 7 deletions
diff --git a/application/basilisk/components/preferences/in-content/privacy.js b/application/basilisk/components/preferences/in-content/privacy.js
index fced02fe6..eab606e36 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.
*/