| Index: LayoutTests/crypto/encrypt-decrypt-expected.txt
|
| diff --git a/LayoutTests/crypto/encrypt-decrypt-expected.txt b/LayoutTests/crypto/encrypt-decrypt-expected.txt
|
| index 655818c5cec89341839b076a808685eb792ef16e..e7ac0928012d26db18b55860c1f69bbce0267072 100644
|
| --- a/LayoutTests/crypto/encrypt-decrypt-expected.txt
|
| +++ b/LayoutTests/crypto/encrypt-decrypt-expected.txt
|
| @@ -50,13 +50,12 @@ PASS crypto.subtle.encrypt({name: 'AES-CBC', iv: 3}, keys.aesCbc, data) threw ex
|
| PASS crypto.subtle.encrypt({name: 'AES-CBC', iv: new Uint8Array[0]}, keys.aesCbc, data) threw exception TypeError: undefined is not a function.
|
| PASS crypto.subtle.encrypt({name: 'AES-CTR', counter: null}, keys.aesCtr, data) threw exception TypeError: Failed to execute 'encrypt' on 'SubtleCrypto': Algorithm: AES-CTR: AesCtrParams: counter: Missing or not a Uint8Array.
|
| PASS crypto.subtle.encrypt({name: 'AES-CTR'}, keys.aesCtr, data) threw exception TypeError: Failed to execute 'encrypt' on 'SubtleCrypto': Algorithm: AES-CTR: AesCtrParams: counter: Missing or not a Uint8Array.
|
| -PASS crypto.subtle.encrypt({name: 'AES-CTR', counter: new Uint8Array[0]}, keys.aesCtr, data) threw exception TypeError: undefined is not a function.
|
| -PASS crypto.subtle.encrypt({name: 'AES-CTR', counter: new Uint8Array[16]}, keys.aesCtr, data) threw exception TypeError: undefined is not a function.
|
| -PASS crypto.subtle.encrypt({name: 'AES-CTR', counter: new Uint8Array[16]}, keys.aesCtr, data) threw exception TypeError: undefined is not a function.
|
| -PASS crypto.subtle.encrypt({name: 'AES-CTR', counter: new Uint8Array[16], length: 0}, keys.aesCtr, data) threw exception TypeError: undefined is not a function.
|
| -PASS crypto.subtle.encrypt({name: 'AES-CTR', counter: new Uint8Array[16], length: 18}, keys.aesCtr, data) threw exception TypeError: undefined is not a function.
|
| -PASS crypto.subtle.encrypt({name: 'AES-CTR', counter: new Uint8Array[16], length: -3}, keys.aesCtr, data) threw exception TypeError: undefined is not a function.
|
| -PASS crypto.subtle.encrypt({name: 'AES-CTR', counter: new Uint8Array[16], length: Infinity}, keys.aesCtr, data) threw exception TypeError: undefined is not a function.
|
| +PASS crypto.subtle.encrypt({name: 'AES-CTR', counter: new Uint8Array(0)}, keys.aesCtr, data) threw exception TypeError: Failed to execute 'encrypt' on 'SubtleCrypto': Algorithm: AES-CTR: AesCtrParams: length: Missing required property.
|
| +PASS crypto.subtle.encrypt({name: 'AES-CTR', counter: new Uint8Array(16), length: 0}, keys.aesCtr, data) threw exception NotSupportedError: Failed to execute 'encrypt' on 'SubtleCrypto': key.algorithm does not match that of operation.
|
| +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.
|
| +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 numeric range.
|
| +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.
|
| +PASS crypto.subtle.encrypt({name: 'AES-CTR', counter: new Uint8Array(16), length: Infinity}, keys.aesCtr, data) threw exception TypeError: Failed to execute 'encrypt' on 'SubtleCrypto': Algorithm: AES-CTR: AesCtrParams: length: Outside of numeric range.
|
| PASS crypto.subtle.encrypt(aesCbc, keys.hmacSha1, data) threw exception NotSupportedError: Failed to execute 'encrypt' on 'SubtleCrypto': key.algorithm does not match that of operation.
|
| PASS crypto.subtle.encrypt(aesCbc, keys.aesCbcJustDecrypt, data) threw exception NotSupportedError: Failed to execute 'encrypt' on 'SubtleCrypto': key.usages does not permit this operation.
|
| PASS crypto.subtle.encrypt({name: 'bogus'}, null, data) threw exception TypeError: Failed to execute 'encrypt' on 'SubtleCrypto': Invalid key argument.
|
|
|