OLD | NEW |
| 1 CONSOLE ERROR: Algorithm: AES-CBC: AesKeyGenParams: length: Missing required pro
perty |
| 2 CONSOLE ERROR: Algorithm: AES-CBC: AesKeyGenParams: length: Outside of numeric r
ange |
| 3 CONSOLE ERROR: Algorithm: AES-CBC: AesKeyGenParams: length: Outside of numeric r
ange |
| 4 CONSOLE ERROR: Algorithm: AES-CBC: AesKeyGenParams: length: Outside of numeric r
ange |
| 5 CONSOLE ERROR: Algorithm: AES-CTR: AesKeyGenParams: length: Missing required pro
perty |
| 6 CONSOLE ERROR: Algorithm: AES-CTR: AesKeyGenParams: length: Outside of numeric r
ange |
| 7 CONSOLE ERROR: Algorithm: AES-CTR: AesKeyGenParams: length: Outside of numeric r
ange |
| 8 CONSOLE ERROR: Algorithm: AES-CTR: AesKeyGenParams: length: Outside of numeric r
ange |
| 9 CONSOLE ERROR: Algorithm: AES-KW: AesKeyGenParams: length: Missing required prop
erty |
| 10 CONSOLE ERROR: Algorithm: AES-KW: AesKeyGenParams: length: Outside of numeric ra
nge |
| 11 CONSOLE ERROR: Algorithm: AES-KW: AesKeyGenParams: length: Outside of numeric ra
nge |
| 12 CONSOLE ERROR: Algorithm: AES-KW: AesKeyGenParams: length: Outside of numeric ra
nge |
| 13 CONSOLE ERROR: Algorithm: HMAC: HmacKeyParams: length: Outside of numeric range |
| 14 CONSOLE ERROR: Algorithm: HMAC: HmacKeyParams: hash: Algorithm: Unrecognized alg
orithm name |
| 15 CONSOLE ERROR: Algorithm: HMAC: HmacKeyParams: length: Outside of numeric range |
| 16 CONSOLE ERROR: Algorithm: HMAC: HmacKeyParams: length: Is not a number |
| 17 CONSOLE ERROR: Algorithm: HMAC: HmacKeyParams: length: Outside of numeric range |
| 18 CONSOLE ERROR: Algorithm: HMAC: HmacKeyParams: length: Outside of numeric range |
| 19 CONSOLE ERROR: Algorithm: HMAC: HmacKeyParams: length: Is not a number |
| 20 CONSOLE ERROR: Algorithm: HMAC: HmacKeyParams: length: Is not a number |
| 21 CONSOLE ERROR: Algorithm: RSASSA-PKCS1-v1_5: RsaKeyGenParams: modulusLength: Out
side of numeric range |
| 22 CONSOLE ERROR: Algorithm: RSASSA-PKCS1-v1_5: RsaKeyGenParams: modulusLength: Is
not a number |
| 23 CONSOLE ERROR: Algorithm: RSASSA-PKCS1-v1_5: RsaKeyGenParams: modulusLength: Mis
sing required property |
| 24 CONSOLE ERROR: Algorithm: RSASSA-PKCS1-v1_5: RsaKeyGenParams: publicExponent: Mi
ssing or not a Uint8Array |
| 25 CONSOLE ERROR: Algorithm: RSASSA-PKCS1-v1_5: RsaKeyGenParams: publicExponent: Mi
ssing or not a Uint8Array |
| 26 CONSOLE ERROR: Algorithm: RSASSA-PKCS1-v1_5: RsaKeyGenParams: publicExponent: Mi
ssing or not a Uint8Array |
| 27 CONSOLE ERROR: Algorithm: RSAES-PKCS1-v1_5: RsaKeyGenParams: modulusLength: Outs
ide of numeric range |
| 28 CONSOLE ERROR: Algorithm: RSAES-PKCS1-v1_5: RsaKeyGenParams: modulusLength: Is n
ot a number |
| 29 CONSOLE ERROR: Algorithm: RSAES-PKCS1-v1_5: RsaKeyGenParams: modulusLength: Miss
ing required property |
| 30 CONSOLE ERROR: Algorithm: RSAES-PKCS1-v1_5: RsaKeyGenParams: publicExponent: Mis
sing or not a Uint8Array |
| 31 CONSOLE ERROR: Algorithm: RSAES-PKCS1-v1_5: RsaKeyGenParams: publicExponent: Mis
sing or not a Uint8Array |
| 32 CONSOLE ERROR: Algorithm: RSAES-PKCS1-v1_5: RsaKeyGenParams: publicExponent: Mis
sing or not a Uint8Array |
1 Tests crypto.subtle.generateKey. | 33 Tests crypto.subtle.generateKey. |
2 | 34 |
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | 35 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
4 | 36 |
5 | 37 |
6 PASS crypto.subtle.generateKey(aesCbc, extractable, -1) threw exception TypeErro
r: The 3rd argument is neither an array, nor does it have indexed properties.. | 38 PASS crypto.subtle.generateKey(aesCbc, extractable, -1) threw exception TypeErro
r: The 3rd argument is neither an array, nor does it have indexed properties.. |
7 PASS crypto.subtle.generateKey(aesCbc, extractable, null) threw exception TypeEr
ror: The 3rd argument is neither an array, nor does it have indexed properties.. | 39 PASS crypto.subtle.generateKey(aesCbc, extractable, null) threw exception TypeEr
ror: The 3rd argument is neither an array, nor does it have indexed properties.. |
8 PASS crypto.subtle.generateKey(aesCbc, extractable, ['boo']) threw exception Typ
eError: Failed to execute 'generateKey' on 'SubtleCrypto': Invalid keyUsages arg
ument. | 40 PASS crypto.subtle.generateKey(aesCbc, extractable, ['boo']) threw exception Typ
eError: Failed to execute 'generateKey' on 'SubtleCrypto': Invalid keyUsages arg
ument. |
9 PASS crypto.subtle.generateKey({ name: 'aes-cbc' }, extractable, keyUsages) thre
w exception TypeError: Failed to execute 'generateKey' on 'SubtleCrypto': Algori
thm: AES-CBC: AesKeyGenParams: length: Missing required property. | 41 PASS: 'crypto.subtle.generateKey({ name: 'aes-cbc' }, extractable, keyUsages)' r
ejected with null |
10 PASS crypto.subtle.generateKey({ name: 'aes-cbc', length: 70000 }, extractable,
keyUsages) threw exception TypeError: Failed to execute 'generateKey' on 'Subtle
Crypto': Algorithm: AES-CBC: AesKeyGenParams: length: Outside of numeric range. | 42 PASS: 'crypto.subtle.generateKey({ name: 'aes-cbc', length: 70000 }, extractable
, keyUsages)' rejected with null |
11 PASS crypto.subtle.generateKey({ name: 'aes-cbc', length: -3 }, extractable, key
Usages) threw exception TypeError: Failed to execute 'generateKey' on 'SubtleCry
pto': Algorithm: AES-CBC: AesKeyGenParams: length: Outside of numeric range. | 43 PASS: 'crypto.subtle.generateKey({ name: 'aes-cbc', length: -3 }, extractable, k
eyUsages)' rejected with null |
12 PASS crypto.subtle.generateKey({ name: 'aes-cbc', length: -Infinity }, extractab
le, keyUsages) threw exception TypeError: Failed to execute 'generateKey' on 'Su
btleCrypto': Algorithm: AES-CBC: AesKeyGenParams: length: Outside of numeric ran
ge. | 44 PASS: 'crypto.subtle.generateKey({ name: 'aes-cbc', length: -Infinity }, extract
able, keyUsages)' rejected with null |
13 PASS crypto.subtle.generateKey({ name: 'aes-ctr' }, extractable, keyUsages) thre
w exception TypeError: Failed to execute 'generateKey' on 'SubtleCrypto': Algori
thm: AES-CTR: AesKeyGenParams: length: Missing required property. | 45 PASS: 'crypto.subtle.generateKey({ name: 'aes-ctr' }, extractable, keyUsages)' r
ejected with null |
14 PASS crypto.subtle.generateKey({ name: 'aes-ctr', length: 70000 }, extractable,
keyUsages) threw exception TypeError: Failed to execute 'generateKey' on 'Subtle
Crypto': Algorithm: AES-CTR: AesKeyGenParams: length: Outside of numeric range. | 46 PASS: 'crypto.subtle.generateKey({ name: 'aes-ctr', length: 70000 }, extractable
, keyUsages)' rejected with null |
15 PASS crypto.subtle.generateKey({ name: 'aes-ctr', length: -3 }, extractable, key
Usages) threw exception TypeError: Failed to execute 'generateKey' on 'SubtleCry
pto': Algorithm: AES-CTR: AesKeyGenParams: length: Outside of numeric range. | 47 PASS: 'crypto.subtle.generateKey({ name: 'aes-ctr', length: -3 }, extractable, k
eyUsages)' rejected with null |
16 PASS crypto.subtle.generateKey({ name: 'aes-ctr', length: -Infinity }, extractab
le, keyUsages) threw exception TypeError: Failed to execute 'generateKey' on 'Su
btleCrypto': Algorithm: AES-CTR: AesKeyGenParams: length: Outside of numeric ran
ge. | 48 PASS: 'crypto.subtle.generateKey({ name: 'aes-ctr', length: -Infinity }, extract
able, keyUsages)' rejected with null |
17 PASS crypto.subtle.generateKey({ name: 'aes-kw' }, extractable, keyUsages) threw
exception TypeError: Failed to execute 'generateKey' on 'SubtleCrypto': Algorit
hm: AES-KW: AesKeyGenParams: length: Missing required property. | 49 PASS: 'crypto.subtle.generateKey({ name: 'aes-kw' }, extractable, keyUsages)' re
jected with null |
18 PASS crypto.subtle.generateKey({ name: 'aes-kw', length: 70000 }, extractable, k
eyUsages) threw exception TypeError: Failed to execute 'generateKey' on 'SubtleC
rypto': Algorithm: AES-KW: AesKeyGenParams: length: Outside of numeric range. | 50 PASS: 'crypto.subtle.generateKey({ name: 'aes-kw', length: 70000 }, extractable,
keyUsages)' rejected with null |
19 PASS crypto.subtle.generateKey({ name: 'aes-kw', length: -3 }, extractable, keyU
sages) threw exception TypeError: Failed to execute 'generateKey' on 'SubtleCryp
to': Algorithm: AES-KW: AesKeyGenParams: length: Outside of numeric range. | 51 PASS: 'crypto.subtle.generateKey({ name: 'aes-kw', length: -3 }, extractable, ke
yUsages)' rejected with null |
20 PASS crypto.subtle.generateKey({ name: 'aes-kw', length: -Infinity }, extractabl
e, keyUsages) threw exception TypeError: Failed to execute 'generateKey' on 'Sub
tleCrypto': Algorithm: AES-KW: AesKeyGenParams: length: Outside of numeric range
. | 52 PASS: 'crypto.subtle.generateKey({ name: 'aes-kw', length: -Infinity }, extracta
ble, keyUsages)' rejected with null |
21 PASS crypto.subtle.generateKey({name: 'hmac', hash: {name: 'sha-256'}, length: -
3}, extractable , keyUsages) threw exception TypeError: Failed to execute 'gener
ateKey' on 'SubtleCrypto': Algorithm: HMAC: HmacKeyParams: length: Outside of nu
meric range. | 53 PASS: 'crypto.subtle.generateKey({name: 'hmac', hash: {name: 'sha-256'}, length:
-3}, extractable , keyUsages)' rejected with null |
22 PASS crypto.subtle.generateKey({name: 'hmac', hash: {name: ''}, length: 48}, ext
ractable , keyUsages) threw exception NotSupportedError: Failed to execute 'gene
rateKey' on 'SubtleCrypto': Algorithm: HMAC: HmacKeyParams: hash: Algorithm: Unr
ecognized algorithm name. | 54 PASS: 'crypto.subtle.generateKey({name: 'hmac', hash: {name: ''}, length: 48}, e
xtractable , keyUsages)' rejected with null |
23 PASS crypto.subtle.generateKey({name: 'hmac', hash: {name: 'sha-256'}, length: 5
000000000}, extractable , keyUsages) threw exception TypeError: Failed to execut
e 'generateKey' on 'SubtleCrypto': Algorithm: HMAC: HmacKeyParams: length: Outsi
de of numeric range. | 55 PASS: 'crypto.subtle.generateKey({name: 'hmac', hash: {name: 'sha-256'}, length:
5000000000}, extractable , keyUsages)' rejected with null |
24 PASS crypto.subtle.generateKey({name: 'hmac', hash: {name: 'sha-256'}, length: N
aN}, extractable , keyUsages) threw exception TypeError: Failed to execute 'gene
rateKey' on 'SubtleCrypto': Algorithm: HMAC: HmacKeyParams: length: Is not a num
ber. | 56 PASS: 'crypto.subtle.generateKey({name: 'hmac', hash: {name: 'sha-256'}, length:
NaN}, extractable , keyUsages)' rejected with null |
25 PASS crypto.subtle.generateKey({name: 'hmac', hash: {name: 'sha-256'}, length: I
nfinity}, extractable , keyUsages) threw exception TypeError: Failed to execute
'generateKey' on 'SubtleCrypto': Algorithm: HMAC: HmacKeyParams: length: Outside
of numeric range. | 57 PASS: 'crypto.subtle.generateKey({name: 'hmac', hash: {name: 'sha-256'}, length:
Infinity}, extractable , keyUsages)' rejected with null |
26 PASS crypto.subtle.generateKey({name: 'hmac', hash: {name: 'sha-256'}, length: -
Infinity}, extractable , keyUsages) threw exception TypeError: Failed to execute
'generateKey' on 'SubtleCrypto': Algorithm: HMAC: HmacKeyParams: length: Outsid
e of numeric range. | 58 PASS: 'crypto.subtle.generateKey({name: 'hmac', hash: {name: 'sha-256'}, length:
-Infinity}, extractable , keyUsages)' rejected with null |
27 PASS crypto.subtle.generateKey({name: 'hmac', hash: {name: 'sha-256'}, length: c
rypto}, extractable , keyUsages) threw exception TypeError: Failed to execute 'g
enerateKey' on 'SubtleCrypto': Algorithm: HMAC: HmacKeyParams: length: Is not a
number. | 59 PASS: 'crypto.subtle.generateKey({name: 'hmac', hash: {name: 'sha-256'}, length:
crypto}, extractable , keyUsages)' rejected with null |
28 PASS crypto.subtle.generateKey({name: 'hmac', hash: {name: 'sha-256'}, length: u
ndefined}, extractable , keyUsages) threw exception TypeError: Failed to execute
'generateKey' on 'SubtleCrypto': Algorithm: HMAC: HmacKeyParams: length: Is not
a number. | 60 PASS: 'crypto.subtle.generateKey({name: 'hmac', hash: {name: 'sha-256'}, length:
undefined}, extractable , keyUsages)' rejected with null |
29 PASS crypto.subtle.generateKey({name: 'hmac', hash: {name: 'sha-256'}, length: '
48'}, extractable , keyUsages) did not throw exception. | 61 PASS: 'crypto.subtle.generateKey({name: 'hmac', hash: {name: 'sha-256'}, length:
null}, extractable , keyUsages)' rejected with null |
30 PASS crypto.subtle.generateKey({name: 'hmac', hash: {name: 'sha-256'}, length: n
ull}, extractable , keyUsages) did not throw exception. | 62 PASS: 'crypto.subtle.generateKey({name: 'RSASSA-PKCS1-v1_5', modulusLength: -30}
, extractable , keyUsages)' rejected with null |
31 PASS crypto.subtle.generateKey({name: 'hmac', hash: {name: 'sha-256'}, length: t
rue}, extractable , keyUsages) did not throw exception. | 63 PASS: 'crypto.subtle.generateKey({name: 'RSASSA-PKCS1-v1_5', modulusLength: NaN}
, extractable , keyUsages)' rejected with null |
32 PASS crypto.subtle.generateKey({name: 'RSASSA-PKCS1-v1_5', modulusLength: -30},
extractable , keyUsages) threw exception TypeError: Failed to execute 'generateK
ey' on 'SubtleCrypto': Algorithm: RSASSA-PKCS1-v1_5: RsaKeyGenParams: modulusLen
gth: Outside of numeric range. | 64 PASS: 'crypto.subtle.generateKey({name: 'RSASSA-PKCS1-v1_5'}, extractable , keyU
sages)' rejected with null |
33 PASS crypto.subtle.generateKey({name: 'RSASSA-PKCS1-v1_5', modulusLength: NaN},
extractable , keyUsages) threw exception TypeError: Failed to execute 'generateK
ey' on 'SubtleCrypto': Algorithm: RSASSA-PKCS1-v1_5: RsaKeyGenParams: modulusLen
gth: Is not a number. | 65 PASS: 'crypto.subtle.generateKey({name: 'RSASSA-PKCS1-v1_5', modulusLength: 10},
extractable , keyUsages)' rejected with null |
34 PASS crypto.subtle.generateKey({name: 'RSASSA-PKCS1-v1_5'}, extractable , keyUsa
ges) threw exception TypeError: Failed to execute 'generateKey' on 'SubtleCrypto
': Algorithm: RSASSA-PKCS1-v1_5: RsaKeyGenParams: modulusLength: Missing require
d property. | 66 PASS: 'crypto.subtle.generateKey({name: 'RSASSA-PKCS1-v1_5', modulusLength: 10,
publicExponent: 10}, extractable , keyUsages)' rejected with null |
35 PASS crypto.subtle.generateKey({name: 'RSASSA-PKCS1-v1_5', modulusLength: 10}, e
xtractable , keyUsages) threw exception TypeError: Failed to execute 'generateKe
y' on 'SubtleCrypto': Algorithm: RSASSA-PKCS1-v1_5: RsaKeyGenParams: publicExpon
ent: Missing or not a Uint8Array. | 67 PASS: 'crypto.subtle.generateKey({name: 'RSASSA-PKCS1-v1_5', modulusLength: 10,
publicExponent: null}, extractable , keyUsages)' rejected with null |
36 PASS crypto.subtle.generateKey({name: 'RSASSA-PKCS1-v1_5', modulusLength: 10, pu
blicExponent: 10}, extractable , keyUsages) threw exception TypeError: Failed to
execute 'generateKey' on 'SubtleCrypto': Algorithm: RSASSA-PKCS1-v1_5: RsaKeyGe
nParams: publicExponent: Missing or not a Uint8Array. | 68 PASS: 'crypto.subtle.generateKey({name: 'RSAES-PKCS1-v1_5', modulusLength: -30},
extractable , keyUsages)' rejected with null |
37 PASS crypto.subtle.generateKey({name: 'RSASSA-PKCS1-v1_5', modulusLength: 10, pu
blicExponent: null}, extractable , keyUsages) threw exception TypeError: Failed
to execute 'generateKey' on 'SubtleCrypto': Algorithm: RSASSA-PKCS1-v1_5: RsaKey
GenParams: publicExponent: Missing or not a Uint8Array. | 69 PASS: 'crypto.subtle.generateKey({name: 'RSAES-PKCS1-v1_5', modulusLength: NaN},
extractable , keyUsages)' rejected with null |
38 PASS crypto.subtle.generateKey({name: 'RSAES-PKCS1-v1_5', modulusLength: -30}, e
xtractable , keyUsages) threw exception TypeError: Failed to execute 'generateKe
y' on 'SubtleCrypto': Algorithm: RSAES-PKCS1-v1_5: RsaKeyGenParams: modulusLengt
h: Outside of numeric range. | 70 PASS: 'crypto.subtle.generateKey({name: 'RSAES-PKCS1-v1_5'}, extractable , keyUs
ages)' rejected with null |
39 PASS crypto.subtle.generateKey({name: 'RSAES-PKCS1-v1_5', modulusLength: NaN}, e
xtractable , keyUsages) threw exception TypeError: Failed to execute 'generateKe
y' on 'SubtleCrypto': Algorithm: RSAES-PKCS1-v1_5: RsaKeyGenParams: modulusLengt
h: Is not a number. | 71 PASS: 'crypto.subtle.generateKey({name: 'RSAES-PKCS1-v1_5', modulusLength: 10},
extractable , keyUsages)' rejected with null |
40 PASS crypto.subtle.generateKey({name: 'RSAES-PKCS1-v1_5'}, extractable , keyUsag
es) threw exception TypeError: Failed to execute 'generateKey' on 'SubtleCrypto'
: Algorithm: RSAES-PKCS1-v1_5: RsaKeyGenParams: modulusLength: Missing required
property. | 72 PASS: 'crypto.subtle.generateKey({name: 'RSAES-PKCS1-v1_5', modulusLength: 10, p
ublicExponent: 10}, extractable , keyUsages)' rejected with null |
41 PASS crypto.subtle.generateKey({name: 'RSAES-PKCS1-v1_5', modulusLength: 10}, ex
tractable , keyUsages) threw exception TypeError: Failed to execute 'generateKey
' on 'SubtleCrypto': Algorithm: RSAES-PKCS1-v1_5: RsaKeyGenParams: publicExponen
t: Missing or not a Uint8Array. | 73 PASS: 'crypto.subtle.generateKey({name: 'RSAES-PKCS1-v1_5', modulusLength: 10, p
ublicExponent: null}, extractable , keyUsages)' rejected with null |
42 PASS crypto.subtle.generateKey({name: 'RSAES-PKCS1-v1_5', modulusLength: 10, pub
licExponent: 10}, extractable , keyUsages) threw exception TypeError: Failed to
execute 'generateKey' on 'SubtleCrypto': Algorithm: RSAES-PKCS1-v1_5: RsaKeyGenP
arams: publicExponent: Missing or not a Uint8Array. | 74 PASS: 'crypto.subtle.generateKey({name: 'hmac', hash: {name: 'sha-256'}, length:
'48'}, extractable , keyUsages)' accepted with [object Key] |
43 PASS crypto.subtle.generateKey({name: 'RSAES-PKCS1-v1_5', modulusLength: 10, pub
licExponent: null}, extractable , keyUsages) threw exception TypeError: Failed t
o execute 'generateKey' on 'SubtleCrypto': Algorithm: RSAES-PKCS1-v1_5: RsaKeyGe
nParams: publicExponent: Missing or not a Uint8Array. | 75 PASS: 'crypto.subtle.generateKey({name: 'hmac', hash: {name: 'sha-256'}, length:
true}, extractable , keyUsages)' accepted with [object Key] |
44 PASS successfullyParsed is true | 76 PASS successfullyParsed is true |
45 | 77 |
46 TEST COMPLETE | 78 TEST COMPLETE |
47 | 79 |
OLD | NEW |