summaryrefslogtreecommitdiffstats
path: root/modules/libpref/test
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 01:13:33 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 01:13:33 +0000
commit086c044dc34dfc0f74fbe41f4ecb402b2cd34884 (patch)
treea4f824bd33cb075dd5aa3eb5a0a94af221bbe83a /modules/libpref/test
parentAdding debian version 124.0.1-1. (diff)
downloadfirefox-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 'modules/libpref/test')
-rw-r--r--modules/libpref/test/browser/browser_sanitization_events.js2
-rw-r--r--modules/libpref/test/unit/test_bug345529.js2
-rw-r--r--modules/libpref/test/unit/test_bug577950.js2
3 files changed, 3 insertions, 3 deletions
diff --git a/modules/libpref/test/browser/browser_sanitization_events.js b/modules/libpref/test/browser/browser_sanitization_events.js
index f71bd04879..5373478523 100644
--- a/modules/libpref/test/browser/browser_sanitization_events.js
+++ b/modules/libpref/test/browser/browser_sanitization_events.js
@@ -51,7 +51,7 @@ add_task(async function sanitized_pref_test() {
await BrowserTestUtils.withNewTab(
{ gBrowser, url: PAGE_URL },
- async function (browser) {}
+ async function () {}
);
// Needed because otherwise we advance too quickly
diff --git a/modules/libpref/test/unit/test_bug345529.js b/modules/libpref/test/unit/test_bug345529.js
index 05fce35f57..21a4fa5fa7 100644
--- a/modules/libpref/test/unit/test_bug345529.js
+++ b/modules/libpref/test/unit/test_bug345529.js
@@ -9,7 +9,7 @@ function run_test() {
var observer = {
QueryInterface: ChromeUtils.generateQI(["nsIObserver"]),
- observe: function observe(aSubject, aTopic, aState) {
+ observe: function observe() {
Services.prefs.removeObserver(PREF_NAME, observer);
},
};
diff --git a/modules/libpref/test/unit/test_bug577950.js b/modules/libpref/test/unit/test_bug577950.js
index f9106a349f..0da37b3a78 100644
--- a/modules/libpref/test/unit/test_bug577950.js
+++ b/modules/libpref/test/unit/test_bug577950.js
@@ -6,7 +6,7 @@ function run_test() {
var observer = {
QueryInterface: ChromeUtils.generateQI(["nsIObserver"]),
- observe: function observe(aSubject, aTopic, aState) {
+ observe: function observe() {
// Don't do anything.
},
};