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

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: don't hold a ScriptObject 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
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 process() and then abort()
23 rejected with value of null
24 finish() and then abort()
25 = [da 39 a3 ee 5e 6b 4b 0d 32 55 bf ef 95 60 18 90 af d8 07 09]
26 finish() and then process()
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 abort()
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 PASS op.process(null) threw exception TypeError: Type error.
33 PASS op.process() threw exception TypeError: Not enough arguments.
34 PASS op.process(-1) threw exception TypeError: Type error.
35 PASS successfullyParsed is true
36
37 TEST COMPLETE
38
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698