Index: LayoutTests/crypto/sha-digest-expected.txt |
diff --git a/LayoutTests/crypto/digest-expected.txt b/LayoutTests/crypto/sha-digest-expected.txt |
similarity index 65% |
rename from LayoutTests/crypto/digest-expected.txt |
rename to LayoutTests/crypto/sha-digest-expected.txt |
index ed9c4958c9dadd251687291b91ea35aff1e53d88..00cf74bd5bf5c5222c873619a39f6d90d0e0acc3 100644 |
--- a/LayoutTests/crypto/digest-expected.txt |
+++ b/LayoutTests/crypto/sha-digest-expected.txt |
@@ -1,16 +1,8 @@ |
-CONSOLE ERROR: Algorithm: Unrecognized algorithm name |
-CONSOLE ERROR: Algorithm: name: Missing or not a string |
-Tests cypto.subtle.digest. |
+Tests the digest() operation for SHA-* |
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: 'crypto.subtle.digest({name: 'sha'}, data)' rejected with null |
-PASS: 'crypto.subtle.digest({}, data)' rejected with null |
PASS: SHA-1 of [] should be [da39a3ee5e6b4b0d3255bfef95601890afd80709] and was |
PASS: SHA-256 of [] should be [e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855] and was |
PASS: SHA-384 of [] should be [38b060a751ac96384cd9327eb1b1e36a21fdb71114be07434c0cc7bf63f6e1da274edebfe76f65fbd51ad2f14898b95b] and was |