| Index: LayoutTests/crypto/hmac-generateKey-parseAlgorithm-failures-expected.txt
|
| diff --git a/LayoutTests/crypto/hmac-generateKey-parseAlgorithm-failures-expected.txt b/LayoutTests/crypto/hmac-generateKey-parseAlgorithm-failures-expected.txt
|
| index f504b584fc6a14d28e55238e95a9b458ccc1da96..54ce913de9a5431a5efaed00b6901edd43203f8f 100644
|
| --- a/LayoutTests/crypto/hmac-generateKey-parseAlgorithm-failures-expected.txt
|
| +++ b/LayoutTests/crypto/hmac-generateKey-parseAlgorithm-failures-expected.txt
|
| @@ -3,13 +3,29 @@ Tests generateKey() with bad HMAC parameters.
|
| On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
|
|
|
|
|
| +
|
| +generateKey() with a length of -3...
|
| error is: TypeError: HmacKeyGenParams: length: Outside of numeric range
|
| +
|
| +generateKey() with hash name empty string...
|
| error is: NotSupportedError: HmacKeyGenParams: hash: Algorithm: Unrecognized name
|
| +
|
| +generateKey() with a length of 5000000000 ...
|
| error is: TypeError: HmacKeyGenParams: length: Outside of numeric range
|
| +
|
| +generateKey() with length NaN...
|
| error is: TypeError: HmacKeyGenParams: length: Is not a number
|
| +
|
| +generateKey() with length that is Infinity...
|
| error is: TypeError: HmacKeyGenParams: length: Outside of numeric range
|
| +
|
| +generateKey() with length that is minus Infinity...
|
| error is: TypeError: HmacKeyGenParams: length: Outside of numeric range
|
| +
|
| +generateKey() with length that is a string...
|
| error is: TypeError: HmacKeyGenParams: length: Is not a number
|
| +
|
| +generateKey() with length that is a undefined...
|
| error is: TypeError: HmacKeyGenParams: length: Is not a number
|
| PASS successfullyParsed is true
|
|
|
|
|