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 |