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

Unified 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, 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-es-generateKey-parseAlgorithm-failures-expected.txt
diff --git a/LayoutTests/crypto/rsa-es-generateKey-parseAlgorithm-failures-expected.txt b/LayoutTests/crypto/rsa-es-generateKey-parseAlgorithm-failures-expected.txt
index 73a0d665db6832f55565189e8f3f75505655ead7..f6a03626a3ac250441d6354ed5a4e9196f42e8b5 100644
--- a/LayoutTests/crypto/rsa-es-generateKey-parseAlgorithm-failures-expected.txt
+++ b/LayoutTests/crypto/rsa-es-generateKey-parseAlgorithm-failures-expected.txt
@@ -1,20 +1,14 @@
-CONSOLE ERROR: Algorithm: RSAES-PKCS1-v1_5: RsaKeyGenParams: modulusLength: Outside of numeric range
-CONSOLE ERROR: Algorithm: RSAES-PKCS1-v1_5: RsaKeyGenParams: modulusLength: Is not a number
-CONSOLE ERROR: Algorithm: RSAES-PKCS1-v1_5: RsaKeyGenParams: modulusLength: Missing required property
-CONSOLE ERROR: Algorithm: RSAES-PKCS1-v1_5: RsaKeyGenParams: publicExponent: Missing or not a Uint8Array
-CONSOLE ERROR: Algorithm: RSAES-PKCS1-v1_5: RsaKeyGenParams: publicExponent: Missing or not a Uint8Array
-CONSOLE ERROR: Algorithm: RSAES-PKCS1-v1_5: RsaKeyGenParams: publicExponent: Missing or not a Uint8Array
Tests generateKey() with bad RSAES-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: RsaKeyGenParams: modulusLength: Outside of numeric range
+error is: SyntaxError: RsaKeyGenParams: modulusLength: Is not a number
+error is: SyntaxError: RsaKeyGenParams: modulusLength: Missing required property
+error is: SyntaxError: RsaKeyGenParams: publicExponent: Missing or not a Uint8Array
+error is: SyntaxError: RsaKeyGenParams: publicExponent: Missing or not a Uint8Array
+error is: SyntaxError: RsaKeyGenParams: publicExponent: Missing or not a Uint8Array
PASS successfullyParsed is true
TEST COMPLETE

Powered by Google App Engine
This is Rietveld 408576698