Tests incorrect calls to crypto.subtle.digest() On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". digest() without data argument... error is: TypeError: Failed to execute 'digest' on 'SubtleCrypto': 2 arguments required, but only 1 present. digest() with data argument that is null... error is: TypeError: Failed to execute 'digest' on 'SubtleCrypto': The provided value is not of type '(ArrayBuffer or ArrayBufferView)'. digest() with data argument that is an integer... error is: TypeError: Failed to execute 'digest' on 'SubtleCrypto': The provided value is not of type '(ArrayBuffer or ArrayBufferView)'. digest() with algorithm as null... error is: NotSupportedError: Failed to execute 'digest' on 'SubtleCrypto': Algorithm: Unrecognized name digest() with invalid agorithm that is sha... error is: NotSupportedError: Failed to execute 'digest' on 'SubtleCrypto': Algorithm: Unrecognized name digest() without algorithm name... error is: TypeError: Failed to execute 'digest' on 'SubtleCrypto': Algorithm: name: Missing or not a string PASS successfullyParsed is true TEST COMPLETE