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

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

Issue 206483010: [webcrypto] Refactor some layout tests. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 9 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/sha-digest.html ('k') | LayoutTests/crypto/sign-verify.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « LayoutTests/crypto/sha-digest.html ('k') | LayoutTests/crypto/sign-verify.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698