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

Side by Side Diff: LayoutTests/crypto/rsa-es-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: Fix compile warning Created 6 years, 7 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: RSAES-PKCS1-v1_5: RsaKeyGenParams: modulusLength: Outs ide of numeric range
2 CONSOLE ERROR: Algorithm: RSAES-PKCS1-v1_5: RsaKeyGenParams: modulusLength: Is n ot a number
3 CONSOLE ERROR: Algorithm: RSAES-PKCS1-v1_5: RsaKeyGenParams: modulusLength: Miss ing required property
4 CONSOLE ERROR: Algorithm: RSAES-PKCS1-v1_5: RsaKeyGenParams: publicExponent: Mis sing or not a Uint8Array
5 CONSOLE ERROR: Algorithm: RSAES-PKCS1-v1_5: RsaKeyGenParams: publicExponent: Mis sing or not a Uint8Array
6 CONSOLE ERROR: Algorithm: RSAES-PKCS1-v1_5: RsaKeyGenParams: publicExponent: Mis sing or not a Uint8Array
7 Tests generateKey() with bad RSAES-PKCS1-v1_5 parameters 1 Tests generateKey() with bad RSAES-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: RsaKeyGenParams: modulusLength: Outside of numeric range
13 PASS error is null 7 error is: SyntaxError: RsaKeyGenParams: modulusLength: Is not a number
14 PASS error is null 8 error is: SyntaxError: RsaKeyGenParams: modulusLength: Missing required property
15 PASS error is null 9 error is: SyntaxError: RsaKeyGenParams: publicExponent: Missing or not a Uint8Ar ray
16 PASS error is null 10 error is: SyntaxError: RsaKeyGenParams: publicExponent: Missing or not a Uint8Ar ray
17 PASS error is null 11 error is: SyntaxError: RsaKeyGenParams: publicExponent: Missing or not a Uint8Ar ray
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