OLD | NEW |
1 Tests generateKey() with bad AES-CBC parameters. | 1 Tests generateKey() with bad AES-CBC parameters. |
2 | 2 |
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
4 | 4 |
5 | 5 |
6 | 6 |
7 generateKey() with invalid keyUsages value that is -1... | 7 generateKey() with invalid keyUsages value that is -1... |
8 error is: TypeError: Failed to execute 'generateKey' on 'SubtleCrypto': The 3rd
argument is neither an array, nor does it have indexed properties. | 8 error is: TypeError: Failed to execute 'generateKey' on 'SubtleCrypto': The prov
ided value cannot be converted to a sequence. |
9 | 9 |
10 generateKey() with invalid keyUsages value that is null... | 10 generateKey() with invalid keyUsages value that is null... |
11 error is: TypeError: Failed to execute 'generateKey' on 'SubtleCrypto': The 3rd
argument is neither an array, nor does it have indexed properties. | 11 error is: TypeError: Failed to execute 'generateKey' on 'SubtleCrypto': The prov
ided value cannot be converted to a sequence. |
12 | 12 |
13 generateKey() with an invalid key usage of 'boo'... | 13 generateKey() with an invalid key usage of 'boo'... |
14 error is: TypeError: Invalid keyUsages argument | 14 error is: TypeError: Invalid keyUsages argument |
15 | 15 |
16 generateKey() without length... | 16 generateKey() without length... |
17 error is: TypeError: AesKeyGenParams: length: Missing required property | 17 error is: TypeError: AesKeyGenParams: length: Missing required property |
18 | 18 |
19 generateKey() with a length of 70000... | 19 generateKey() with a length of 70000... |
20 error is: TypeError: AesKeyGenParams: length: Outside of numeric range | 20 error is: TypeError: AesKeyGenParams: length: Outside of numeric range |
21 | 21 |
22 generateKey() with a length of -3... | 22 generateKey() with a length of -3... |
23 error is: TypeError: AesKeyGenParams: length: Outside of numeric range | 23 error is: TypeError: AesKeyGenParams: length: Outside of numeric range |
24 | 24 |
25 generateKey() with length that is minus Infinity... | 25 generateKey() with length that is minus Infinity... |
26 error is: TypeError: AesKeyGenParams: length: Outside of numeric range | 26 error is: TypeError: AesKeyGenParams: length: Outside of numeric range |
27 PASS successfullyParsed is true | 27 PASS successfullyParsed is true |
28 | 28 |
29 TEST COMPLETE | 29 TEST COMPLETE |
30 | 30 |
OLD | NEW |