| OLD | NEW |
| 1 CONSOLE ERROR: Invalid keyFormat argument | 1 CONSOLE ERROR: Invalid keyFormat argument |
| 2 CONSOLE ERROR: Invalid keyUsages argument | |
| 3 CONSOLE ERROR: Invalid keyFormat argument | |
| 4 CONSOLE ERROR: Algorithm: HMAC: HmacImportParams: hash: Missing or not a diction
ary | |
| 5 CONSOLE ERROR: Algorithm: SHA-1: Unsupported operation | 2 CONSOLE ERROR: Algorithm: SHA-1: Unsupported operation |
| 6 Tests calling cypto.subtle.importKey with bad parameters | 3 CONSOLE ERROR: key.algorithm does not match that of operation |
| 4 Tests calls to wrapKey() with bad inputs. |
| 7 | 5 |
| 8 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | 6 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
| 9 | 7 |
| 10 | 8 |
| 11 PASS crypto.subtle.importKey('raw', [], aesCbc, extractable, ['encrypt']) threw
exception TypeError: Failed to execute 'importKey' on 'SubtleCrypto': Invalid ke
yData argument. | 9 PASS crypto.subtle.wrapKey('raw', 1, wrappingKey, wrapAlgorithm) threw exception
TypeError: Failed to execute 'wrapKey' on 'SubtleCrypto': Invalid key argument. |
| 12 PASS crypto.subtle.importKey('raw', null, aesCbc, extractable, ['encrypt']) thre
w exception TypeError: Failed to execute 'importKey' on 'SubtleCrypto': Invalid
keyData argument. | 10 PASS crypto.subtle.wrapKey('raw', key, '', wrapAlgorithm) threw exception TypeEr
ror: Failed to execute 'wrapKey' on 'SubtleCrypto': Invalid wrappingKey argument
. |
| 13 PASS crypto.subtle.importKey('raw', aesCbc, null, extractable, ['encrypt']) thre
w exception TypeError: Failed to execute 'importKey' on 'SubtleCrypto': Invalid
keyData argument. | 11 PASS crypto.subtle.wrapKey('raw', key, wrappingKey, undefined) threw exception T
ypeError: Failed to execute 'wrapKey' on 'SubtleCrypto': Algorithm: Not an objec
t. |
| 14 PASS error is null | 12 PASS error is null |
| 15 PASS error is null | 13 PASS error is null |
| 16 PASS error is null | 14 PASS error is null |
| 17 PASS error is null | |
| 18 PASS error is null | |
| 19 PASS successfullyParsed is true | 15 PASS successfullyParsed is true |
| 20 | 16 |
| 21 TEST COMPLETE | 17 TEST COMPLETE |
| 22 | 18 |
| OLD | NEW |