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

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

Issue 801793003: Improve LayoutTest output for Errors (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: 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
1 Tests bad algorithm inputs for AES-CBC 1 Tests bad algorithm inputs for AES-CBC
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
7 Importing AES-CBC key...
8
9 encrypt() with iv that is null...
6 error is: TypeError: AesCbcParams: iv: Not a BufferSource 10 error is: TypeError: AesCbcParams: iv: Not a BufferSource
11
12 encrypt() without iv...
7 error is: TypeError: AesCbcParams: iv: Missing required property 13 error is: TypeError: AesCbcParams: iv: Missing required property
14
15 encrypt() with iv that is a number...
8 error is: TypeError: AesCbcParams: iv: Not a BufferSource 16 error is: TypeError: AesCbcParams: iv: Not a BufferSource
17
18 encrypt() with an iv containing 0 bytes...
9 error is: OperationError: The "iv" has an unexpected length -- must be 16 bytes 19 error is: OperationError: The "iv" has an unexpected length -- must be 16 bytes
20
21 encrypt() with an iv containing 17 bytes...
10 error is: OperationError: The "iv" has an unexpected length -- must be 16 bytes 22 error is: OperationError: The "iv" has an unexpected length -- must be 16 bytes
11 PASS successfullyParsed is true 23 PASS successfullyParsed is true
12 24
13 TEST COMPLETE 25 TEST COMPLETE
14 26
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698