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-cbc-generateKey-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 generateKey() with bad AES-CBC parameters. 1 Tests generateKey() with bad AES-CBC parameters.
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 generateKey() with invalid keyUsages value that is -1...
6 error is: TypeError: Failed to execute 'generateKey' on 'SubtleCrypto': The 3rd argument is neither an array, nor does it have indexed properties. 8 error is: TypeError: Failed to execute 'generateKey' on 'SubtleCrypto': The 3rd argument is neither an array, nor does it have indexed properties.
9
10 generateKey() with invalid keyUsages value that is null...
7 error is: TypeError: Failed to execute 'generateKey' on 'SubtleCrypto': The 3rd argument is neither an array, nor does it have indexed properties. 11 error is: TypeError: Failed to execute 'generateKey' on 'SubtleCrypto': The 3rd argument is neither an array, nor does it have indexed properties.
12
13 generateKey() with an invalid key usage of 'boo'...
8 error is: SyntaxError: Invalid keyUsages argument 14 error is: SyntaxError: Invalid keyUsages argument
15
16 generateKey() without length...
9 error is: TypeError: AesKeyGenParams: length: Missing required property 17 error is: TypeError: AesKeyGenParams: length: Missing required property
18
19 generateKey() with a length of 70000...
10 error is: TypeError: AesKeyGenParams: length: Outside of numeric range 20 error is: TypeError: AesKeyGenParams: length: Outside of numeric range
21
22 generateKey() with a length of -3...
11 error is: TypeError: AesKeyGenParams: length: Outside of numeric range 23 error is: TypeError: AesKeyGenParams: length: Outside of numeric range
24
25 generateKey() with length that is minus Infinity...
12 error is: TypeError: AesKeyGenParams: length: Outside of numeric range 26 error is: TypeError: AesKeyGenParams: length: Outside of numeric range
13 PASS successfullyParsed is true 27 PASS successfullyParsed is true
14 28
15 TEST COMPLETE 29 TEST COMPLETE
16 30
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698