diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 01:13:27 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 01:13:27 +0000 |
commit | 40a355a42d4a9444dc753c04c6608dade2f06a23 (patch) | |
tree | 871fc667d2de662f171103ce5ec067014ef85e61 /security/manager/ssl/tests/unit/test_ev_certs.js | |
parent | Adding upstream version 124.0.1. (diff) | |
download | firefox-40a355a42d4a9444dc753c04c6608dade2f06a23.tar.xz firefox-40a355a42d4a9444dc753c04c6608dade2f06a23.zip |
Adding upstream version 125.0.1.upstream/125.0.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'security/manager/ssl/tests/unit/test_ev_certs.js')
-rw-r--r-- | security/manager/ssl/tests/unit/test_ev_certs.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/security/manager/ssl/tests/unit/test_ev_certs.js b/security/manager/ssl/tests/unit/test_ev_certs.js index f163623919..99b5bda0f0 100644 --- a/security/manager/ssl/tests/unit/test_ev_certs.js +++ b/security/manager/ssl/tests/unit/test_ev_certs.js @@ -84,7 +84,7 @@ function asyncTestEV( ocspResponseTypes = undefined ) { let now = Date.now() / 1000; - return new Promise((resolve, reject) => { + return new Promise(resolve => { let ocspResponder = expectedOCSPRequestPaths.length ? startOCSPResponder( SERVER_PORT, @@ -157,7 +157,7 @@ function verifyWithFlags_LOCAL_ONLY_and_MUST_BE_EV(testcase, expectSuccess) { if (expectSuccess && gEVExpected) { expectedErrorCode = PRErrorCodeSuccess; } - return new Promise((resolve, reject) => { + return new Promise(resolve => { let ocspResponder = failingOCSPResponder(); let result = new EVCertVerificationResult( cert.subjectName, |