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

Unified Diff: LayoutTests/crypto/ecdsa-generateKey-parseAlgorithm-failures-expected.txt

Issue 801793003: Improve LayoutTest output for Errors (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years 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
index 06ca162f7656ccddcb7220cfdfad36c6bc3e7b45..cfdae52d24688eddf9282a4b03b07d803714b868 100644
--- a/LayoutTests/crypto/ecdsa-generateKey-parseAlgorithm-failures-expected.txt
+++ b/LayoutTests/crypto/ecdsa-generateKey-parseAlgorithm-failures-expected.txt
@@ -3,9 +3,17 @@ Tests generateKey() with bad ECDSA parameters.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+generateKey() without namedCurve...
error is: TypeError: EcKeyGenParams: namedCurve: Missing or not a string
+
+generateKey() with namedCurve that is an integer...
error is: NotSupportedError: EcKeyGenParams: Unrecognized namedCurve
+
+generateKey() with namedCurve 'p-256' that contains lower case character 'p'...
error is: NotSupportedError: EcKeyGenParams: Unrecognized namedCurve
+
+generateKey() with namedCurve 'P-256aa' that contains trailing characters 'aa'...
error is: NotSupportedError: EcKeyGenParams: Unrecognized namedCurve
PASS successfullyParsed is true

Powered by Google App Engine
This is Rietveld 408576698