| OLD | NEW |
| (Empty) |
| 1 Tests calls to unwrapKey() with bad inputs. | |
| 2 | |
| 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | |
| 4 | |
| 5 | |
| 6 error is: TypeError: Failed to execute 'unwrapKey' on 'SubtleCrypto': The provid
ed value is not of type '(ArrayBuffer or ArrayBufferView)' | |
| 7 error is: TypeError: Invalid unwrappingKey argument | |
| 8 error is: TypeError: Failed to execute 'unwrapKey' on 'SubtleCrypto': The 7th ar
gument is neither an array, nor does it have indexed properties. | |
| 9 error is: TypeError: Algorithm: Not an object | |
| 10 error is: NotSupportedError: Algorithm: Unrecognized name | |
| 11 error is: TypeError: Invalid keyFormat argument | |
| 12 error is: NotSupportedError: SHA-1: Unsupported operation: unwrapKey | |
| 13 error is: InvalidAccessError: key.algorithm does not match that of operation | |
| 14 PASS successfullyParsed is true | |
| 15 | |
| 16 TEST COMPLETE | |
| 17 | |
| OLD | NEW |