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

Side by Side Diff: LayoutTests/crypto/digest-expected.txt

Issue 19082002: WebCrypto: Add SHA-1 support to crypto.subtle.digest(). (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Remove an extra newline 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « LayoutTests/crypto/digest.html ('k') | Source/bindings/v8/ScriptValue.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 Tests cypto.subtle.digest.
2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4
5
6 SHA1 of [] -- with empty process()
7 = [da 39 a3 ee 5e 6b 4b 0d 32 55 bf ef 95 60 18 90 af d8 07 09]
8 SHA1 of [] -- without calling process()
9 = [da 39 a3 ee 5e 6b 4b 0d 32 55 bf ef 95 60 18 90 af d8 07 09]
10 SHA1 of [0x0]
11 = [5b a9 3c 9d b0 cf f9 3f 52 b5 21 d7 42 0e 43 f6 ed a2 78 4f]
12 SHA1 of [0x0] -- as an ArrayBuffer
13 = [5b a9 3c 9d b0 cf f9 3f 52 b5 21 d7 42 0e 43 f6 ed a2 78 4f]
14 SHA1 of [0, 1, 2, 3, 4, 5] -- multipart
15 = [86 84 60 d9 8d 09 d8 bb b9 3d 7b 6c dd 15 cc 7f be c6 76 b9]
16 Call process() after finish()
17 = [da 39 a3 ee 5e 6b 4b 0d 32 55 bf ef 95 60 18 90 af d8 07 09]
18 abort()
19 rejected with value of null
20 abort() and then abort()
21 rejected with value of null
22 rejected with value of null
23 process() and then abort()
24 rejected with value of null
25 finish() and then abort()
26 = [da 39 a3 ee 5e 6b 4b 0d 32 55 bf ef 95 60 18 90 af d8 07 09]
27 = [da 39 a3 ee 5e 6b 4b 0d 32 55 bf ef 95 60 18 90 af d8 07 09]
28 finish() and then process()
29 = [da 39 a3 ee 5e 6b 4b 0d 32 55 bf ef 95 60 18 90 af d8 07 09]
30 finish() and then finish()
31 = [da 39 a3 ee 5e 6b 4b 0d 32 55 bf ef 95 60 18 90 af d8 07 09]
32 = [da 39 a3 ee 5e 6b 4b 0d 32 55 bf ef 95 60 18 90 af d8 07 09]
33 PASS op.process(null) threw exception TypeError: Type error.
34 PASS op.process() threw exception TypeError: Not enough arguments.
35 PASS op.process(-1) threw exception TypeError: Type error.
36 PASS successfullyParsed is true
37
38 TEST COMPLETE
39
OLDNEW
« no previous file with comments | « LayoutTests/crypto/digest.html ('k') | Source/bindings/v8/ScriptValue.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698