From 40a355a42d4a9444dc753c04c6608dade2f06a23 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 19 Apr 2024 03:13:27 +0200 Subject: Adding upstream version 125.0.1. Signed-off-by: Daniel Baumann --- dom/filesystem/tests/script_promptHandler.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'dom/filesystem/tests/script_promptHandler.js') diff --git a/dom/filesystem/tests/script_promptHandler.js b/dom/filesystem/tests/script_promptHandler.js index ed3bda7404..235842b455 100644 --- a/dom/filesystem/tests/script_promptHandler.js +++ b/dom/filesystem/tests/script_promptHandler.js @@ -2,17 +2,17 @@ let dialogObserverTopic = "common-dialog-loaded"; -function dialogObserver(subj, topic, data) { +function dialogObserver(subj) { subj.document.querySelector("dialog").acceptDialog(); sendAsyncMessage("promptAccepted"); } -addMessageListener("init", message => { +addMessageListener("init", () => { Services.obs.addObserver(dialogObserver, dialogObserverTopic); sendAsyncMessage("initDone"); }); -addMessageListener("cleanup", message => { +addMessageListener("cleanup", () => { Services.obs.removeObserver(dialogObserver, dialogObserverTopic); sendAsyncMessage("cleanupDone"); }); -- cgit v1.2.3