diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 01:13:27 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 01:13:27 +0000 |
commit | 40a355a42d4a9444dc753c04c6608dade2f06a23 (patch) | |
tree | 871fc667d2de662f171103ce5ec067014ef85e61 /browser/components/preferences/privacy.js | |
parent | Adding upstream version 124.0.1. (diff) | |
download | firefox-adbda400be353e676059e335c3c0aaf99e719475.tar.xz firefox-adbda400be353e676059e335c3c0aaf99e719475.zip |
Adding upstream version 125.0.1.upstream/125.0.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'browser/components/preferences/privacy.js')
-rw-r--r-- | browser/components/preferences/privacy.js | 13 |
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 |