diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 01:14:29 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 01:14:29 +0000 |
commit | fbaf0bb26397aa498eb9156f06d5a6fe34dd7dd8 (patch) | |
tree | 4c1ccaf5486d4f2009f9a338a98a83e886e29c97 /toolkit/components/passwordmgr/test/unit | |
parent | Releasing progress-linux version 124.0.1-1~progress7.99u1. (diff) | |
download | firefox-fbaf0bb26397aa498eb9156f06d5a6fe34dd7dd8.tar.xz firefox-fbaf0bb26397aa498eb9156f06d5a6fe34dd7dd8.zip |
Merging upstream version 125.0.1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'toolkit/components/passwordmgr/test/unit')
-rw-r--r-- | toolkit/components/passwordmgr/test/unit/test_LoginManagerParent_onPasswordEditedOrGenerated.js | 11 | ||||
-rw-r--r-- | toolkit/components/passwordmgr/test/unit/test_logins_change.js | 2 |
2 files changed, 5 insertions, 8 deletions
diff --git a/toolkit/components/passwordmgr/test/unit/test_LoginManagerParent_onPasswordEditedOrGenerated.js b/toolkit/components/passwordmgr/test/unit/test_LoginManagerParent_onPasswordEditedOrGenerated.js index bf665faaed..4001029c55 100644 --- a/toolkit/components/passwordmgr/test/unit/test_LoginManagerParent_onPasswordEditedOrGenerated.js +++ b/toolkit/components/passwordmgr/test/unit/test_LoginManagerParent_onPasswordEditedOrGenerated.js @@ -147,13 +147,10 @@ function checkEditTelemetryRecorded(expectedCount, msg) { object: "generatedpassword", }); const results = snapshot.parent.filter( - ([time, category, method, object]) => { - return ( - category === telemetryProps.category && - method === telemetryProps.method && - object === telemetryProps.object - ); - } + ([_time, category, method, object]) => + category === telemetryProps.category && + method === telemetryProps.method && + object === telemetryProps.object ); resultsCount = results.length; } diff --git a/toolkit/components/passwordmgr/test/unit/test_logins_change.js b/toolkit/components/passwordmgr/test/unit/test_logins_change.js index cc82d6cc0b..96ee38891f 100644 --- a/toolkit/components/passwordmgr/test/unit/test_logins_change.js +++ b/toolkit/components/passwordmgr/test/unit/test_logins_change.js @@ -157,7 +157,7 @@ add_task(async function event_data_includes_plaintext_username_and_password() { "nsIObserver", "nsISupportsWeakReference", ]), - observe(subject, topic, data) { + observe(subject, _topic, _data) { Assert.ok(subject instanceof Ci.nsILoginInfo); Assert.ok(subject instanceof Ci.nsILoginMetaInfo); Assert.equal( |