blob: 73949bf68edf35f757dff051ad5eac409fd14163 [file] [log] [blame]
Tests calling cypto.subtle.importKey with bad parameters
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
error is: TypeError: Key data must be a BufferSource for non-JWK formats
error is: TypeError: Key data must be a BufferSource for non-JWK formats
error is: TypeError: Algorithm: Not an object
error is: TypeError: Invalid keyFormat argument
error is: TypeError: Invalid keyUsages argument
error is: TypeError: Invalid keyFormat argument
error is: TypeError: HmacImportParams: hash: Missing or not an AlgorithmIdentifier
error is: NotSupportedError: SHA-1: Unsupported operation: importKey
error is: SharedArrayBuffers not enabled.
PASS successfullyParsed is true
TEST COMPLETE