OLD | NEW |
| (Empty) |
1 Tests calling cypto.subtle.importKey with bad parameters | |
2 | |
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | |
4 | |
5 | |
6 error is: DataError: Key data must be a buffer for non-JWK formats | |
7 error is: DataError: Key data must be a buffer for non-JWK formats | |
8 error is: TypeError: Algorithm: Not an object | |
9 error is: TypeError: Invalid keyFormat argument | |
10 error is: TypeError: Invalid keyUsages argument | |
11 error is: TypeError: Invalid keyFormat argument | |
12 error is: TypeError: HmacImportParams: hash: Missing or not an AlgorithmIdentifi
er | |
13 error is: NotSupportedError: SHA-1: Unsupported operation: importKey | |
14 PASS successfullyParsed is true | |
15 | |
16 TEST COMPLETE | |
17 | |
OLD | NEW |