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

Side by Side Diff: LayoutTests/crypto/rsa-oaep-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 RSA-OAEP parameters.
2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4
5
6
7 generateKey() with a modulusLength -30...
8 error is: TypeError: RsaHashedKeyGenParams: modulusLength: Outside of numeric ra nge
9
10 generateKey() with modulusLength NaN...
11 error is: TypeError: RsaHashedKeyGenParams: modulusLength: Is not a number
12
13 generateKey() without modulusLength...
14 error is: TypeError: RsaHashedKeyGenParams: modulusLength: Missing required prop erty
15
16 generateKey() without publicExponent...
17 error is: TypeError: RsaHashedKeyGenParams: publicExponent: Missing or not a Uin t8Array
18
19 generateKey() with publicExponent that is an integer...
20 error is: TypeError: RsaHashedKeyGenParams: publicExponent: Missing or not a Uin t8Array
21
22 generateKey() with publicExponent that is null...
23 error is: TypeError: RsaHashedKeyGenParams: publicExponent: Missing or not a Uin t8Array
24
25 generateKey() with invalid hash name...
26 error is: NotSupportedError: RsaHashedKeyGenParams: hash: Algorithm: Unrecognize d name
27 PASS successfullyParsed is true
28
29 TEST COMPLETE
30
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698