| Index: LayoutTests/crypto/aes-gcm-parseAlgorithm-failures-expected.txt
|
| diff --git a/LayoutTests/crypto/aes-gcm-parseAlgorithm-failures-expected.txt b/LayoutTests/crypto/aes-gcm-parseAlgorithm-failures-expected.txt
|
| index ecd06c8bb0a68b0ea81a775d17418de897bf8820..199ec2d0ca41eee2ded2986e38e177c277720c18 100644
|
| --- a/LayoutTests/crypto/aes-gcm-parseAlgorithm-failures-expected.txt
|
| +++ b/LayoutTests/crypto/aes-gcm-parseAlgorithm-failures-expected.txt
|
| @@ -3,13 +3,35 @@ Tests bad algorithm inputs for AES-GCM
|
| On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
|
|
|
|
|
| +
|
| +Importing AES-GCM key...
|
| +
|
| +encrypt() without iv...
|
| error is: SyntaxError: AesGcmParams: iv: Missing required property
|
| +
|
| +encrypt() with iv that is a number...
|
| error is: SyntaxError: AesGcmParams: iv: Not a BufferSource
|
| +
|
| +encrypt() with iv that is a string...
|
| error is: SyntaxError: AesGcmParams: iv: Not a BufferSource
|
| +
|
| +encrypt() with additionalData that is a string...
|
| error is: SyntaxError: AesGcmParams: additionalData: Not a BufferSource
|
| +
|
| +encrypt() with tagLength that is a string...
|
| error is: SyntaxError: AesGcmParams: tagLength: Is not a number
|
| +
|
| +encrypt() with negative tagLength...
|
| error is: SyntaxError: AesGcmParams: tagLength: Outside of numeric range
|
| +
|
| +encrypt() with tagLength larger than an octet...
|
| error is: SyntaxError: AesGcmParams: tagLength: Outside of numeric range
|
| +
|
| +encrypt() with tagLength that is 0...
|
| +error is: OperationError: The tag length is invalid: Must be 32, 64, 96, 104, 112, 120, or 128 bits
|
| +
|
| +encrypt() with tagLength that is 130...
|
| +error is: OperationError: The tag length is invalid: Must be 32, 64, 96, 104, 112, 120, or 128 bits
|
| PASS successfullyParsed is true
|
|
|
| TEST COMPLETE
|
|
|