Test bad inputs to HKDF deriveBits() On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". deriveBits() with an unsupported hash... error is: NotSupportedError: Failed to execute 'deriveBits' on 'SubtleCrypto': HkdfParams: hash: HMAC: Unsupported operation: digest deriveBits() with an ECDH key... error is: InvalidAccessError: key.algorithm does not match that of operation deriveBits() with length of 65281... error is: OperationError: The length provided for HKDF is too large. deriveBits() with length of 15... error is: OperationError: The length provided for HKDF is not a multiple of 8 bits. PASS successfullyParsed is true TEST COMPLETE