OLD | NEW |
1 CONSOLE ERROR: Algorithm: HMAC: HmacParams: hash: Missing or not a dictionary | 1 CONSOLE ERROR: Algorithm: HMAC: HmacParams: hash: Missing or not a dictionary |
2 Tests cypto.subtle.importKey. | 2 Tests cypto.subtle.importKey. |
3 | 3 |
4 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | 4 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
5 | 5 |
6 | 6 |
7 PASS key.type is 'secret' | 7 PASS key.type is 'secret' |
8 PASS key.extractable is true | 8 PASS key.extractable is true |
9 PASS key.algorithm.name is 'HMAC' | 9 PASS key.algorithm.name is 'HMAC' |
10 PASS key.algorithm.hash.name is 'SHA-256' | |
11 PASS key.usages.join(',') is 'encrypt,sign' | 10 PASS key.usages.join(',') is 'encrypt,sign' |
12 PASS key.type is 'secret' | 11 PASS key.type is 'secret' |
13 PASS key.extractable is true | 12 PASS key.extractable is true |
14 PASS key.algorithm.name is 'AES-CBC' | 13 PASS key.algorithm.name is 'AES-CBC' |
15 PASS key.usages.join(',') is '' | 14 PASS key.usages.join(',') is '' |
16 PASS key.type is 'secret' | 15 PASS key.type is 'secret' |
17 PASS key.extractable is false | 16 PASS key.extractable is false |
18 PASS key.algorithm.name is 'AES-CBC' | 17 PASS key.algorithm.name is 'AES-CBC' |
19 PASS key.usages.join(',') is '' | 18 PASS key.usages.join(',') is '' |
20 rejected with null | 19 rejected with null |
21 rejected with null | 20 rejected with null |
22 PASS crypto.subtle.importKey('invalid format', data, algorithm, extractable, key
Usages) threw exception TypeError: Failed to execute 'importKey' on 'SubtleCrypt
o': Invalid keyFormat argument. | 21 PASS crypto.subtle.importKey('invalid format', data, algorithm, extractable, key
Usages) threw exception TypeError: Failed to execute 'importKey' on 'SubtleCrypt
o': Invalid keyFormat argument. |
23 PASS crypto.subtle.importKey(keyFormat, data, algorithm, extractable, ['SIGN'])
threw exception TypeError: Failed to execute 'importKey' on 'SubtleCrypto': Inva
lid keyUsages argument. | 22 PASS crypto.subtle.importKey(keyFormat, data, algorithm, extractable, ['SIGN'])
threw exception TypeError: Failed to execute 'importKey' on 'SubtleCrypto': Inva
lid keyUsages argument. |
24 PASS crypto.subtle.importKey('invalid format', data, algorithm, extractable, ['S
IGN']) threw exception TypeError: Failed to execute 'importKey' on 'SubtleCrypto
': Invalid keyFormat argument. | 23 PASS crypto.subtle.importKey('invalid format', data, algorithm, extractable, ['S
IGN']) threw exception TypeError: Failed to execute 'importKey' on 'SubtleCrypto
': Invalid keyFormat argument. |
25 PASS crypto.subtle.importKey(keyFormat, [], algorithm, extractable, keyUsages) t
hrew exception TypeError: Failed to execute 'importKey' on 'SubtleCrypto': Inval
id keyData argument. | 24 PASS crypto.subtle.importKey(keyFormat, [], algorithm, extractable, keyUsages) t
hrew exception TypeError: Failed to execute 'importKey' on 'SubtleCrypto': Inval
id keyData argument. |
26 PASS crypto.subtle.importKey(keyFormat, null, algorithm, extractable, keyUsages)
threw exception TypeError: Failed to execute 'importKey' on 'SubtleCrypto': Inv
alid keyData argument. | 25 PASS crypto.subtle.importKey(keyFormat, null, algorithm, extractable, keyUsages)
threw exception TypeError: Failed to execute 'importKey' on 'SubtleCrypto': Inv
alid keyData argument. |
27 PASS crypto.subtle.importKey(keyFormat, data, {name: 'sha-1'}, extractable, keyU
sages) threw exception NotSupportedError: Failed to execute 'importKey' on 'Subt
leCrypto': Algorithm: SHA-1: Unsupported operation. | 26 PASS crypto.subtle.importKey(keyFormat, data, {name: 'sha-1'}, extractable, keyU
sages) threw exception NotSupportedError: Failed to execute 'importKey' on 'Subt
leCrypto': Algorithm: SHA-1: Unsupported operation. |
28 PASS: 'crypto.subtle.importKey(keyFormat, data, {name: 'hmac'}, extractable, key
Usages)' rejected with null | 27 PASS: 'crypto.subtle.importKey(keyFormat, data, {name: 'hmac'}, extractable, key
Usages)' rejected with null |
29 PASS successfullyParsed is true | 28 PASS successfullyParsed is true |
30 | 29 |
31 TEST COMPLETE | 30 TEST COMPLETE |
32 | 31 |
OLD | NEW |