Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3)

Side by Side Diff: third_party/WebKit/LayoutTests/fast/mediastream/RTCPeerConnection-generateCertificate-expected.txt

Issue 1740993002: RTCPeerConnection.generateCertificate: Optionally specify expiration. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed comments Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 Tests RTCPeerConnection.generateCertificate RSA/ECDSA. 1 Tests RTCPeerConnection.generateCertificate RSA/ECDSA.
2 2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4 4
5 5
6 PASS generateCertificate({ name: "RSASSA-PKCS1-v1_5", modulusLength: 2048, publi cExponent: new Uint8Array([1, 0, 1]), hash: "SHA-256" }) 6 PASS generateCertificate({ name: "RSASSA-PKCS1-v1_5", modulusLength: 2048, publi cExponent: new Uint8Array([1, 0, 1]), hash: "SHA-256" })
7 PASS certRSA is non-null. 7 PASS certRSA is non-null.
8 PASS new Date().getTime() < certRSA.expires is true 8 PASS new Date().getTime() < certRSA.expires is true
9 PASS generateCertificate({ name: "ECDSA", namedCurve: "P-256" }) 9 PASS generateCertificate({ name: "ECDSA", namedCurve: "P-256" })
10 PASS certECDSA is non-null. 10 PASS certECDSA is non-null.
11 PASS new Date().getTime() < certECDSA.expires is true 11 PASS new Date().getTime() < certECDSA.expires is true
12 PASS certExpiresNegativeOneDay is non-null.
13 PASS new Date().getTime() < certExpiresNegativeOneDay.expires is true
14 PASS certExpiresZero is non-null.
15 PASS new Date().getTime() >= certExpiresZero.expires is true
16 PASS certExpiresPositiveOneDay is non-null.
17 PASS Math.abs(certExpiresPositiveOneDay.expires - (new Date().getTime() + dayInM s)) <= minuteInMs is true
12 PASS successfullyParsed is true 18 PASS successfullyParsed is true
13 19
14 TEST COMPLETE 20 TEST COMPLETE
15 21
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698