summaryrefslogtreecommitdiffstats
path: root/browser/components/preferences/privacy.js
diff options
context:
space:
mode:
Diffstat (limited to 'browser/components/preferences/privacy.js')
-rw-r--r--browser/components/preferences/privacy.js13
1 files changed, 3 insertions, 10 deletions
diff --git a/browser/components/preferences/privacy.js b/browser/components/preferences/privacy.js
index 178bc560c7..3b07b9cabf 100644
--- a/browser/components/preferences/privacy.js
+++ b/browser/components/preferences/privacy.js
@@ -435,7 +435,7 @@ var gPrivacyPane = {
);
let trackingProtectionObserver = {
- observe(subject, topic, data) {
+ observe() {
gPrivacyPane._updateTrackingProtectionUI();
},
};
@@ -3230,13 +3230,6 @@ var gPrivacyPane = {
"toolkit.crashreporter.infoURL",
"crashReporterLearnMore"
);
- setEventListener("crashReporterLabel", "click", function (event) {
- if (event.target.localName == "a") {
- return;
- }
- const checkboxId = event.target.getAttribute("for");
- document.getElementById(checkboxId).click();
- });
},
initPrivacySegmentation() {
@@ -3317,7 +3310,7 @@ var gPrivacyPane = {
* Initialize the opt-out-study preference checkbox into about:preferences and
* handles events coming from the UI for it.
*/
- initOptOutStudyCheckbox(doc) {
+ initOptOutStudyCheckbox() {
// The checkbox should be disabled if any of the below are true. This
// prevents the user from changing the value in the box.
//
@@ -3361,7 +3354,7 @@ var gPrivacyPane = {
});
},
- observe(aSubject, aTopic, aData) {
+ observe(aSubject, aTopic) {
switch (aTopic) {
case "sitedatamanager:updating-sites":
// While updating, we want to disable this section and display loading message until updated