diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-15 03:35:49 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-15 03:35:49 +0000 |
commit | d8bbc7858622b6d9c278469aab701ca0b609cddf (patch) | |
tree | eff41dc61d9f714852212739e6b3738b82a2af87 /toolkit/components/aboutwebauthn | |
parent | Releasing progress-linux version 125.0.3-1~progress7.99u1. (diff) | |
download | firefox-d8bbc7858622b6d9c278469aab701ca0b609cddf.tar.xz firefox-d8bbc7858622b6d9c278469aab701ca0b609cddf.zip |
Merging upstream version 126.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'toolkit/components/aboutwebauthn')
-rw-r--r-- | toolkit/components/aboutwebauthn/content/aboutWebauthn.js | 4 | ||||
-rw-r--r-- | toolkit/components/aboutwebauthn/tests/browser/browser_aboutwebauthn_credentials.js | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/toolkit/components/aboutwebauthn/content/aboutWebauthn.js b/toolkit/components/aboutwebauthn/content/aboutWebauthn.js index 9142ed198a..6232a30936 100644 --- a/toolkit/components/aboutwebauthn/content/aboutWebauthn.js +++ b/toolkit/components/aboutwebauthn/content/aboutWebauthn.js @@ -546,7 +546,7 @@ function sidebar_set_disabled(disabled) { }); } -function check_pin_repeat_is_correct(button) { +function check_pin_repeat_is_correct() { let pin = document.getElementById("new-pin"); let pin_repeat = document.getElementById("new-pin-repeat"); let has_current_pin = !document.getElementById("current-pin-div").hidden; @@ -853,7 +853,7 @@ try { Ci.nsIWebAuthnService ); document.addEventListener("DOMContentLoaded", onLoad); - window.addEventListener("beforeunload", event => { + window.addEventListener("beforeunload", () => { AboutWebauthnManagerJS.uninit(); if (AboutWebauthnService) { AboutWebauthnService.cancel(0); diff --git a/toolkit/components/aboutwebauthn/tests/browser/browser_aboutwebauthn_credentials.js b/toolkit/components/aboutwebauthn/tests/browser/browser_aboutwebauthn_credentials.js index ff45ea2962..e2b01d67ef 100644 --- a/toolkit/components/aboutwebauthn/tests/browser/browser_aboutwebauthn_credentials.js +++ b/toolkit/components/aboutwebauthn/tests/browser/browser_aboutwebauthn_credentials.js @@ -24,7 +24,7 @@ registerCleanupFunction(async function () { function send_credential_list(credlist) { let num_of_creds = 0; credlist.forEach(domain => { - domain.credentials.forEach(c => { + domain.credentials.forEach(() => { num_of_creds += 1; }); }); |