blob: 1cc9fdb051e699adecd1049560523d425b0cfb40 [file] [log] [blame]
[Worker] Test exporting an HMAC key in workers with raw format.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
Starting worker: resources/hmac-generate-export-key-raw.js
[Worker] Generating a key...
[Worker] Generating a key...
PASS [Worker] crypto.subtle.exportKey("spki", key) rejected promise with NotSupportedError (DOM Exception 9): The algorithm is not supported.
PASS [Worker] crypto.subtle.exportKey("pkcs8", key) rejected promise with NotSupportedError (DOM Exception 9): The algorithm is not supported.
[Worker] Exporting a key...
PASS [Worker] key.byteLength is 64
PASS successfullyParsed is true
TEST COMPLETE