summaryrefslogtreecommitdiffstats
path: root/dom/base/test/fullscreen/browser_fullscreen-navigation-history-race.js
diff options
context:
space:
mode:
Diffstat (limited to 'dom/base/test/fullscreen/browser_fullscreen-navigation-history-race.js')
-rw-r--r--dom/base/test/fullscreen/browser_fullscreen-navigation-history-race.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/dom/base/test/fullscreen/browser_fullscreen-navigation-history-race.js b/dom/base/test/fullscreen/browser_fullscreen-navigation-history-race.js
index 2ea2b9ee40..49a48c3177 100644
--- a/dom/base/test/fullscreen/browser_fullscreen-navigation-history-race.js
+++ b/dom/base/test/fullscreen/browser_fullscreen-navigation-history-race.js
@@ -82,7 +82,7 @@ function preventBFCache(aBrowsingContext, aPrevent) {
let target = content.document.getElementById("div");
target.addEventListener(
"mousedown",
- function (e) {
+ function () {
content.window.history.back();
},
{ once: true }