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

Unified Diff: LayoutTests/crypto/hmac-generateKey-parseAlgorithm-failures-expected.txt

Issue 215153005: [refactor] Split up generateKey.html into multiple files, and test errors directly. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Re-upload with --similarity=20 Created 6 years, 9 months 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/aes-gcm-parseAlgorithm-failures-expected.txt b/LayoutTests/crypto/hmac-generateKey-parseAlgorithm-failures-expected.txt
similarity index 24%
copy from LayoutTests/crypto/aes-gcm-parseAlgorithm-failures-expected.txt
copy to LayoutTests/crypto/hmac-generateKey-parseAlgorithm-failures-expected.txt
index 7f8b22731446a0e4c5ab145b5614555f10ad1e80..41753590e4db4d65b5a5b1bca143ab572985c6d3 100644
--- a/LayoutTests/crypto/aes-gcm-parseAlgorithm-failures-expected.txt
+++ b/LayoutTests/crypto/hmac-generateKey-parseAlgorithm-failures-expected.txt
@@ -1,11 +1,13 @@
-CONSOLE ERROR: Algorithm: AES-GCM: AesGcmParams: iv: Missing required property
-CONSOLE ERROR: Algorithm: AES-GCM: AesGcmParams: iv: Not an ArrayBufferView
-CONSOLE ERROR: Algorithm: AES-GCM: AesGcmParams: iv: Not an ArrayBufferView
-CONSOLE ERROR: Algorithm: AES-GCM: AesGcmParams: additionalData: Not an ArrayBufferView
-CONSOLE ERROR: Algorithm: AES-GCM: AesGcmParams: tagLength: Is not a number
-CONSOLE ERROR: Algorithm: AES-GCM: AesGcmParams: tagLength: Outside of numeric range
-CONSOLE ERROR: Algorithm: AES-GCM: AesGcmParams: tagLength: Outside of numeric range
-Tests bad algorithm inputs for AES-GCM
+CONSOLE ERROR: Algorithm: HMAC: HmacKeyGenParams: length: Outside of numeric range
+CONSOLE ERROR: Algorithm: HMAC: HmacKeyGenParams: hash: Algorithm: Unrecognized algorithm name
+CONSOLE ERROR: Algorithm: HMAC: HmacKeyGenParams: length: Outside of numeric range
+CONSOLE ERROR: Algorithm: HMAC: HmacKeyGenParams: length: Is not a number
+CONSOLE ERROR: Algorithm: HMAC: HmacKeyGenParams: length: Outside of numeric range
+CONSOLE ERROR: Algorithm: HMAC: HmacKeyGenParams: length: Outside of numeric range
+CONSOLE ERROR: Algorithm: HMAC: HmacKeyGenParams: length: Is not a number
+CONSOLE ERROR: Algorithm: HMAC: HmacKeyGenParams: length: Is not a number
+CONSOLE ERROR: Invalid key length: it is either zero or not a multiple of 8 bits
+Tests generateKey() with bad HMAC parameters.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
@@ -17,6 +19,8 @@ PASS error is null
PASS error is null
PASS error is null
PASS error is null
+PASS error is null
+PASS error is null
PASS successfullyParsed is true
TEST COMPLETE

Powered by Google App Engine
This is Rietveld 408576698