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

Unified Diff: third_party/WebKit/LayoutTests/fast/peerconnection/RTCPeerConnection-generateCertificate-expected.txt

Issue 2828563002: RTCCertificate.getFingerprints added (exposed to the web) (Closed)
Patch Set: Remove cached fingerprints and updated expected.txt file Created 3 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/fast/peerconnection/RTCPeerConnection-generateCertificate-expected.txt
diff --git a/third_party/WebKit/LayoutTests/fast/peerconnection/RTCPeerConnection-generateCertificate-expected.txt b/third_party/WebKit/LayoutTests/fast/peerconnection/RTCPeerConnection-generateCertificate-expected.txt
index 2cf752a34435d2327fb2305e1394857ef2771b89..da31ea129874e3f7bd2eb539892723aa1e509307 100644
--- a/third_party/WebKit/LayoutTests/fast/peerconnection/RTCPeerConnection-generateCertificate-expected.txt
+++ b/third_party/WebKit/LayoutTests/fast/peerconnection/RTCPeerConnection-generateCertificate-expected.txt
@@ -6,11 +6,29 @@ On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
PASS generateCertificate({ name: "RSASSA-PKCS1-v1_5", modulusLength: 2048, publicExponent: new Uint8Array([1, 0, 1]), hash: "SHA-256" })
PASS certRSA is non-null.
PASS new Date().getTime() < certRSA.expires is true
+PASS certRSA.fingerprints.length == 1 is true
+PASS certRSA.fingerprints[0].algorithm === "sha-256" is true
+PASS isFingerprintValue(certRSA.fingerprints[0].value) is true
+PASS (function(){ fingerprints[0] = null; return fingerprints[0] != null; })() is true
+PASS (function(){ fingerprints[0].value = "garbage"; return fingerprints[0].value === "garbage"; })() is true
+PASS certRSA.fingerprints[0] != certRSA.fingerprints[0] is true
PASS generateCertificate({ name: "ECDSA", namedCurve: "P-256" })
PASS certECDSA is non-null.
PASS new Date().getTime() < certECDSA.expires is true
+PASS certECDSA.fingerprints.length == 1 is true
+PASS certECDSA.fingerprints[0].algorithm === "sha-256" is true
+PASS isFingerprintValue(certECDSA.fingerprints[0].value) is true
+PASS (function(){ fingerprints[0] = null; return fingerprints[0] != null; })() is true
+PASS (function(){ fingerprints[0].value = "garbage"; return fingerprints[0].value === "garbage"; })() is true
+PASS certECDSA.fingerprints[0] != certECDSA.fingerprints[0] is true
PASS certExpiresNegativeOneDay is non-null.
PASS new Date().getTime() < certExpiresNegativeOneDay.expires is true
+PASS certExpiresNegativeOneDay.fingerprints.length == 1 is true
+PASS certExpiresNegativeOneDay.fingerprints[0].algorithm === "sha-256" is true
+PASS isFingerprintValue(certExpiresNegativeOneDay.fingerprints[0].value) is true
+PASS (function(){ fingerprints[0] = null; return fingerprints[0] != null; })() is true
+PASS (function(){ fingerprints[0].value = "garbage"; return fingerprints[0].value === "garbage"; })() is true
+PASS certExpiresNegativeOneDay.fingerprints[0] != certExpiresNegativeOneDay.fingerprints[0] is true
PASS certExpiresZero is non-null.
PASS new Date().getTime() >= certExpiresZero.expires is true
PASS certExpiresPositiveOneDay is non-null.

Powered by Google App Engine
This is Rietveld 408576698