summaryrefslogtreecommitdiffstats
path: root/dom/filesystem/tests/script_promptHandler.js
diff options
context:
space:
mode:
Diffstat (limited to 'dom/filesystem/tests/script_promptHandler.js')
-rw-r--r--dom/filesystem/tests/script_promptHandler.js6
1 files changed, 3 insertions, 3 deletions
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");
});