Index: LayoutTests/crypto/rsa-oaep-generateKey-parseAlgorithm-failures-expected.txt |
diff --git a/LayoutTests/crypto/rsa-oaep-generateKey-parseAlgorithm-failures-expected.txt b/LayoutTests/crypto/rsa-oaep-generateKey-parseAlgorithm-failures-expected.txt |
index 09fb71f809816e338c5c38e8ed0ac8eb0abea6ec..7caac2cd57d9647cda431100c5fb6f9d7d9a8158 100644 |
--- a/LayoutTests/crypto/rsa-oaep-generateKey-parseAlgorithm-failures-expected.txt |
+++ b/LayoutTests/crypto/rsa-oaep-generateKey-parseAlgorithm-failures-expected.txt |
@@ -3,12 +3,26 @@ Tests generateKey() with bad RSA-OAEP 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 invalid hash name... |
error is: NotSupportedError: RsaHashedKeyGenParams: hash: Algorithm: Unrecognized name |
PASS successfullyParsed is true |