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