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

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
« no previous file with comments | « LayoutTests/crypto/rsa-ssa-generateKey-parseAlgorithm-failures.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..f44fa238071417d13eb8cf8aa846e7e85830a2bd 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 a modulusLength -30...
error is: TypeError: RsaHashedKeyGenParams: modulusLength: Outside of numeric range
+
+generateKey() with modulusLength 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 0 bytes long...
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
« no previous file with comments | « LayoutTests/crypto/rsa-ssa-generateKey-parseAlgorithm-failures.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698