OLD | NEW |
| 1 CONSOLE ERROR: Invalid dataBuffer argument |
| 2 CONSOLE ERROR: Invalid dataBuffer argument |
| 3 CONSOLE ERROR: Algorithm: Not an object |
1 CONSOLE ERROR: Algorithm: Unrecognized algorithm name | 4 CONSOLE ERROR: Algorithm: Unrecognized algorithm name |
2 CONSOLE ERROR: Algorithm: name: Missing or not a string | 5 CONSOLE ERROR: Algorithm: name: Missing or not a string |
3 Tests incorrect calls to crypto.subtle.digest() | 6 Tests incorrect calls to crypto.subtle.digest() |
4 | 7 |
5 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | 8 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
6 | 9 |
7 | 10 |
8 PASS crypto.subtle.digest({name: 'sha-1'}) threw exception TypeError: Failed to
execute 'digest' on 'SubtleCrypto': 2 arguments required, but only 1 present.. | 11 PASS crypto.subtle.digest({name: 'sha-1'}) threw exception TypeError: Failed to
execute 'digest' on 'SubtleCrypto': 2 arguments required, but only 1 present.. |
9 PASS crypto.subtle.digest({name: 'sha-1'}, null) threw exception TypeError: Fail
ed to execute 'digest' on 'SubtleCrypto': Invalid dataBuffer argument. | 12 PASS error is null |
10 PASS crypto.subtle.digest({name: 'sha-1'}, 10) threw exception TypeError: Failed
to execute 'digest' on 'SubtleCrypto': Invalid dataBuffer argument. | 13 PASS error is null |
11 PASS crypto.subtle.digest(null, data) threw exception TypeError: Failed to execu
te 'digest' on 'SubtleCrypto': Algorithm: Not an object. | 14 PASS error is null |
12 PASS error is null | 15 PASS error is null |
13 PASS error is null | 16 PASS error is null |
14 PASS successfullyParsed is true | 17 PASS successfullyParsed is true |
15 | 18 |
16 TEST COMPLETE | 19 TEST COMPLETE |
17 | 20 |
OLD | NEW |