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

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

Issue 170243007: [webcrypto] Make all of the crypto.subtle method failures asynchronous. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 10 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/exportKey.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 0f2993e1b714f245abab768be6c9fb0ffa8a3de9..1b54c20667e1bf27cd4e05a4324cc180397839cf 100644
--- a/LayoutTests/crypto/digest-expected.txt
+++ b/LayoutTests/crypto/digest-expected.txt
@@ -1,3 +1,5 @@
+CONSOLE ERROR: Algorithm: Unrecognized algorithm name
+CONSOLE ERROR: Algorithm: name: Missing or not a string
Tests cypto.subtle.digest.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
@@ -6,9 +8,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({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 NotSupportedError: Failed to execute 'digest' on 'SubtleCrypto': Algorithm: name: Missing or not a string.
+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-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/exportKey.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698