Index: LayoutTests/crypto/aes-cbc-generateKey-parseAlgorithm-failures-expected.txt |
diff --git a/LayoutTests/crypto/aes-gcm-parseAlgorithm-failures-expected.txt b/LayoutTests/crypto/aes-cbc-generateKey-parseAlgorithm-failures-expected.txt |
similarity index 26% |
copy from LayoutTests/crypto/aes-gcm-parseAlgorithm-failures-expected.txt |
copy to LayoutTests/crypto/aes-cbc-generateKey-parseAlgorithm-failures-expected.txt |
index 7f8b22731446a0e4c5ab145b5614555f10ad1e80..f02e896cc63826140fd91e0a5b2fa6b6d56f2ba0 100644 |
--- a/LayoutTests/crypto/aes-gcm-parseAlgorithm-failures-expected.txt |
+++ b/LayoutTests/crypto/aes-cbc-generateKey-parseAlgorithm-failures-expected.txt |
@@ -1,17 +1,15 @@ |
-CONSOLE ERROR: Algorithm: AES-GCM: AesGcmParams: iv: Missing required property |
-CONSOLE ERROR: Algorithm: AES-GCM: AesGcmParams: iv: Not an ArrayBufferView |
-CONSOLE ERROR: Algorithm: AES-GCM: AesGcmParams: iv: Not an ArrayBufferView |
-CONSOLE ERROR: Algorithm: AES-GCM: AesGcmParams: additionalData: Not an ArrayBufferView |
-CONSOLE ERROR: Algorithm: AES-GCM: AesGcmParams: tagLength: Is not a number |
-CONSOLE ERROR: Algorithm: AES-GCM: AesGcmParams: tagLength: Outside of numeric range |
-CONSOLE ERROR: Algorithm: AES-GCM: AesGcmParams: tagLength: Outside of numeric range |
-Tests bad algorithm inputs for AES-GCM |
+CONSOLE ERROR: Invalid keyUsages argument |
+CONSOLE ERROR: Algorithm: AES-CBC: AesKeyGenParams: length: Missing required property |
+CONSOLE ERROR: Algorithm: AES-CBC: AesKeyGenParams: length: Outside of numeric range |
+CONSOLE ERROR: Algorithm: AES-CBC: AesKeyGenParams: length: Outside of numeric range |
+CONSOLE ERROR: Algorithm: AES-CBC: AesKeyGenParams: length: Outside of numeric range |
+Tests generateKey() with bad AES-CBC parameters. |
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". |
-PASS error is null |
-PASS error is null |
+PASS crypto.subtle.generateKey({ name: 'aes-cbc', length: 1024 }, extractable, -1) threw exception TypeError: The 3rd argument is neither an array, nor does it have indexed properties.. |
+PASS crypto.subtle.generateKey({ name: 'aes-cbc', length: 1024 }, extractable, null) threw exception TypeError: The 3rd argument is neither an array, nor does it have indexed properties.. |
PASS error is null |
PASS error is null |
PASS error is null |