summaryrefslogtreecommitdiffstats
path: root/uriloader/exthandler/tests/mochitest/browser_local_files_open_doesnt_duplicate.js
diff options
context:
space:
mode:
Diffstat (limited to 'uriloader/exthandler/tests/mochitest/browser_local_files_open_doesnt_duplicate.js')
-rw-r--r--uriloader/exthandler/tests/mochitest/browser_local_files_open_doesnt_duplicate.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/uriloader/exthandler/tests/mochitest/browser_local_files_open_doesnt_duplicate.js b/uriloader/exthandler/tests/mochitest/browser_local_files_open_doesnt_duplicate.js
index d8e7c87c10..e708dd1acf 100644
--- a/uriloader/exthandler/tests/mochitest/browser_local_files_open_doesnt_duplicate.js
+++ b/uriloader/exthandler/tests/mochitest/browser_local_files_open_doesnt_duplicate.js
@@ -41,7 +41,7 @@ add_task(async function open_from_dialog() {
let openingPromise = TestUtils.topicObserved(
"test-only-opening-downloaded-file",
- (subject, data) => {
+ subject => {
subject.QueryInterface(Ci.nsISupportsPRBool);
// Block opening the file:
subject.data = false;
@@ -92,7 +92,7 @@ add_task(async function open_directly() {
let openingPromise = TestUtils.topicObserved(
"test-only-opening-downloaded-file",
- (subject, data) => {
+ subject => {
subject.QueryInterface(Ci.nsISupportsPRBool);
// Block opening the file:
subject.data = false;