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

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

Issue 806913006: [WebCrypto] Move LayoutTests from crypto to crypto/subtle (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Update path for deserialize legacy tests 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
(Empty)
1 Tests generateKey() with bad AES-CTR parameters.
2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4
5
6
7 generateKey() without length...
8 error is: TypeError: AesKeyGenParams: length: Missing required property
9
10 generateKey() with a length of 70000...
11 error is: TypeError: AesKeyGenParams: length: Outside of numeric range
12
13 generateKey() with a length of -3...
14 error is: TypeError: AesKeyGenParams: length: Outside of numeric range
15
16 generateKey() with length that is minus Infinity...
17 error is: TypeError: AesKeyGenParams: length: Outside of numeric range
18 PASS successfullyParsed is true
19
20 TEST COMPLETE
21
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698