haikuwebkit/LayoutTests/crypto/subtle/hmac-export-key-malformed-p...

12 lines
420 B
Plaintext

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