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

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

Issue 20421002: WebCrypto: Test error delivery during process(). (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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
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 14 matching lines...) Expand all
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) 33 SHA-256 rejects (dummy implementation)
34 rejected with value of null 34 rejected with value of null
35 Error during process() (dummy implementation rejects inputs over 6 bytes)
36 rejected with value of null
35 PASS op.process(null) threw exception TypeError: Type error. 37 PASS op.process(null) threw exception TypeError: Type error.
36 PASS op.process() threw exception TypeError: Not enough arguments. 38 PASS op.process() threw exception TypeError: Not enough arguments.
37 PASS op.process(-1) threw exception TypeError: Type error. 39 PASS op.process(-1) threw exception TypeError: Type error.
38 PASS successfullyParsed is true 40 PASS successfullyParsed is true
39 41
40 TEST COMPLETE 42 TEST COMPLETE
41 43
OLDNEW
« no previous file with comments | « LayoutTests/crypto/digest.html ('k') | Tools/DumpRenderTree/chromium/TestRunner/src/MockWebCrypto.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698