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

Unified Diff: LayoutTests/crypto/aes-cbc-generateKey-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-cbc-generateKey-parseAlgorithm-failures-expected.txt
diff --git a/LayoutTests/crypto/aes-cbc-generateKey-parseAlgorithm-failures-expected.txt b/LayoutTests/crypto/aes-cbc-generateKey-parseAlgorithm-failures-expected.txt
index b4f4df5ffb10b8907cf61db575a60864ec8b965b..9f389e9b1ab4feb7339dfae3a7e0dbe155d4b6af 100644
--- a/LayoutTests/crypto/aes-cbc-generateKey-parseAlgorithm-failures-expected.txt
+++ b/LayoutTests/crypto/aes-cbc-generateKey-parseAlgorithm-failures-expected.txt
@@ -1,20 +1,15 @@
-CONSOLE ERROR: Invalid keyUsages argument
-CONSOLE ERROR: Algorithm: AES-CBC: AesKeyGenParams: length: Missing required property
-CONSOLE ERROR: Algorithm: AES-CBC: AesKeyGenParams: length: Outside of numeric range
-CONSOLE ERROR: Algorithm: AES-CBC: AesKeyGenParams: length: Outside of numeric range
-CONSOLE ERROR: Algorithm: AES-CBC: AesKeyGenParams: length: Outside of numeric range
Tests generateKey() with bad AES-CBC parameters.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-PASS error is: TypeError: The 3rd argument is neither an array, nor does it have indexed properties.
-PASS error is: TypeError: The 3rd argument is neither an array, nor does it have indexed properties.
-PASS error is null
-PASS error is null
-PASS error is null
-PASS error is null
-PASS error is null
+error is: TypeError: The 3rd argument is neither an array, nor does it have indexed properties.
+error is: TypeError: The 3rd argument is neither an array, nor does it have indexed properties.
+error is: SyntaxError: Invalid keyUsages argument
+error is: SyntaxError: AesKeyGenParams: length: Missing required property
+error is: SyntaxError: AesKeyGenParams: length: Outside of numeric range
+error is: SyntaxError: AesKeyGenParams: length: Outside of numeric range
+error is: SyntaxError: AesKeyGenParams: length: Outside of numeric range
PASS successfullyParsed is true
TEST COMPLETE

Powered by Google App Engine
This is Rietveld 408576698