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 |