OLD | NEW |
| 1 CONSOLE ERROR: Algorithm: AES-CBC: AesCbcParams: iv: Missing or not a ArrayBuffe
rView |
| 2 CONSOLE ERROR: Algorithm: AES-CBC: AesCbcParams: iv: Missing or not a ArrayBuffe
rView |
| 3 CONSOLE ERROR: Algorithm: AES-CBC: AesCbcParams: iv: Missing or not a ArrayBuffe
rView |
| 4 CONSOLE ERROR: Algorithm: AES-CBC: AesCbcParams: iv: Must be 16 bytes |
| 5 CONSOLE ERROR: Algorithm: AES-CTR: AesCtrParams: counter: Missing or not a Uint8
Array |
| 6 CONSOLE ERROR: Algorithm: AES-CTR: AesCtrParams: counter: Missing or not a Uint8
Array |
| 7 CONSOLE ERROR: Algorithm: AES-CTR: AesCtrParams: length: Missing required proper
ty |
| 8 CONSOLE ERROR: key.algorithm does not match that of operation |
| 9 CONSOLE ERROR: key.algorithm does not match that of operation |
| 10 CONSOLE ERROR: Algorithm: AES-CTR: AesCtrParams: length: Outside of numeric rang
e |
| 11 CONSOLE ERROR: Algorithm: AES-CTR: AesCtrParams: length: Outside of numeric rang
e |
| 12 CONSOLE ERROR: Algorithm: AES-CTR: AesCtrParams: length: Outside of numeric rang
e |
| 13 CONSOLE ERROR: key.algorithm does not match that of operation |
| 14 CONSOLE ERROR: key.usages does not permit this operation |
1 Tests cypto.subtle.encrypt and crypto.subtle.decrypt | 15 Tests cypto.subtle.encrypt and crypto.subtle.decrypt |
2 | 16 |
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | 17 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
4 | 18 |
5 | 19 |
6 PASS: Failed to import key of length 0 bytes | 20 PASS: Failed to import key of length 0 bytes |
7 PASS: Failed to import key of length 1 bytes | 21 PASS: Failed to import key of length 1 bytes |
8 PASS: Failed to import key of length 15 bytes | 22 PASS: Failed to import key of length 15 bytes |
9 PASS: Failed to import key of length 17 bytes | 23 PASS: Failed to import key of length 17 bytes |
10 PASS: Failed to import key of length 31 bytes | 24 PASS: Failed to import key of length 31 bytes |
(...skipping 26 matching lines...) Expand all Loading... |
37 PASS: decrypting failed. ciphertext length: 79 | 51 PASS: decrypting failed. ciphertext length: 79 |
38 PASS: decrypting failed. ciphertext length: 64 | 52 PASS: decrypting failed. ciphertext length: 64 |
39 PASS: decrypting failed. ciphertext length: 1 | 53 PASS: decrypting failed. ciphertext length: 1 |
40 PASS: decrypting failed. ciphertext length: 15 | 54 PASS: decrypting failed. ciphertext length: 15 |
41 PASS: decrypting failed. ciphertext length: 16 | 55 PASS: decrypting failed. ciphertext length: 16 |
42 PASS: decrypting failed. ciphertext length: 17 | 56 PASS: decrypting failed. ciphertext length: 17 |
43 PASS: Decryption should be [6bc1bee22e409f96e93d7e117393172aae2d8a571e03ac9c9eb7
6fac45af8e5130c81c46a35ce411e5fbc1191a0a52eff69f2445df4f9b17ad2b417be66c3710] an
d was | 57 PASS: Decryption should be [6bc1bee22e409f96e93d7e117393172aae2d8a571e03ac9c9eb7
6fac45af8e5130c81c46a35ce411e5fbc1191a0a52eff69f2445df4f9b17ad2b417be66c3710] an
d was |
44 PASS: Decryption should be [6bc1bee22e409f96e93d7e117393172aae2d8a571e03ac9c9eb7
6fac45af8e5130c81c46a35ce411e5fbc1191a0a52eff6] and was | 58 PASS: Decryption should be [6bc1bee22e409f96e93d7e117393172aae2d8a571e03ac9c9eb7
6fac45af8e5130c81c46a35ce411e5fbc1191a0a52eff6] and was |
45 PASS: Decryption should be [6bc1bee22e409f96e93d7e117393172aae2d8a571e03ac9c9eb7
6fac45af8e5130c81c46a35ce411e5fbc1191a0a52eff69f2445df4f9b17ad2b417be6] and was | 59 PASS: Decryption should be [6bc1bee22e409f96e93d7e117393172aae2d8a571e03ac9c9eb7
6fac45af8e5130c81c46a35ce411e5fbc1191a0a52eff69f2445df4f9b17ad2b417be6] and was |
46 PASS: Decryption should be [] and was | 60 PASS: Decryption should be [] and was |
47 PASS crypto.subtle.encrypt({name: 'AES-CBC', iv: null}, keys.aesCbc, data) threw
exception TypeError: Failed to execute 'encrypt' on 'SubtleCrypto': Algorithm:
AES-CBC: AesCbcParams: iv: Missing or not a ArrayBufferView. | |
48 PASS crypto.subtle.encrypt({name: 'AES-CBC'}, keys.aesCbc, data) threw exception
TypeError: Failed to execute 'encrypt' on 'SubtleCrypto': Algorithm: AES-CBC: A
esCbcParams: iv: Missing or not a ArrayBufferView. | |
49 PASS crypto.subtle.encrypt({name: 'AES-CBC', iv: 3}, keys.aesCbc, data) threw ex
ception TypeError: Failed to execute 'encrypt' on 'SubtleCrypto': Algorithm: AES
-CBC: AesCbcParams: iv: Missing or not a ArrayBufferView. | |
50 PASS crypto.subtle.encrypt({name: 'AES-CBC', iv: new Uint8Array[0]}, keys.aesCbc
, data) threw exception TypeError: undefined is not a function. | |
51 PASS crypto.subtle.encrypt({name: 'AES-CTR', counter: null}, keys.aesCtr, data)
threw exception TypeError: Failed to execute 'encrypt' on 'SubtleCrypto': Algori
thm: AES-CTR: AesCtrParams: counter: Missing or not a Uint8Array. | |
52 PASS crypto.subtle.encrypt({name: 'AES-CTR'}, keys.aesCtr, data) threw exception
TypeError: Failed to execute 'encrypt' on 'SubtleCrypto': Algorithm: AES-CTR: A
esCtrParams: counter: Missing or not a Uint8Array. | |
53 PASS crypto.subtle.encrypt({name: 'AES-CTR', counter: new Uint8Array(0)}, keys.a
esCtr, data) threw exception TypeError: Failed to execute 'encrypt' on 'SubtleCr
ypto': Algorithm: AES-CTR: AesCtrParams: length: Missing required property. | |
54 PASS crypto.subtle.encrypt({name: 'AES-CTR', counter: new Uint8Array(16), length
: 0}, keys.aesCtr, data) threw exception NotSupportedError: Failed to execute 'e
ncrypt' on 'SubtleCrypto': key.algorithm does not match that of operation. | |
55 PASS crypto.subtle.encrypt({name: 'AES-CTR', counter: new Uint8Array(16), length
: 18}, keys.aesCtr, data) threw exception NotSupportedError: Failed to execute '
encrypt' on 'SubtleCrypto': key.algorithm does not match that of operation. | |
56 PASS crypto.subtle.encrypt({name: 'AES-CTR', counter: new Uint8Array(16), length
: 256}, keys.aesCtr, data) threw exception TypeError: Failed to execute 'encrypt
' on 'SubtleCrypto': Algorithm: AES-CTR: AesCtrParams: length: Outside of numeri
c range. | |
57 PASS crypto.subtle.encrypt({name: 'AES-CTR', counter: new Uint8Array(16), length
: -3}, keys.aesCtr, data) threw exception TypeError: Failed to execute 'encrypt'
on 'SubtleCrypto': Algorithm: AES-CTR: AesCtrParams: length: Outside of numeric
range. | |
58 PASS crypto.subtle.encrypt({name: 'AES-CTR', counter: new Uint8Array(16), length
: Infinity}, keys.aesCtr, data) threw exception TypeError: Failed to execute 'en
crypt' on 'SubtleCrypto': Algorithm: AES-CTR: AesCtrParams: length: Outside of n
umeric range. | |
59 PASS crypto.subtle.encrypt(aesCbc, keys.hmacSha1, data) threw exception NotSuppo
rtedError: Failed to execute 'encrypt' on 'SubtleCrypto': key.algorithm does not
match that of operation. | |
60 PASS crypto.subtle.encrypt(aesCbc, keys.aesCbcJustDecrypt, data) threw exception
NotSupportedError: Failed to execute 'encrypt' on 'SubtleCrypto': key.usages do
es not permit this operation. | |
61 PASS crypto.subtle.encrypt({name: 'bogus'}, null, data) threw exception TypeErro
r: Failed to execute 'encrypt' on 'SubtleCrypto': Invalid key argument. | 61 PASS crypto.subtle.encrypt({name: 'bogus'}, null, data) threw exception TypeErro
r: Failed to execute 'encrypt' on 'SubtleCrypto': Invalid key argument. |
| 62 PASS: 'crypto.subtle.encrypt({name: 'AES-CBC', iv: null}, keys.aesCbc, data)' re
jected with null |
| 63 PASS: 'crypto.subtle.encrypt({name: 'AES-CBC'}, keys.aesCbc, data)' rejected wit
h null |
| 64 PASS: 'crypto.subtle.encrypt({name: 'AES-CBC', iv: 3}, keys.aesCbc, data)' rejec
ted with null |
| 65 PASS: 'crypto.subtle.encrypt({name: 'AES-CBC', iv: new Uint8Array(0)}, keys.aesC
bc, data)' rejected with null |
| 66 PASS: 'crypto.subtle.encrypt({name: 'AES-CTR', counter: null}, keys.aesCtr, data
)' rejected with null |
| 67 PASS: 'crypto.subtle.encrypt({name: 'AES-CTR'}, keys.aesCtr, data)' rejected wit
h null |
| 68 PASS: 'crypto.subtle.encrypt({name: 'AES-CTR', counter: new Uint8Array(0)}, keys
.aesCtr, data)' rejected with null |
| 69 PASS: 'crypto.subtle.encrypt({name: 'AES-CTR', counter: new Uint8Array(16), leng
th: 0}, keys.aesCtr, data)' rejected with null |
| 70 PASS: 'crypto.subtle.encrypt({name: 'AES-CTR', counter: new Uint8Array(16), leng
th: 18}, keys.aesCtr, data)' rejected with null |
| 71 PASS: 'crypto.subtle.encrypt({name: 'AES-CTR', counter: new Uint8Array(16), leng
th: 256}, keys.aesCtr, data)' rejected with null |
| 72 PASS: 'crypto.subtle.encrypt({name: 'AES-CTR', counter: new Uint8Array(16), leng
th: -3}, keys.aesCtr, data)' rejected with null |
| 73 PASS: 'crypto.subtle.encrypt({name: 'AES-CTR', counter: new Uint8Array(16), leng
th: Infinity}, keys.aesCtr, data)' rejected with null |
| 74 PASS: 'crypto.subtle.encrypt(aesCbc, keys.hmacSha1, data)' rejected with null |
| 75 PASS: 'crypto.subtle.encrypt(aesCbc, keys.aesCbcJustDecrypt, data)' rejected wit
h null |
62 PASS successfullyParsed is true | 76 PASS successfullyParsed is true |
63 | 77 |
64 TEST COMPLETE | 78 TEST COMPLETE |
65 | 79 |
OLD | NEW |