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

Unified 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: Fix compile warning 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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/crypto/rsa-ssa-generateKey-parseAlgorithm-failures-expected.txt
diff --git a/LayoutTests/crypto/rsa-ssa-generateKey-parseAlgorithm-failures-expected.txt b/LayoutTests/crypto/rsa-ssa-generateKey-parseAlgorithm-failures-expected.txt
index aa3f3548fa41b71dd2fe71d0888a67b807a90f94..11fd4b3db6f23da5cdd3ae286b171db603cc31bc 100644
--- a/LayoutTests/crypto/rsa-ssa-generateKey-parseAlgorithm-failures-expected.txt
+++ b/LayoutTests/crypto/rsa-ssa-generateKey-parseAlgorithm-failures-expected.txt
@@ -1,20 +1,14 @@
-CONSOLE ERROR: Algorithm: RSASSA-PKCS1-v1_5: RsaHashedKeyGenParams: modulusLength: Outside of numeric range
-CONSOLE ERROR: Algorithm: RSASSA-PKCS1-v1_5: RsaHashedKeyGenParams: modulusLength: Is not a number
-CONSOLE ERROR: Algorithm: RSASSA-PKCS1-v1_5: RsaHashedKeyGenParams: modulusLength: Missing required property
-CONSOLE ERROR: Algorithm: RSASSA-PKCS1-v1_5: RsaHashedKeyGenParams: publicExponent: Missing or not a Uint8Array
-CONSOLE ERROR: Algorithm: RSASSA-PKCS1-v1_5: RsaHashedKeyGenParams: publicExponent: Missing or not a Uint8Array
-CONSOLE ERROR: Algorithm: RSASSA-PKCS1-v1_5: RsaHashedKeyGenParams: publicExponent: Missing or not a Uint8Array
Tests generateKey() with bad RSASSA-PKCS1-v1_5 parameters.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-PASS error is null
-PASS error is null
-PASS error is null
-PASS error is null
-PASS error is null
-PASS error is null
+error is: SyntaxError: RsaHashedKeyGenParams: modulusLength: Outside of numeric range
+error is: SyntaxError: RsaHashedKeyGenParams: modulusLength: Is not a number
+error is: SyntaxError: RsaHashedKeyGenParams: modulusLength: Missing required property
+error is: SyntaxError: RsaHashedKeyGenParams: publicExponent: Missing or not a Uint8Array
+error is: SyntaxError: RsaHashedKeyGenParams: publicExponent: Missing or not a Uint8Array
+error is: SyntaxError: RsaHashedKeyGenParams: publicExponent: Missing or not a Uint8Array
PASS successfullyParsed is true
TEST COMPLETE
« no previous file with comments | « LayoutTests/crypto/rsa-ssa-generateKey-parseAlgorithm-failures.html ('k') | LayoutTests/crypto/sign-verify-badParameters.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698