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

Unified Diff: LayoutTests/crypto/digest-failures-expected.txt

Issue 801793003: Improve LayoutTest output for Errors (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years 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/ecdh-deriveBits-failures.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 4d497715f818b80bf96a24ee82c676c30c0ec5e2..d3ccbe5c23084f0c8480029ef4c305c6713986b6 100644
--- a/LayoutTests/crypto/digest-failures-expected.txt
+++ b/LayoutTests/crypto/digest-failures-expected.txt
@@ -3,11 +3,23 @@ Tests incorrect calls to crypto.subtle.digest()
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+digest() without data argument...
error is: TypeError: Failed to execute 'digest' on 'SubtleCrypto': 2 arguments required, but only 1 present.
+
+digest() with data argument that is null...
error is: TypeError: Failed to execute 'digest' on 'SubtleCrypto': The provided value is not of type '(ArrayBuffer or ArrayBufferView)'
+
+digest() with data argument that is an integer...
error is: TypeError: Failed to execute 'digest' on 'SubtleCrypto': The provided value is not of type '(ArrayBuffer or ArrayBufferView)'
+
+digest() with algorithm as null...
error is: TypeError: Algorithm: Not an object
+
+digest() with invalid agorithm that is sha...
error is: NotSupportedError: Algorithm: Unrecognized name
+
+digest() without algorithm name...
error is: TypeError: Algorithm: name: Missing or not a string
PASS successfullyParsed is true
« no previous file with comments | « LayoutTests/crypto/digest-failures.html ('k') | LayoutTests/crypto/ecdh-deriveBits-failures.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698