diff options
Diffstat (limited to 'security/manager/ssl/tests/mochitest/browser/head.js')
-rw-r--r-- | security/manager/ssl/tests/mochitest/browser/head.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/security/manager/ssl/tests/mochitest/browser/head.js b/security/manager/ssl/tests/mochitest/browser/head.js index 1ae951d7a5..f64e2afc6e 100644 --- a/security/manager/ssl/tests/mochitest/browser/head.js +++ b/security/manager/ssl/tests/mochitest/browser/head.js @@ -70,7 +70,7 @@ function readCertificate(filename, trustString) { */ async function openCertManager() { let win = window.openDialog("chrome://pippki/content/certManager.xhtml"); - return new Promise((resolve, reject) => { + return new Promise(resolve => { win.addEventListener( "load", function () { |