summaryrefslogtreecommitdiffstats
path: root/modules/libpref/test/unit
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 01:13:27 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 01:13:27 +0000
commit40a355a42d4a9444dc753c04c6608dade2f06a23 (patch)
tree871fc667d2de662f171103ce5ec067014ef85e61 /modules/libpref/test/unit
parentAdding upstream version 124.0.1. (diff)
downloadfirefox-upstream/125.0.1.tar.xz
firefox-upstream/125.0.1.zip
Adding upstream version 125.0.1.upstream/125.0.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'modules/libpref/test/unit')
-rw-r--r--modules/libpref/test/unit/test_bug345529.js2
-rw-r--r--modules/libpref/test/unit/test_bug577950.js2
2 files changed, 2 insertions, 2 deletions
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.
},
};