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

Side by Side Diff: LayoutTests/crypto/hmac-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 HMAC parameters.
2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4
5
6
7 generateKey() with a length of -3...
8 error is: TypeError: HmacKeyGenParams: length: Outside of numeric range
9
10 generateKey() with hash name empty string...
11 error is: NotSupportedError: HmacKeyGenParams: hash: Algorithm: Unrecognized nam e
12
13 generateKey() with a length of 5000000000 ...
14 error is: TypeError: HmacKeyGenParams: length: Outside of numeric range
15
16 generateKey() with length NaN...
17 error is: TypeError: HmacKeyGenParams: length: Is not a number
18
19 generateKey() with length that is Infinity...
20 error is: TypeError: HmacKeyGenParams: length: Outside of numeric range
21
22 generateKey() with length that is minus Infinity...
23 error is: TypeError: HmacKeyGenParams: length: Outside of numeric range
24
25 generateKey() with length that is a string...
26 error is: TypeError: HmacKeyGenParams: length: Is not a number
27
28 generateKey() with length that is a undefined...
29 error is: TypeError: HmacKeyGenParams: length: Is not a number
30 PASS successfullyParsed is true
31
32 TEST COMPLETE
33
OLDNEW
« no previous file with comments | « LayoutTests/crypto/hmac-generateKey-parseAlgorithm-failures.html ('k') | LayoutTests/crypto/hmac-import-jwk.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698