summaryrefslogtreecommitdiffstats
path: root/toolkit/components/aboutwebauthn/content
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-15 03:34:42 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-15 03:34:42 +0000
commitda4c7e7ed675c3bf405668739c3012d140856109 (patch)
treecdd868dba063fecba609a1d819de271f0d51b23e /toolkit/components/aboutwebauthn/content
parentAdding upstream version 125.0.3. (diff)
downloadfirefox-da4c7e7ed675c3bf405668739c3012d140856109.tar.xz
firefox-da4c7e7ed675c3bf405668739c3012d140856109.zip
Adding upstream version 126.0.upstream/126.0
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'toolkit/components/aboutwebauthn/content')
-rw-r--r--toolkit/components/aboutwebauthn/content/aboutWebauthn.js4
1 files changed, 2 insertions, 2 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);