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

Unified Diff: LayoutTests/crypto/ecdsa-generate-key-expected.txt

Issue 707753002: WebCrypto: Add LayoutTests for ECDSA. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase onto master Created 6 years, 1 month 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: LayoutTests/crypto/ecdsa-generate-key-expected.txt
diff --git a/LayoutTests/crypto/ecdsa-generate-key-expected.txt b/LayoutTests/crypto/ecdsa-generate-key-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..92573e0db63681f6886825c02acf37bda32b51c9
--- /dev/null
+++ b/LayoutTests/crypto/ecdsa-generate-key-expected.txt
@@ -0,0 +1,22 @@
+Test generating an EC key pair for ECDSA.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+Generating a key pair...
+PASS keyPair.toString() is '[object Object]'
+PASS keyPair.publicKey.type is 'public'
+PASS keyPair.publicKey.algorithm.name is 'ECDSA'
+PASS keyPair.publicKey.algorithm.namedCurve is 'P-256'
+PASS keyPair.publicKey.usages is ["verify"]
+PASS keyPair.privateKey.type is 'private'
+PASS keyPair.privateKey.algorithm.name is 'ECDSA'
+PASS keyPair.privateKey.algorithm.namedCurve is 'P-256'
+PASS keyPair.privateKey.usages is ["sign"]
+
+Testing that custom attributes on keys survive garbage collection...
+PASS keyPair.publicKey.foo is 'bar'
+PASS successfullyParsed is true
+
+TEST COMPLETE
+

Powered by Google App Engine
This is Rietveld 408576698