summaryrefslogtreecommitdiffstats
path: root/docshell/test/browser/browser_onbeforeunload_parent.js
diff options
context:
space:
mode:
Diffstat (limited to 'docshell/test/browser/browser_onbeforeunload_parent.js')
-rw-r--r--docshell/test/browser/browser_onbeforeunload_parent.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/docshell/test/browser/browser_onbeforeunload_parent.js b/docshell/test/browser/browser_onbeforeunload_parent.js
index 72c5004334..f4441b38a7 100644
--- a/docshell/test/browser/browser_onbeforeunload_parent.js
+++ b/docshell/test/browser/browser_onbeforeunload_parent.js
@@ -22,7 +22,7 @@ add_task(async function () {
);
info(`Testing tab close from parent process`);
- await doTest(actions, -1, (tab, frames) => {
+ await doTest(actions, -1, tab => {
let eventLoopSpun = false;
Services.tm.dispatchToMainThread(() => {
eventLoopSpun = true;