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

Unified Diff: LayoutTests/crypto/aes-cbc-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-cbc-parseAlgorithm-failures-expected.txt
diff --git a/LayoutTests/crypto/aes-cbc-parseAlgorithm-failures-expected.txt b/LayoutTests/crypto/aes-cbc-parseAlgorithm-failures-expected.txt
index 226a47c3e8f319c3b223f65ad1cf2457ef28c394..3df8e297580b8379801eeb246d7f0958d204e91e 100644
--- a/LayoutTests/crypto/aes-cbc-parseAlgorithm-failures-expected.txt
+++ b/LayoutTests/crypto/aes-cbc-parseAlgorithm-failures-expected.txt
@@ -3,10 +3,22 @@ Tests bad algorithm inputs for AES-CBC
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+Importing AES-CBC key...
+
+encrypt() with iv that is null...
error is: TypeError: AesCbcParams: iv: Not a BufferSource
+
+encrypt() without iv...
error is: TypeError: AesCbcParams: iv: Missing required property
+
+encrypt() with iv that is a number...
error is: TypeError: AesCbcParams: iv: Not a BufferSource
+
+encrypt() with an iv containing 0 bytes...
error is: OperationError: The "iv" has an unexpected length -- must be 16 bytes
+
+encrypt() with an iv containing 17 bytes...
error is: OperationError: The "iv" has an unexpected length -- must be 16 bytes
PASS successfullyParsed is true

Powered by Google App Engine
This is Rietveld 408576698