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

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

Issue 243853004: [webcrypto] Reject failed operations with a DOMException rather than null. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix compile warning Created 6 years, 8 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/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 7f8b22731446a0e4c5ab145b5614555f10ad1e80..5010ce68d8ef8ffeb542f2be6dbfa4ca5cbae1cf 100644
--- a/LayoutTests/crypto/aes-gcm-parseAlgorithm-failures-expected.txt
+++ b/LayoutTests/crypto/aes-gcm-parseAlgorithm-failures-expected.txt
@@ -1,22 +1,15 @@
-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
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-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 error is null
+error is: SyntaxError: AesGcmParams: iv: Missing required property
+error is: SyntaxError: AesGcmParams: iv: Not an ArrayBufferView
+error is: SyntaxError: AesGcmParams: iv: Not an ArrayBufferView
+error is: SyntaxError: AesGcmParams: additionalData: Not an ArrayBufferView
+error is: SyntaxError: AesGcmParams: tagLength: Is not a number
+error is: SyntaxError: AesGcmParams: tagLength: Outside of numeric range
+error is: SyntaxError: AesGcmParams: tagLength: Outside of numeric range
PASS successfullyParsed is true
TEST COMPLETE
« no previous file with comments | « LayoutTests/crypto/aes-gcm-parseAlgorithm-failures.html ('k') | LayoutTests/crypto/aes-key-algorithm-mismatch.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698