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

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

Issue 23164012: WebCrypto: Remove support for multi-part operations. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Sync to tot 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
« no previous file with comments | « LayoutTests/crypto/digest.html ('k') | LayoutTests/crypto/importKey.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 Tests cypto.subtle.digest. 1 Tests cypto.subtle.digest.
2 2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4 4
5 5
6 SHA1 of [] -- with empty process() 6 SHA1 of []
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] 7 = [da 39 a3 ee 5e 6b 4b 0d 32 55 bf ef 95 60 18 90 af d8 07 09]
10 SHA1 of [0x0] 8 SHA1 of [0x0]
11 = [5b a9 3c 9d b0 cf f9 3f 52 b5 21 d7 42 0e 43 f6 ed a2 78 4f] 9 = [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 SHA-256 rejects (dummy implementation) 10 SHA-256 rejects (dummy implementation)
34 rejected with value of null 11 rejected with value of null
35 Error during process() (dummy implementation rejects inputs over 6 bytes) 12 Error (dummy implementation rejects this input)
36 rejected with value of null 13 rejected with value of null
37 PASS op.process(null) threw exception TypeError: Type error. 14 PASS crypto.subtle.digest({name: 'sha-1'}) threw exception TypeError: Not enough arguments.
38 PASS op.process() threw exception TypeError: Not enough arguments. 15 PASS crypto.subtle.digest({name: 'sha-1'}, null) threw exception TypeError: Type error.
39 PASS op.process(-1) threw exception TypeError: Type error. 16 PASS crypto.subtle.digest({name: 'sha-1'}, 10) threw exception TypeError: Type e rror.
40 PASS successfullyParsed is true 17 PASS successfullyParsed is true
41 18
42 TEST COMPLETE 19 TEST COMPLETE
43 20
OLDNEW
« no previous file with comments | « LayoutTests/crypto/digest.html ('k') | LayoutTests/crypto/importKey.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698