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

Side by Side Diff: LayoutTests/crypto/aes-kw-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: Created 6 years, 8 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: Algorithm: AES-KW: AesKeyGenParams: length: Missing required prop erty
2 CONSOLE ERROR: Algorithm: AES-KW: AesKeyGenParams: length: Outside of numeric ra nge
3 CONSOLE ERROR: Algorithm: AES-KW: AesKeyGenParams: length: Outside of numeric ra nge
4 CONSOLE ERROR: Algorithm: AES-KW: AesKeyGenParams: length: Outside of numeric ra nge
5 Tests generateKey() with bad AES-KW parameters. 1 Tests generateKey() with bad AES-KW parameters.
6 2
7 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 ".
8 4
9 5
10 PASS error is null 6 error is: SyntaxError: AesKeyGenParams: length: Missing required property
11 PASS error is null 7 error is: SyntaxError: AesKeyGenParams: length: Outside of numeric range
12 PASS error is null 8 error is: SyntaxError: AesKeyGenParams: length: Outside of numeric range
13 PASS error is null 9 error is: SyntaxError: AesKeyGenParams: length: Outside of numeric range
14 PASS successfullyParsed is true 10 PASS successfullyParsed is true
15 11
16 TEST COMPLETE 12 TEST COMPLETE
17 13
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698