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

Unified Diff: LayoutTests/crypto/rsa-oaep-generateKey-parseAlgorithm-failures-expected.txt

Issue 801793003: Improve LayoutTest output for Errors (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: 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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/crypto/rsa-oaep-generateKey-parseAlgorithm-failures-expected.txt
diff --git a/LayoutTests/crypto/rsa-oaep-generateKey-parseAlgorithm-failures-expected.txt b/LayoutTests/crypto/rsa-oaep-generateKey-parseAlgorithm-failures-expected.txt
index 09fb71f809816e338c5c38e8ed0ac8eb0abea6ec..7caac2cd57d9647cda431100c5fb6f9d7d9a8158 100644
--- a/LayoutTests/crypto/rsa-oaep-generateKey-parseAlgorithm-failures-expected.txt
+++ b/LayoutTests/crypto/rsa-oaep-generateKey-parseAlgorithm-failures-expected.txt
@@ -3,12 +3,26 @@ Tests generateKey() with bad RSA-OAEP parameters.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+generateKey() with a modulusLength -30...
error is: TypeError: RsaHashedKeyGenParams: modulusLength: Outside of numeric range
+
+generateKey() with modulusLength NaN...
error is: TypeError: RsaHashedKeyGenParams: modulusLength: Is not a number
+
+generateKey() without modulusLength...
error is: TypeError: RsaHashedKeyGenParams: modulusLength: Missing required property
+
+generateKey() without publicExponent...
error is: TypeError: RsaHashedKeyGenParams: publicExponent: Missing or not a Uint8Array
+
+generateKey() with publicExponent that is an integer...
error is: TypeError: RsaHashedKeyGenParams: publicExponent: Missing or not a Uint8Array
+
+generateKey() with publicExponent that is null...
error is: TypeError: RsaHashedKeyGenParams: publicExponent: Missing or not a Uint8Array
+
+generateKey() with invalid hash name...
error is: NotSupportedError: RsaHashedKeyGenParams: hash: Algorithm: Unrecognized name
PASS successfullyParsed is true

Powered by Google App Engine
This is Rietveld 408576698