Index: LayoutTests/crypto/aes-cbc-generateKey-parseAlgorithm-failures-expected.txt |
diff --git a/LayoutTests/crypto/aes-cbc-generateKey-parseAlgorithm-failures-expected.txt b/LayoutTests/crypto/aes-cbc-generateKey-parseAlgorithm-failures-expected.txt |
index cfd4342fe888edf2e3382b11d5d65d9c7b5b892e..f06d0a4fb4317124a0771ea4ea584555f6e2566d 100644 |
--- a/LayoutTests/crypto/aes-cbc-generateKey-parseAlgorithm-failures-expected.txt |
+++ b/LayoutTests/crypto/aes-cbc-generateKey-parseAlgorithm-failures-expected.txt |
@@ -3,12 +3,26 @@ Tests generateKey() with bad AES-CBC parameters. |
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". |
+ |
+generateKey() with invalid keyUsages value that is -1... |
error is: TypeError: Failed to execute 'generateKey' on 'SubtleCrypto': The 3rd argument is neither an array, nor does it have indexed properties. |
+ |
+generateKey() with invalid keyUsages value that is null... |
error is: TypeError: Failed to execute 'generateKey' on 'SubtleCrypto': The 3rd argument is neither an array, nor does it have indexed properties. |
+ |
+generateKey() with an invalid key usage of 'boo'... |
error is: SyntaxError: Invalid keyUsages argument |
+ |
+generateKey() without length... |
error is: TypeError: AesKeyGenParams: length: Missing required property |
+ |
+generateKey() with a length of 70000... |
error is: TypeError: AesKeyGenParams: length: Outside of numeric range |
+ |
+generateKey() with a length of -3... |
error is: TypeError: AesKeyGenParams: length: Outside of numeric range |
+ |
+generateKey() with length that is minus Infinity... |
error is: TypeError: AesKeyGenParams: length: Outside of numeric range |
PASS successfullyParsed is true |