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

Unified Diff: LayoutTests/crypto/hmac-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/hmac-generateKey-parseAlgorithm-failures-expected.txt
diff --git a/LayoutTests/crypto/hmac-generateKey-parseAlgorithm-failures-expected.txt b/LayoutTests/crypto/hmac-generateKey-parseAlgorithm-failures-expected.txt
index f504b584fc6a14d28e55238e95a9b458ccc1da96..aa65df67f0cbfb750f95c86f6ad246d7783369bf 100644
--- a/LayoutTests/crypto/hmac-generateKey-parseAlgorithm-failures-expected.txt
+++ b/LayoutTests/crypto/hmac-generateKey-parseAlgorithm-failures-expected.txt
@@ -3,13 +3,29 @@ Tests generateKey() with bad HMAC parameters.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+generateKey() with negative length...
error is: TypeError: HmacKeyGenParams: length: Outside of numeric range
+
+generateKey() with hash name empty string...
error is: NotSupportedError: HmacKeyGenParams: hash: Algorithm: Unrecognized name
+
+generateKey() with length larger than an octet...
error is: TypeError: HmacKeyGenParams: length: Outside of numeric range
+
+generateKey() with length NaN...
error is: TypeError: HmacKeyGenParams: length: Is not a number
+
+generateKey() with length that is Infinity...
error is: TypeError: HmacKeyGenParams: length: Outside of numeric range
+
+generateKey() with length that is -Infinity...
error is: TypeError: HmacKeyGenParams: length: Outside of numeric range
+
+generateKey() with length that is a string...
error is: TypeError: HmacKeyGenParams: length: Is not a number
+
+generateKey() with length that is a undefined...
error is: TypeError: HmacKeyGenParams: length: Is not a number
PASS successfullyParsed is true

Powered by Google App Engine
This is Rietveld 408576698