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

Unified Diff: LayoutTests/crypto/aes-ctr-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-parseAlgorithm-failures-expected.txt
diff --git a/LayoutTests/crypto/aes-ctr-parseAlgorithm-failures-expected.txt b/LayoutTests/crypto/aes-ctr-parseAlgorithm-failures-expected.txt
index 2b4c0ea7e62d52de6e26faccd27f8bd3367e875a..39d46d9d8a0b8508d8bc7c2900bb4f2f4c807820 100644
--- a/LayoutTests/crypto/aes-ctr-parseAlgorithm-failures-expected.txt
+++ b/LayoutTests/crypto/aes-ctr-parseAlgorithm-failures-expected.txt
@@ -3,11 +3,25 @@ Tests bad algorithm inputs for AES-CTR
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+Importing AES-CBC key...
+
+encrypt() with counter null...
error is: TypeError: AesCtrParams: counter: Not a BufferSource
+
+encrypt() without counter...
error is: TypeError: AesCtrParams: counter: Missing required property
+
+encrypt() without length...
error is: TypeError: AesCtrParams: length: Missing required property
+
+encrypt() with a length of 256...
error is: TypeError: AesCtrParams: length: Outside of numeric range
+
+encrypt() with a length of -3...
error is: TypeError: AesCtrParams: length: Outside of numeric range
+
+encrypt() with length that is Infinity...
error is: TypeError: AesCtrParams: length: Outside of numeric range
PASS successfullyParsed is true

Powered by Google App Engine
This is Rietveld 408576698