OLD | NEW |
| (Empty) |
1 Tests generateKey() with bad HMAC parameters. | |
2 | |
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | |
4 | |
5 | |
6 | |
7 generateKey() with a length of -3... | |
8 error is: TypeError: HmacKeyGenParams: length: Outside of numeric range | |
9 | |
10 generateKey() with hash name empty string... | |
11 error is: NotSupportedError: HmacKeyGenParams: hash: Algorithm: Unrecognized nam
e | |
12 | |
13 generateKey() with a length of 5000000000 ... | |
14 error is: TypeError: HmacKeyGenParams: length: Outside of numeric range | |
15 | |
16 generateKey() with length NaN... | |
17 error is: TypeError: HmacKeyGenParams: length: Is not a number | |
18 | |
19 generateKey() with length that is Infinity... | |
20 error is: TypeError: HmacKeyGenParams: length: Outside of numeric range | |
21 | |
22 generateKey() with length that is minus Infinity... | |
23 error is: TypeError: HmacKeyGenParams: length: Outside of numeric range | |
24 | |
25 generateKey() with length that is a string... | |
26 error is: TypeError: HmacKeyGenParams: length: Is not a number | |
27 | |
28 generateKey() with length that is a undefined... | |
29 error is: TypeError: HmacKeyGenParams: length: Is not a number | |
30 PASS successfullyParsed is true | |
31 | |
32 TEST COMPLETE | |
33 | |
OLD | NEW |