1 Tests generateKey() with bad HMAC parameters.
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
7 generateKey() with a length of -3...
8 error is: TypeError: HmacKeyGenParams: length: Outside of numeric range
10 generateKey() with hash name empty string...
11 error is: NotSupportedError: HmacKeyGenParams: hash: Algorithm: Unrecognized name
13 generateKey() with a length of 5000000000 ...
14 error is: TypeError: HmacKeyGenParams: length: Outside of numeric range
16 generateKey() with length NaN...
17 error is: TypeError: HmacKeyGenParams: length: Is not a number
19 generateKey() with length that is Infinity...
20 error is: TypeError: HmacKeyGenParams: length: Outside of numeric range
22 generateKey() with length that is minus Infinity...
23 error is: TypeError: HmacKeyGenParams: length: Outside of numeric range
25 generateKey() with length that is a string...
26 error is: TypeError: HmacKeyGenParams: length: Is not a number
28 generateKey() with length that is a undefined...
29 error is: TypeError: HmacKeyGenParams: length: Is not a number
30 PASS successfullyParsed is true