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

Side by Side Diff: LayoutTests/crypto/subtle/hmac-generateKey-parseAlgorithm-failures-expected.txt

Issue 861763002: [WebCrypto] Normalize name of WebCrypto failure layout tests (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 11 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
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

Powered by Google App Engine
This is Rietveld 408576698