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

Side by Side 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: Created 7 years, 4 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 Tests cypto.subtle.sign and crypto.subtle.verify
2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4
5
6 PASS crypto.subtle.verify(hmacSha1, hmacSha1Key, null) threw exception TypeError : Type error.
7 PASS crypto.subtle.verify(hmacSha1, hmacSha1Key, 'a') threw exception TypeError: Type error.
8 PASS crypto.subtle.verify(hmacSha1, hmacSha1Key, []) threw exception TypeError: Type error.
9 PASS signResult.byteLength is 17
10 PASS verifyResult1 is true
11 PASS verifyResult2 is false
12 PASS successfullyParsed is true
13
14 TEST COMPLETE
15
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698