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

Unified Diff: LayoutTests/crypto/aes-ctr-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-ctr-generateKey-parseAlgorithm-failures-expected.txt
diff --git a/LayoutTests/crypto/aes-ctr-generateKey-parseAlgorithm-failures-expected.txt b/LayoutTests/crypto/aes-ctr-generateKey-parseAlgorithm-failures-expected.txt
index 4f4a1578775587752f8d4ecabdcc9bfb35a0801b..1cf228b49f3f7ba648fc10861cb328a966046d37 100644
--- a/LayoutTests/crypto/aes-ctr-generateKey-parseAlgorithm-failures-expected.txt
+++ b/LayoutTests/crypto/aes-ctr-generateKey-parseAlgorithm-failures-expected.txt
@@ -1,16 +1,12 @@
-CONSOLE ERROR: Algorithm: AES-CTR: AesKeyGenParams: length: Missing required property
-CONSOLE ERROR: Algorithm: AES-CTR: AesKeyGenParams: length: Outside of numeric range
-CONSOLE ERROR: Algorithm: AES-CTR: AesKeyGenParams: length: Outside of numeric range
-CONSOLE ERROR: Algorithm: AES-CTR: AesKeyGenParams: length: Outside of numeric range
Tests generateKey() with bad AES-CTR parameters.
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
+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