OLD | NEW |
(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 |
OLD | NEW |