blob: ef5e4cb7bd6e16ebcb6b2d25a362b7ee347a1a56 [file] [log] [blame]
Tests calls to unwrapKey() with bad inputs.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
error is: TypeError: Failed to execute 'unwrapKey' on 'SubtleCrypto': The provided value is not of type '(ArrayBuffer or ArrayBufferView)'
error is: TypeError: Failed to execute 'unwrapKey' on 'SubtleCrypto': parameter 3 is not of type 'CryptoKey'.
error is: TypeError: Failed to execute 'unwrapKey' on 'SubtleCrypto': The provided value cannot be converted to a sequence.
error is: TypeError: Algorithm: Not an object
error is: NotSupportedError: Algorithm: Unrecognized name
error is: TypeError: Invalid keyFormat argument
error is: NotSupportedError: SHA-1: Unsupported operation: unwrapKey
error is: InvalidAccessError: key.algorithm does not match that of operation
PASS successfullyParsed is true
TEST COMPLETE