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

Side by Side Diff: LayoutTests/crypto/rsa-ssa-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: RSASSA-PKCS1-v1_5: RsaHashedKeyGenParams: modulusLengt h: Outside of numeric range
2 CONSOLE ERROR: Algorithm: RSASSA-PKCS1-v1_5: RsaHashedKeyGenParams: modulusLengt h: Is not a number
3 CONSOLE ERROR: Algorithm: RSASSA-PKCS1-v1_5: RsaHashedKeyGenParams: modulusLengt h: Missing required property
4 CONSOLE ERROR: Algorithm: RSASSA-PKCS1-v1_5: RsaHashedKeyGenParams: publicExpone nt: Missing or not a Uint8Array
5 CONSOLE ERROR: Algorithm: RSASSA-PKCS1-v1_5: RsaHashedKeyGenParams: publicExpone nt: Missing or not a Uint8Array
6 CONSOLE ERROR: Algorithm: RSASSA-PKCS1-v1_5: RsaHashedKeyGenParams: publicExpone nt: Missing or not a Uint8Array
7 Tests generateKey() with bad RSASSA-PKCS1-v1_5 parameters. 1 Tests generateKey() with bad RSASSA-PKCS1-v1_5 parameters.
8 2
9 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 ".
10 4
11 5
12 PASS error is null 6 error is: SyntaxError: RsaHashedKeyGenParams: modulusLength: Outside of numeric range
13 PASS error is null 7 error is: SyntaxError: RsaHashedKeyGenParams: modulusLength: Is not a number
14 PASS error is null 8 error is: SyntaxError: RsaHashedKeyGenParams: modulusLength: Missing required pr operty
15 PASS error is null 9 error is: SyntaxError: RsaHashedKeyGenParams: publicExponent: Missing or not a U int8Array
16 PASS error is null 10 error is: SyntaxError: RsaHashedKeyGenParams: publicExponent: Missing or not a U int8Array
17 PASS error is null 11 error is: SyntaxError: RsaHashedKeyGenParams: publicExponent: Missing or not a U int8Array
18 PASS successfullyParsed is true 12 PASS successfullyParsed is true
19 13
20 TEST COMPLETE 14 TEST COMPLETE
21 15
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698