Index: LayoutTests/crypto/digest-failures-expected.txt |
diff --git a/LayoutTests/crypto/digest-failures-expected.txt b/LayoutTests/crypto/digest-failures-expected.txt |
index 7752ca2e9203eed632ef6f510389a86bd5c6e944..2f843976baed5b977b64f68e0e8847de21b1461b 100644 |
--- a/LayoutTests/crypto/digest-failures-expected.txt |
+++ b/LayoutTests/crypto/digest-failures-expected.txt |
@@ -1,3 +1,6 @@ |
+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() |
@@ -6,9 +9,9 @@ On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE |
PASS crypto.subtle.digest({name: 'sha-1'}) threw exception TypeError: Failed to execute 'digest' on 'SubtleCrypto': 2 arguments required, but only 1 present.. |
-PASS crypto.subtle.digest({name: 'sha-1'}, null) threw exception TypeError: Failed to execute 'digest' on 'SubtleCrypto': Invalid dataBuffer argument. |
-PASS crypto.subtle.digest({name: 'sha-1'}, 10) threw exception TypeError: Failed to execute 'digest' on 'SubtleCrypto': Invalid dataBuffer argument. |
-PASS crypto.subtle.digest(null, data) threw exception TypeError: Failed to execute 'digest' on 'SubtleCrypto': Algorithm: Not an object. |
+PASS error is null |
+PASS error is null |
+PASS error is null |
PASS error is null |
PASS error is null |
PASS successfullyParsed is true |