blob: b6e41bc83b28210f2611107ab502483fcee1f065 [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: The algorithm is not supported.
PASS [Worker] crypto.subtle.exportKey("pkcs8", key) rejected promise with NotSupportedError: The algorithm is not supported.
[Worker] Exporting a key...
PASS [Worker] key.byteLength is 64
PASS successfullyParsed is true
TEST COMPLETE