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

Unified Diff: LayoutTests/crypto/aes-ctr-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/aes-ctr-generateKey-parseAlgorithm-failures-expected.txt
diff --git a/LayoutTests/crypto/aes-ctr-generateKey-parseAlgorithm-failures-expected.txt b/LayoutTests/crypto/aes-ctr-generateKey-parseAlgorithm-failures-expected.txt
index b029de6a1570627eba1c17af43f6f23a0be96259..2edd6d9b5cf8892b5a6d07eee6e01e6b35435515 100644
--- a/LayoutTests/crypto/aes-ctr-generateKey-parseAlgorithm-failures-expected.txt
+++ b/LayoutTests/crypto/aes-ctr-generateKey-parseAlgorithm-failures-expected.txt
@@ -3,9 +3,17 @@ Tests generateKey() with bad AES-CTR parameters.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+generateKey() without length...
error is: TypeError: AesKeyGenParams: length: Missing required property
+
+generateKey() with a length of 70000...
error is: TypeError: AesKeyGenParams: length: Outside of numeric range
+
+generateKey() with a length of -3...
error is: TypeError: AesKeyGenParams: length: Outside of numeric range
+
+generateKey() with length that is minus Infinity...
error is: TypeError: AesKeyGenParams: length: Outside of numeric range
PASS successfullyParsed is true

Powered by Google App Engine
This is Rietveld 408576698