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

Unified Diff: LayoutTests/crypto/rsa-ssa-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/rsa-ssa-generateKey-parseAlgorithm-failures-expected.txt
diff --git a/LayoutTests/crypto/rsa-ssa-generateKey-parseAlgorithm-failures-expected.txt b/LayoutTests/crypto/rsa-ssa-generateKey-parseAlgorithm-failures-expected.txt
index c1bc9add9e45bd06d3334b6aa1b26e34c300a93d..b890b3fab1cfa4b992d6486223660ece26b46eee 100644
--- a/LayoutTests/crypto/rsa-ssa-generateKey-parseAlgorithm-failures-expected.txt
+++ b/LayoutTests/crypto/rsa-ssa-generateKey-parseAlgorithm-failures-expected.txt
@@ -3,15 +3,35 @@ Tests generateKey() with bad RSASSA-PKCS1-v1_5 parameters.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+generateKey() with negative modulusLength...
error is: TypeError: RsaHashedKeyGenParams: modulusLength: Outside of numeric range
+
+generateKey() with modulusLength that is NaN...
error is: TypeError: RsaHashedKeyGenParams: modulusLength: Is not a number
+
+generateKey() without modulusLength...
error is: TypeError: RsaHashedKeyGenParams: modulusLength: Missing required property
+
+generateKey() without publicExponent...
error is: TypeError: RsaHashedKeyGenParams: publicExponent: Missing or not a Uint8Array
+
+generateKey() with publicExponent that is an integer...
error is: TypeError: RsaHashedKeyGenParams: publicExponent: Missing or not a Uint8Array
+
+generateKey() with publicExponent that is null...
error is: TypeError: RsaHashedKeyGenParams: publicExponent: Missing or not a Uint8Array
+
+generateKey() with modulusLength that is 10...
error is: NotSupportedError: The modulus length must be a multiple of 8 bits and >= 256 and <= 16384
+
+generateKey() with publicExponent that is of 0 bytes...
error is: DataError: The "publicExponent" must be either 3 or 65537
+
+generateKey() with invalid hash name...
error is: NotSupportedError: RsaHashedKeyGenParams: hash: Algorithm: Unrecognized name
+
+generateKey() without hash name...
error is: TypeError: RsaHashedKeyGenParams: hash: Missing or not an AlgorithmIdentifier
PASS successfullyParsed is true

Powered by Google App Engine
This is Rietveld 408576698