| Index: LayoutTests/crypto/importKey-badParameters-expected.txt
|
| diff --git a/LayoutTests/crypto/importKey-badParameters-expected.txt b/LayoutTests/crypto/importKey-badParameters-expected.txt
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..02826af7974460622f49b1cda2fb5370fecc4a31
|
| --- /dev/null
|
| +++ b/LayoutTests/crypto/importKey-badParameters-expected.txt
|
| @@ -0,0 +1,22 @@
|
| +CONSOLE ERROR: Invalid keyFormat argument
|
| +CONSOLE ERROR: Invalid keyUsages argument
|
| +CONSOLE ERROR: Invalid keyFormat argument
|
| +CONSOLE ERROR: Algorithm: HMAC: HmacImportParams: hash: Missing or not a dictionary
|
| +CONSOLE ERROR: Algorithm: SHA-1: Unsupported operation
|
| +Tests calling cypto.subtle.importKey with bad parameters
|
| +
|
| +On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
|
| +
|
| +
|
| +PASS crypto.subtle.importKey('raw', [], aesCbc, extractable, ['encrypt']) threw exception TypeError: Failed to execute 'importKey' on 'SubtleCrypto': Invalid keyData argument.
|
| +PASS crypto.subtle.importKey('raw', null, aesCbc, extractable, ['encrypt']) threw exception TypeError: Failed to execute 'importKey' on 'SubtleCrypto': Invalid keyData argument.
|
| +PASS crypto.subtle.importKey('raw', aesCbc, null, extractable, ['encrypt']) threw exception TypeError: Failed to execute 'importKey' on 'SubtleCrypto': Invalid keyData argument.
|
| +PASS error is null
|
| +PASS error is null
|
| +PASS error is null
|
| +PASS error is null
|
| +PASS error is null
|
| +PASS successfullyParsed is true
|
| +
|
| +TEST COMPLETE
|
| +
|
|
|