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

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

Issue 141413003: [webcrypto] Match the error handling defined by the spec. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase Created 6 years, 11 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/digest.html ('k') | LayoutTests/crypto/encrypt-decrypt.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/crypto/digest-expected.txt
diff --git a/LayoutTests/crypto/digest-expected.txt b/LayoutTests/crypto/digest-expected.txt
index 8d431e6da4f91cc591c993cf3cf6c723e8324385..0f2993e1b714f245abab768be6c9fb0ffa8a3de9 100644
--- a/LayoutTests/crypto/digest-expected.txt
+++ b/LayoutTests/crypto/digest-expected.txt
@@ -8,7 +8,7 @@ PASS crypto.subtle.digest({name: 'sha-1'}, null) threw exception TypeError: Fail
PASS crypto.subtle.digest({name: 'sha-1'}, 10) threw exception TypeError: Failed to execute 'digest' on 'SubtleCrypto': Invalid dataBuffer argument.
PASS crypto.subtle.digest({name: 'sha'}, data) threw exception NotSupportedError: Failed to execute 'digest' on 'SubtleCrypto': Algorithm: Unrecognized algorithm name.
PASS crypto.subtle.digest(null, data) threw exception TypeError: Failed to execute 'digest' on 'SubtleCrypto': Algorithm: Not an object.
-PASS crypto.subtle.digest({}, data) threw exception TypeError: Failed to execute 'digest' on 'SubtleCrypto': Algorithm: name: Missing or not a string.
+PASS crypto.subtle.digest({}, data) threw exception NotSupportedError: Failed to execute 'digest' on 'SubtleCrypto': Algorithm: name: Missing or not a string.
PASS: SHA-1 of [] should be [da39a3ee5e6b4b0d3255bfef95601890afd80709] and was
PASS: SHA-224 of [] should be [d14a028c2a3a2bc9476102bb288234c415a2b01f828ea62ac5b3e42f] and was
PASS: SHA-256 of [] should be [e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855] and was
« no previous file with comments | « LayoutTests/crypto/digest.html ('k') | LayoutTests/crypto/encrypt-decrypt.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698