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

Unified Diff: LayoutTests/crypto/ecdsa-generateKey-parseAlgorithm-failures-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-generateKey-parseAlgorithm-failures-expected.txt
diff --git a/LayoutTests/crypto/ecdsa-generateKey-parseAlgorithm-failures-expected.txt b/LayoutTests/crypto/ecdsa-generateKey-parseAlgorithm-failures-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c4922f5b08f4fa82b4fe9170f618583c82d1e2e5
--- /dev/null
+++ b/LayoutTests/crypto/ecdsa-generateKey-parseAlgorithm-failures-expected.txt
@@ -0,0 +1,13 @@
+Tests generateKey() with bad ECDSA parameters.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+error is: SyntaxError: EcKeyGenParams: namedCurve: Missing or not a string
+error is: NotSupportedError: EcKeyGenParams: Unrecognized namedCurve
+error is: NotSupportedError: EcKeyGenParams: Unrecognized namedCurve
+error is: NotSupportedError: EcKeyGenParams: Unrecognized namedCurve
+PASS successfullyParsed is true
+
+TEST COMPLETE
+

Powered by Google App Engine
This is Rietveld 408576698