diff options
Diffstat (limited to 'dom/base/test/fullscreen/browser_fullscreen-tab-close-race.js')
-rw-r--r-- | dom/base/test/fullscreen/browser_fullscreen-tab-close-race.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dom/base/test/fullscreen/browser_fullscreen-tab-close-race.js b/dom/base/test/fullscreen/browser_fullscreen-tab-close-race.js index 10d10a0b0f..1338c4a550 100644 --- a/dom/base/test/fullscreen/browser_fullscreen-tab-close-race.js +++ b/dom/base/test/fullscreen/browser_fullscreen-tab-close-race.js @@ -70,7 +70,7 @@ async function WaitRemoveDocumentAndCloseTab(aBrowser, aBrowsingContext) { return new Promise(resolve => { content.document.addEventListener( "fullscreenchange", - e => { + () => { resolve(); }, { once: true } |