Test exporting an HMAC key with malformed parameters On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". PASS crypto.subtle.exportKey("spki", key) rejected promise with NotSupportedError: The algorithm is not supported. PASS crypto.subtle.exportKey("pkcs8", key) rejected promise with NotSupportedError: The algorithm is not supported. PASS successfullyParsed is true TEST COMPLETE