Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(239)

Side by Side Diff: LayoutTests/crypto/aes-gcm-parseAlgorithm-failures-expected.txt

Issue 806913006: [WebCrypto] Move LayoutTests from crypto to crypto/subtle (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Update path for deserialize legacy tests Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 Tests bad algorithm inputs for AES-GCM
2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4
5
6
7 Importing AES-GCM key...
8
9 encrypt() without iv...
10 error is: TypeError: AesGcmParams: iv: Missing required property
11
12 encrypt() with iv that is a number...
13 error is: TypeError: AesGcmParams: iv: Not a BufferSource
14
15 encrypt() with iv that is a string...
16 error is: TypeError: AesGcmParams: iv: Not a BufferSource
17
18 encrypt() with additionalData that is a string...
19 error is: TypeError: AesGcmParams: additionalData: Not a BufferSource
20
21 encrypt() with tagLength that is a string...
22 error is: TypeError: AesGcmParams: tagLength: Is not a number
23
24 encrypt() with negative tagLength...
25 error is: TypeError: AesGcmParams: tagLength: Outside of numeric range
26
27 encrypt() with tagLength larger than an octet...
28 error is: TypeError: AesGcmParams: tagLength: Outside of numeric range
29
30 encrypt() with tagLength that is 0...
31 error is: OperationError: The tag length is invalid: Must be 32, 64, 96, 104, 11 2, 120, or 128 bits
32
33 encrypt() with tagLength that is 130...
34 error is: OperationError: The tag length is invalid: Must be 32, 64, 96, 104, 11 2, 120, or 128 bits
35 PASS successfullyParsed is true
36
37 TEST COMPLETE
38
OLDNEW
« no previous file with comments | « LayoutTests/crypto/aes-gcm-parseAlgorithm-failures.html ('k') | LayoutTests/crypto/aes-generateKey.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698