summaryrefslogtreecommitdiffstats
path: root/dom/security/test/https-first/browser_mixed_content_download.js
diff options
context:
space:
mode:
Diffstat (limited to 'dom/security/test/https-first/browser_mixed_content_download.js')
-rw-r--r--dom/security/test/https-first/browser_mixed_content_download.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/dom/security/test/https-first/browser_mixed_content_download.js b/dom/security/test/https-first/browser_mixed_content_download.js
index 09ea64cea8..919470a78e 100644
--- a/dom/security/test/https-first/browser_mixed_content_download.js
+++ b/dom/security/test/https-first/browser_mixed_content_download.js
@@ -57,7 +57,7 @@ const DOWNLOAD_URL =
// falls back since download is not available via https
let msgCounter = 0;
function shouldConsoleError() {
- return new Promise((resolve, reject) => {
+ return new Promise(resolve => {
function listener(msgObj) {
let text = msgObj.message;
if (text.includes(CONSOLE_UPGRADE_MESSAGE) && msgCounter == 0) {