OLD | NEW |
1 Tests incorrect calls to crypto.subtle.digest() | 1 Tests incorrect calls to crypto.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 | 6 |
7 digest() without data argument... | 7 digest() without data argument... |
8 error is: TypeError: Failed to execute 'digest' on 'SubtleCrypto': 2 arguments r
equired, but only 1 present. | 8 error is: TypeError: Failed to execute 'digest' on 'SubtleCrypto': 2 arguments r
equired, but only 1 present. |
9 | 9 |
10 digest() with data argument that is null... | 10 digest() with data argument that is null... |
11 error is: TypeError: Failed to execute 'digest' on 'SubtleCrypto': The provided
value is not of type '(ArrayBuffer or ArrayBufferView)' | 11 error is: TypeError: Failed to execute 'digest' on 'SubtleCrypto': The provided
value is not of type '(ArrayBuffer or ArrayBufferView)' |
12 | 12 |
13 digest() with data argument that is an integer... | 13 digest() with data argument that is an integer... |
14 error is: TypeError: Failed to execute 'digest' on 'SubtleCrypto': The provided
value is not of type '(ArrayBuffer or ArrayBufferView)' | 14 error is: TypeError: Failed to execute 'digest' on 'SubtleCrypto': The provided
value is not of type '(ArrayBuffer or ArrayBufferView)' |
15 | 15 |
16 digest() with algorithm as null... | 16 digest() with algorithm as null... |
17 error is: TypeError: Algorithm: Not an object | 17 error is: TypeError: Algorithm: Not an object |
18 | 18 |
19 digest() with invalid agorithm that is sha... | 19 digest() with invalid agorithm that is sha... |
20 error is: NotSupportedError: Algorithm: Unrecognized name | 20 error is: NotSupportedError: Algorithm: Unrecognized name |
21 | 21 |
22 digest() without algorithm name... | 22 digest() without algorithm name... |
23 error is: TypeError: Algorithm: name: Missing or not a string | 23 error is: TypeError: Algorithm: name: Missing or not a string |
24 PASS successfullyParsed is true | 24 PASS successfullyParsed is true |
25 | 25 |
26 TEST COMPLETE | 26 TEST COMPLETE |
27 | 27 |
OLD | NEW |