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

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

Issue 861763002: [WebCrypto] Normalize name of WebCrypto failure layout tests (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 11 months 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

Powered by Google App Engine
This is Rietveld 408576698