chromium/third_party/blink/web_tests/crypto/subtle/hmac/generateKey-failures-expected.txt

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: Failed to execute 'generateKey' on 'SubtleCrypto': HmacKeyGenParams: length: Outside of numeric range

generateKey() with hash name empty string...
error is: NotSupportedError: Failed to execute 'generateKey' on 'SubtleCrypto': HmacKeyGenParams: hash: Algorithm: Unrecognized name

generateKey() with a length of 5000000000 ...
error is: TypeError: Failed to execute 'generateKey' on 'SubtleCrypto': HmacKeyGenParams: length: Outside of numeric range

generateKey() with length NaN...
error is: TypeError: Failed to execute 'generateKey' on 'SubtleCrypto': HmacKeyGenParams: length: Is not a number

generateKey() with length that is Infinity...
error is: TypeError: Failed to execute 'generateKey' on 'SubtleCrypto': HmacKeyGenParams: length: Outside of numeric range

generateKey() with length that is minus Infinity...
error is: TypeError: Failed to execute 'generateKey' on 'SubtleCrypto': HmacKeyGenParams: length: Outside of numeric range

generateKey() with length that is a string...
error is: TypeError: Failed to execute 'generateKey' on 'SubtleCrypto': HmacKeyGenParams: length: Is not a number

generateKey() with length that is a undefined...
error is: TypeError: Failed to execute 'generateKey' on 'SubtleCrypto': HmacKeyGenParams: length: Is not a number
PASS successfullyParsed is true

TEST COMPLETE