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

Unified Diff: LayoutTests/crypto/digest-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
« no previous file with comments | « LayoutTests/crypto/digest-failures.html ('k') | LayoutTests/crypto/exportKey-badParameters.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/crypto/digest-failures-expected.txt
diff --git a/LayoutTests/crypto/digest-failures-expected.txt b/LayoutTests/crypto/digest-failures-expected.txt
index ed25a158355381c9a98d3c783062fefa5d63b3a7..c565dffcf5a4f6414a21517b8b87494b19d6aa1f 100644
--- a/LayoutTests/crypto/digest-failures-expected.txt
+++ b/LayoutTests/crypto/digest-failures-expected.txt
@@ -1,19 +1,14 @@
-CONSOLE ERROR: Invalid dataBuffer argument
-CONSOLE ERROR: Invalid dataBuffer argument
-CONSOLE ERROR: Algorithm: Not an object
-CONSOLE ERROR: Algorithm: Unrecognized algorithm name
-CONSOLE ERROR: Algorithm: name: Missing or not a string
Tests incorrect calls to crypto.subtle.digest()
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-PASS error is: TypeError: Failed to execute 'digest' on 'SubtleCrypto': 2 arguments required, but only 1 present.
-PASS error is null
-PASS error is null
-PASS error is null
-PASS error is null
-PASS error is null
+error is: TypeError: Failed to execute 'digest' on 'SubtleCrypto': 2 arguments required, but only 1 present.
+error is: DataError: Invalid dataBuffer argument
+error is: DataError: Invalid dataBuffer argument
+error is: SyntaxError: Algorithm: Not an object
+error is: NotSupportedError: Algorithm: Unrecognized name
+error is: SyntaxError: Algorithm: name: Missing or not a string
PASS successfullyParsed is true
TEST COMPLETE
« no previous file with comments | « LayoutTests/crypto/digest-failures.html ('k') | LayoutTests/crypto/exportKey-badParameters.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698