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

Unified Diff: LayoutTests/crypto/sign-verify-expected.txt

Issue 21561004: WebCrypto: Add crypto.subtle.verify() to the platform interfaces. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Add missing file common.js Created 7 years, 5 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/sign-verify.html ('k') | Source/bindings/v8/ScriptValue.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/crypto/sign-verify-expected.txt
diff --git a/LayoutTests/crypto/sign-verify-expected.txt b/LayoutTests/crypto/sign-verify-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..72ccb1fa8b725b3c40b184a3847c0e3fa9ca3cd3
--- /dev/null
+++ b/LayoutTests/crypto/sign-verify-expected.txt
@@ -0,0 +1,15 @@
+Tests cypto.subtle.sign and crypto.subtle.verify
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+PASS crypto.subtle.verify(hmacSha1, hmacSha1Key, null) threw exception TypeError: Type error.
+PASS crypto.subtle.verify(hmacSha1, hmacSha1Key, 'a') threw exception TypeError: Type error.
+PASS crypto.subtle.verify(hmacSha1, hmacSha1Key, []) threw exception TypeError: Type error.
+PASS signResult.byteLength is 17
+PASS verifyResult1 is true
+PASS verifyResult2 is false
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
« no previous file with comments | « LayoutTests/crypto/sign-verify.html ('k') | Source/bindings/v8/ScriptValue.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698