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

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

Issue 19776013: WebCrypto: Refactor the WebCryptoOperation interface to support errors. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase onto master 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/modules/crypto/CryptoOperation.h » ('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 [] -- with empty process()
7 = [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]
8 SHA1 of [] -- without calling process() 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] 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] 10 SHA1 of [0x0]
(...skipping 12 matching lines...) Expand all
23 process() and then abort() 23 process() and then abort()
24 rejected with value of null 24 rejected with value of null
25 finish() and then abort() 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] 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] 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() 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] 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() 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] 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] 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)
34 rejected with value of null
33 PASS op.process(null) threw exception TypeError: Type error. 35 PASS op.process(null) threw exception TypeError: Type error.
34 PASS op.process() threw exception TypeError: Not enough arguments. 36 PASS op.process() threw exception TypeError: Not enough arguments.
35 PASS op.process(-1) threw exception TypeError: Type error. 37 PASS op.process(-1) threw exception TypeError: Type error.
36 PASS successfullyParsed is true 38 PASS successfullyParsed is true
37 39
38 TEST COMPLETE 40 TEST COMPLETE
39 41
OLDNEW
« no previous file with comments | « LayoutTests/crypto/digest.html ('k') | Source/modules/crypto/CryptoOperation.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698