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

Unified Diff: LayoutTests/crypto/aes-gcm-parseAlgorithm-failures-expected.txt

Issue 790373002: Address a FIXME. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
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-gcm-parseAlgorithm-failures-expected.txt
diff --git a/LayoutTests/crypto/aes-gcm-parseAlgorithm-failures-expected.txt b/LayoutTests/crypto/aes-gcm-parseAlgorithm-failures-expected.txt
index ecd06c8bb0a68b0ea81a775d17418de897bf8820..199ec2d0ca41eee2ded2986e38e177c277720c18 100644
--- a/LayoutTests/crypto/aes-gcm-parseAlgorithm-failures-expected.txt
+++ b/LayoutTests/crypto/aes-gcm-parseAlgorithm-failures-expected.txt
@@ -3,13 +3,35 @@ Tests bad algorithm inputs for AES-GCM
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+Importing AES-GCM key...
+
+encrypt() without iv...
error is: SyntaxError: AesGcmParams: iv: Missing required property
+
+encrypt() with iv that is a number...
error is: SyntaxError: AesGcmParams: iv: Not a BufferSource
+
+encrypt() with iv that is a string...
error is: SyntaxError: AesGcmParams: iv: Not a BufferSource
+
+encrypt() with additionalData that is a string...
error is: SyntaxError: AesGcmParams: additionalData: Not a BufferSource
+
+encrypt() with tagLength that is a string...
error is: SyntaxError: AesGcmParams: tagLength: Is not a number
+
+encrypt() with negative tagLength...
error is: SyntaxError: AesGcmParams: tagLength: Outside of numeric range
+
+encrypt() with tagLength larger than an octet...
error is: SyntaxError: AesGcmParams: tagLength: Outside of numeric range
+
+encrypt() with tagLength that is 0...
+error is: OperationError: The tag length is invalid: Must be 32, 64, 96, 104, 112, 120, or 128 bits
+
+encrypt() with tagLength that is 130...
+error is: OperationError: The tag length is invalid: Must be 32, 64, 96, 104, 112, 120, or 128 bits
PASS successfullyParsed is true
TEST COMPLETE

Powered by Google App Engine
This is Rietveld 408576698