diff options
Diffstat (limited to 'toolkit/components/url-classifier/tests/mochitest/test_reporturl.html')
-rw-r--r-- | toolkit/components/url-classifier/tests/mochitest/test_reporturl.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/toolkit/components/url-classifier/tests/mochitest/test_reporturl.html b/toolkit/components/url-classifier/tests/mochitest/test_reporturl.html index 36d128cdf7..201a86f94a 100644 --- a/toolkit/components/url-classifier/tests/mochitest/test_reporturl.html +++ b/toolkit/components/url-classifier/tests/mochitest/test_reporturl.html @@ -103,7 +103,7 @@ var createBlockedIframe = function(aWindow, aBrowser, aTopUrl, aUrl) { await SpecialPowers.spawn(aBrowser, [aUrl], async function(url) { return new Promise(resolve => { - let listener = e => { + let listener = () => { docShell.chromeEventHandler.removeEventListener("AboutBlockedLoaded", listener, false, true); resolve(); }; @@ -120,7 +120,7 @@ var createBlockedIframe = function(aWindow, aBrowser, aTopUrl, aUrl) { })(); }; -var createBlockedPage = function(aWindow, aBrowser, aTopUrl, aUrl) { +var createBlockedPage = function(aWindow, aBrowser, aTopUrl) { (async function() { BrowserTestUtils.startLoadingURIString(aBrowser, aTopUrl); await BrowserTestUtils.waitForContentEvent(aBrowser, "DOMContentLoaded"); |