OLD | NEW |
| 1 CONSOLE ERROR: Invalid keyFormat argument |
1 CONSOLE ERROR: key is not extractable | 2 CONSOLE ERROR: key is not extractable |
2 CONSOLE ERROR: key.usages does not permit this operation | 3 CONSOLE ERROR: key.usages does not permit this operation |
| 4 CONSOLE ERROR: Algorithm: SHA-1: Unsupported operation |
3 CONSOLE ERROR: key.algorithm does not match that of operation | 5 CONSOLE ERROR: key.algorithm does not match that of operation |
| 6 CONSOLE ERROR: Invalid keyFormat argument |
4 CONSOLE ERROR: key.usages does not permit this operation | 7 CONSOLE ERROR: key.usages does not permit this operation |
| 8 CONSOLE ERROR: Algorithm: SHA-1: Unsupported operation |
5 CONSOLE ERROR: key.algorithm does not match that of operation | 9 CONSOLE ERROR: key.algorithm does not match that of operation |
6 Tests cypto.subtle.sign and crypto.subtle.verify | 10 Tests cypto.subtle.sign and crypto.subtle.verify |
7 | 11 |
8 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | 12 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
9 | 13 |
10 | 14 |
11 PASS crypto.subtle.wrapKey('bad-format', key, wrappingKey, wrapAlgorithm) threw
exception TypeError: Failed to execute 'wrapKey' on 'SubtleCrypto': Invalid keyF
ormat argument. | |
12 PASS crypto.subtle.wrapKey('raw', 1, wrappingKey, wrapAlgorithm) threw exception
TypeError: Failed to execute 'wrapKey' on 'SubtleCrypto': Invalid key argument. | 15 PASS crypto.subtle.wrapKey('raw', 1, wrappingKey, wrapAlgorithm) threw exception
TypeError: Failed to execute 'wrapKey' on 'SubtleCrypto': Invalid key argument. |
13 PASS crypto.subtle.wrapKey('raw', key, '', wrapAlgorithm) threw exception TypeEr
ror: Failed to execute 'wrapKey' on 'SubtleCrypto': Invalid wrappingKey argument
. | 16 PASS crypto.subtle.wrapKey('raw', key, '', wrapAlgorithm) threw exception TypeEr
ror: Failed to execute 'wrapKey' on 'SubtleCrypto': Invalid wrappingKey argument
. |
14 PASS crypto.subtle.wrapKey('raw', key, wrappingKey, undefined) threw exception T
ypeError: Failed to execute 'wrapKey' on 'SubtleCrypto': Algorithm: Not an objec
t. | 17 PASS crypto.subtle.wrapKey('raw', key, wrappingKey, undefined) threw exception T
ypeError: Failed to execute 'wrapKey' on 'SubtleCrypto': Algorithm: Not an objec
t. |
15 PASS crypto.subtle.wrapKey('raw', key, wrappingKey, {name: 'SHA-1'}) threw excep
tion NotSupportedError: Failed to execute 'wrapKey' on 'SubtleCrypto': Algorithm
: SHA-1: Unsupported operation. | |
16 PASS crypto.subtle.unwrapKey('bad-format', wrappedKey, unwrappingKey, unwrapAlgo
rithm, unwrappedKeyAlgorithm, extractable, keyUsages) threw exception TypeError:
Failed to execute 'unwrapKey' on 'SubtleCrypto': Invalid keyFormat argument. | |
17 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. | 18 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. |
18 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. | 19 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. |
19 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.. | 20 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.. |
20 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. | 21 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. |
21 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.. | 22 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.. |
22 PASS crypto.subtle.unwrapKey('raw', wrappedKey, unwrappingKey, {name: 'SHA-1'},
unwrappedKeyAlgorithm, extractable, keyUsages) threw exception NotSupportedError
: Failed to execute 'unwrapKey' on 'SubtleCrypto': Algorithm: SHA-1: Unsupported
operation. | 23 PASS: 'crypto.subtle.wrapKey('bad-format', key, wrappingKey, wrapAlgorithm)' rej
ected with null |
23 PASS: 'crypto.subtle.wrapKey('raw', keys.aesCbcJustDecrypt, wrappingKey, wrapAlg
orithm)' rejected with null | 24 PASS: 'crypto.subtle.wrapKey('raw', keys.aesCbcJustDecrypt, wrappingKey, wrapAlg
orithm)' rejected with null |
24 PASS: 'crypto.subtle.wrapKey('raw', key, keys.aesCbcJustDecrypt, wrapAlgorithm)'
rejected with null | 25 PASS: 'crypto.subtle.wrapKey('raw', key, keys.aesCbcJustDecrypt, wrapAlgorithm)'
rejected with null |
| 26 PASS: 'crypto.subtle.wrapKey('raw', key, wrappingKey, {name: 'SHA-1'})' rejected
with null |
25 PASS: 'crypto.subtle.wrapKey('raw', key, wrappingKey, aesCtrAlgorithm)' rejected
with null | 27 PASS: 'crypto.subtle.wrapKey('raw', key, wrappingKey, aesCtrAlgorithm)' rejected
with null |
| 28 PASS: 'crypto.subtle.unwrapKey('bad-format', wrappedKey, unwrappingKey, unwrapAl
gorithm, unwrappedKeyAlgorithm, extractable, keyUsages)' rejected with null |
26 PASS: 'crypto.subtle.unwrapKey('raw', wrappedKey, keys.aesCbcJustDecrypt, unwrap
Algorithm, unwrappedKeyAlgorithm, extractable, keyUsages)' rejected with null | 29 PASS: 'crypto.subtle.unwrapKey('raw', wrappedKey, keys.aesCbcJustDecrypt, unwrap
Algorithm, unwrappedKeyAlgorithm, extractable, keyUsages)' rejected with null |
| 30 PASS: 'crypto.subtle.unwrapKey('raw', wrappedKey, unwrappingKey, {name: 'SHA-1'}
, unwrappedKeyAlgorithm, extractable, keyUsages)' rejected with null |
27 PASS: 'crypto.subtle.unwrapKey('raw', wrappedKey, unwrappingKey, aesCtrAlgorithm
, unwrappedKeyAlgorithm, extractable, keyUsages)' rejected with null | 31 PASS: 'crypto.subtle.unwrapKey('raw', wrappedKey, unwrappingKey, aesCtrAlgorithm
, unwrappedKeyAlgorithm, extractable, keyUsages)' rejected with null |
28 PASS successfullyParsed is true | 32 PASS successfullyParsed is true |
29 | 33 |
30 TEST COMPLETE | 34 TEST COMPLETE |
31 | 35 |
OLD | NEW |