diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 01:13:33 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 01:13:33 +0000 |
commit | 086c044dc34dfc0f74fbe41f4ecb402b2cd34884 (patch) | |
tree | a4f824bd33cb075dd5aa3eb5a0a94af221bbe83a /browser/components/preferences/privacy.js | |
parent | Adding debian version 124.0.1-1. (diff) | |
download | firefox-086c044dc34dfc0f74fbe41f4ecb402b2cd34884.tar.xz firefox-086c044dc34dfc0f74fbe41f4ecb402b2cd34884.zip |
Merging upstream version 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 |