| OLD | NEW |
| 1 CONSOLE ERROR: Invalid wrappedKey argument |
| 2 CONSOLE ERROR: Invalid unwrappingKey argument |
| 3 CONSOLE ERROR: Algorithm: Not an object |
| 1 CONSOLE ERROR: Invalid keyFormat argument | 4 CONSOLE ERROR: Invalid keyFormat argument |
| 2 CONSOLE ERROR: Algorithm: SHA-1: Unsupported operation | 5 CONSOLE ERROR: Algorithm: SHA-1: Unsupported operation |
| 3 CONSOLE ERROR: key.algorithm does not match that of operation | 6 CONSOLE ERROR: key.algorithm does not match that of operation |
| 4 Tests calls to unwrapKey() with bad inputs. | 7 Tests calls to unwrapKey() with bad inputs. |
| 5 | 8 |
| 6 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | 9 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
| 7 | 10 |
| 8 | 11 |
| 9 PASS crypto.subtle.unwrapKey('raw', null, unwrappingKey, unwrapAlgorithm, unwrap
pedKeyAlgorithm, extractable, keyUsages) threw exception TypeError: Failed to ex
ecute 'unwrapKey' on 'SubtleCrypto': Invalid wrappedKey argument. | 12 PASS error is null |
| 10 PASS crypto.subtle.unwrapKey('raw', wrappedKey, 'hi', unwrapAlgorithm, unwrapped
KeyAlgorithm, extractable, keyUsages) threw exception TypeError: Failed to execu
te 'unwrapKey' on 'SubtleCrypto': Invalid unwrappingKey argument. | 13 PASS error is null |
| 11 PASS crypto.subtle.unwrapKey('raw', wrappedKey, 'hi', unwrapAlgorithm, null, ext
ractable, 9) threw exception TypeError: The 7th argument is neither an array, no
r does it have indexed properties.. | 14 PASS crypto.subtle.unwrapKey('raw', wrappedKey, 'hi', unwrapAlgorithm, null, ext
ractable, 9) threw exception TypeError: The 7th argument is neither an array, no
r does it have indexed properties.. |
| 12 PASS crypto.subtle.unwrapKey('raw', wrappedKey, unwrappingKey, null, unwrappedKe
yAlgorithm, extractable, keyUsages) threw exception TypeError: Failed to execute
'unwrapKey' on 'SubtleCrypto': Algorithm: Not an object. | 15 PASS error is null |
| 13 PASS crypto.subtle.unwrapKey('raw', wrappedKey, unwrappingKey, unwrapAlgorithm,
3, extractable, keyUsages) threw exception TypeError: Failed to execute 'unwrapK
ey' on 'SubtleCrypto': parameter 5 ('unwrappedKeyAlgorithm') is not an object.. | 16 PASS crypto.subtle.unwrapKey('raw', wrappedKey, unwrappingKey, unwrapAlgorithm,
3, extractable, keyUsages) threw exception TypeError: Failed to execute 'unwrapK
ey' on 'SubtleCrypto': parameter 5 ('unwrappedKeyAlgorithm') is not an object.. |
| 14 PASS error is null | 17 PASS error is null |
| 15 PASS error is null | 18 PASS error is null |
| 16 PASS error is null | 19 PASS error is null |
| 17 PASS successfullyParsed is true | 20 PASS successfullyParsed is true |
| 18 | 21 |
| 19 TEST COMPLETE | 22 TEST COMPLETE |
| 20 | 23 |
| OLD | NEW |