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

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

Issue 243853004: [webcrypto] Reject failed operations with a DOMException rather than null. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix compile warning Created 6 years, 7 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 | Annotate | Revision Log
OLDNEW
1 CONSOLE ERROR: Invalid keyUsages argument
2 CONSOLE ERROR: Algorithm: AES-CBC: AesKeyGenParams: length: Missing required pro perty
3 CONSOLE ERROR: Algorithm: AES-CBC: AesKeyGenParams: length: Outside of numeric r ange
4 CONSOLE ERROR: Algorithm: AES-CBC: AesKeyGenParams: length: Outside of numeric r ange
5 CONSOLE ERROR: Algorithm: AES-CBC: AesKeyGenParams: length: Outside of numeric r ange
6 Tests generateKey() with bad AES-CBC parameters. 1 Tests generateKey() with bad AES-CBC parameters.
7 2
8 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 ".
9 4
10 5
11 PASS error is: TypeError: The 3rd argument is neither an array, nor does it have indexed properties. 6 error is: TypeError: The 3rd argument is neither an array, nor does it have inde xed properties.
12 PASS error is: TypeError: The 3rd argument is neither an array, nor does it have indexed properties. 7 error is: TypeError: The 3rd argument is neither an array, nor does it have inde xed properties.
13 PASS error is null 8 error is: SyntaxError: Invalid keyUsages argument
14 PASS error is null 9 error is: SyntaxError: AesKeyGenParams: length: Missing required property
15 PASS error is null 10 error is: SyntaxError: AesKeyGenParams: length: Outside of numeric range
16 PASS error is null 11 error is: SyntaxError: AesKeyGenParams: length: Outside of numeric range
17 PASS error is null 12 error is: SyntaxError: AesKeyGenParams: length: Outside of numeric range
18 PASS successfullyParsed is true 13 PASS successfullyParsed is true
19 14
20 TEST COMPLETE 15 TEST COMPLETE
21 16
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698