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

Unified Diff: LayoutTests/crypto/hmac-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/hmac-generateKey-parseAlgorithm-failures-expected.txt
diff --git a/LayoutTests/crypto/hmac-generateKey-parseAlgorithm-failures-expected.txt b/LayoutTests/crypto/hmac-generateKey-parseAlgorithm-failures-expected.txt
index 41753590e4db4d65b5a5b1bca143ab572985c6d3..28cf17664e908903abeb7f2ea1a704a1639ac94c 100644
--- a/LayoutTests/crypto/hmac-generateKey-parseAlgorithm-failures-expected.txt
+++ b/LayoutTests/crypto/hmac-generateKey-parseAlgorithm-failures-expected.txt
@@ -1,26 +1,17 @@
-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".
-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
-PASS error is null
-PASS error is null
+error is: SyntaxError: HmacKeyGenParams: length: Outside of numeric range
+error is: NotSupportedError: HmacKeyGenParams: hash: Algorithm: Unrecognized name
+error is: SyntaxError: HmacKeyGenParams: length: Outside of numeric range
+error is: SyntaxError: HmacKeyGenParams: length: Is not a number
+error is: SyntaxError: HmacKeyGenParams: length: Outside of numeric range
+error is: SyntaxError: HmacKeyGenParams: length: Outside of numeric range
+error is: SyntaxError: HmacKeyGenParams: length: Is not a number
+error is: SyntaxError: HmacKeyGenParams: length: Is not a number
+error is: DataError: Invalid key length: it is either zero or not a multiple of 8 bits
PASS successfullyParsed is true
TEST COMPLETE
« no previous file with comments | « LayoutTests/crypto/hmac-generateKey-parseAlgorithm-failures.html ('k') | LayoutTests/crypto/importKey-badParameters.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698