| OLD | NEW |
| 1 Tests algorithm normalization. | 1 Tests algorithm normalization. |
| 2 | 2 |
| 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
| 4 | 4 |
| 5 | 5 |
| 6 PASS algorithm.name is 'SHA-1' | 6 PASS algorithm.name is 'SHA-1' |
| 7 PASS algorithm.name is 'SHA-256' | 7 PASS algorithm.name is 'SHA-256' |
| 8 PASS normalizeDigest({}) threw exception NotSupportedError: The implementation d
id not support the requested type of object or operation.. | 8 PASS normalizeDigest({}) threw exception NotSupportedError: The implementation d
id not support the requested type of object or operation.. |
| 9 PASS normalizeDigest({name: null}) threw exception NotSupportedError: The implem
entation did not support the requested type of object or operation.. | 9 PASS normalizeDigest({name: null}) threw exception NotSupportedError: The implem
entation did not support the requested type of object or operation.. |
| 10 PASS normalizeDigest({name: -1}) threw exception NotSupportedError: The implemen
tation did not support the requested type of object or operation.. | 10 PASS normalizeDigest({name: -1}) threw exception NotSupportedError: The implemen
tation did not support the requested type of object or operation.. |
| (...skipping 19 matching lines...) Expand all Loading... |
| 30 PASS algorithm.iv.length is 16 | 30 PASS algorithm.iv.length is 16 |
| 31 PASS algorithm.iv[1] is 1 | 31 PASS algorithm.iv[1] is 1 |
| 32 PASS normalizeEncrypt({ name: 'SHA-1' }) threw exception NotSupportedError: The
implementation did not support the requested type of object or operation.. | 32 PASS normalizeEncrypt({ name: 'SHA-1' }) threw exception NotSupportedError: The
implementation did not support the requested type of object or operation.. |
| 33 PASS normalizeDigest({ name: 'AES-CBC', iv: originalIv }) threw exception NotSup
portedError: The implementation did not support the requested type of object or
operation.. | 33 PASS normalizeDigest({ name: 'AES-CBC', iv: originalIv }) threw exception NotSup
portedError: The implementation did not support the requested type of object or
operation.. |
| 34 PASS normalizeSign({name: 'hmac'}) threw exception NotSupportedError: The implem
entation did not support the requested type of object or operation.. | 34 PASS normalizeSign({name: 'hmac'}) threw exception NotSupportedError: The implem
entation did not support the requested type of object or operation.. |
| 35 PASS normalizeSign({name: 'hmac', hash: 'foo'}) threw exception NotSupportedErro
r: The implementation did not support the requested type of object or operation.
. | 35 PASS normalizeSign({name: 'hmac', hash: 'foo'}) threw exception NotSupportedErro
r: The implementation did not support the requested type of object or operation.
. |
| 36 PASS normalizeSign({name: 'hmac', hash: { name: 'AES-CBC', iv: originalIv }}) th
rew exception NotSupportedError: The implementation did not support the requeste
d type of object or operation.. | 36 PASS normalizeSign({name: 'hmac', hash: { name: 'AES-CBC', iv: originalIv }}) th
rew exception NotSupportedError: The implementation did not support the requeste
d type of object or operation.. |
| 37 PASS algorithm.name is 'HMAC' | 37 PASS algorithm.name is 'HMAC' |
| 38 PASS algorithm.hash.name is 'SHA-1' | 38 PASS algorithm.hash.name is 'SHA-1' |
| 39 PASS normalizeEncrypt(validHmacSha1) threw exception NotSupportedError: The impl
ementation did not support the requested type of object or operation.. | 39 PASS normalizeEncrypt(validHmacSha1) threw exception NotSupportedError: The impl
ementation did not support the requested type of object or operation.. |
| 40 PASS crypto.subtle.encrypt(algorithmIdentifier, aesCbcKeyNoEncrypt) threw except
ion NotSupportedError: The implementation did not support the requested type of
object or operation.. |
| 41 PASS crypto.subtle.encrypt(algorithmIdentifier, hmacSha1Key) threw exception Not
SupportedError: The implementation did not support the requested type of object
or operation.. |
| 42 PASS crypto.subtle.sign(algorithmIdentifier, hmacSha1Key) threw exception NotSup
portedError: The implementation did not support the requested type of object or
operation.. |
| 40 PASS successfullyParsed is true | 43 PASS successfullyParsed is true |
| 41 | 44 |
| 42 TEST COMPLETE | 45 TEST COMPLETE |
| 43 | 46 |
| OLD | NEW |