OLD | NEW |
(Empty) | |
| 1 Tests cypto.subtle.encrypt and crypto.subtle.decrypt |
| 2 |
| 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
| 4 |
| 5 |
| 6 PASS crypto.subtle.encrypt({name: 'AES-CBC', iv: null}, keys.aesCbc, data) threw
exception NotSupportedError: The implementation did not support the requested t
ype of object or operation.. |
| 7 PASS crypto.subtle.encrypt({name: 'AES-CBC'}, keys.aesCbc, data) threw exception
NotSupportedError: The implementation did not support the requested type of obj
ect or operation.. |
| 8 PASS crypto.subtle.encrypt({name: 'AES-CBC', iv: 3}, keys.aesCbc, data) threw ex
ception NotSupportedError: The implementation did not support the requested type
of object or operation.. |
| 9 PASS crypto.subtle.encrypt({name: 'AES-CBC', iv: new Uint8Array[0]}, keys.aesCbc
, data) threw exception TypeError: undefined is not a function. |
| 10 PASS crypto.subtle.encrypt(aesCbc, keys.hmacSha1, data) threw exception NotSuppo
rtedError: The implementation did not support the requested type of object or op
eration.. |
| 11 PASS crypto.subtle.encrypt(aesCbc, keys.aesCbcJustDecrypt, data) threw exception
NotSupportedError: The implementation did not support the requested type of obj
ect or operation.. |
| 12 PASS successfullyParsed is true |
| 13 |
| 14 TEST COMPLETE |
| 15 |
OLD | NEW |