Skip to content

Truly independent web browser

494 B
Raw Blame
<!DOCTYPE html>
<script src="../include.js"></script>
<script>
    promiseTest(async () => {
        await crypto.subtle.exportKey(
            "jwk",
            await crypto.subtle.generateKey(
                {
                    name: "HMAC",
                    hash: {
                        name: "SHA-512",
                    },
                },
                !0,
                ["sign", "verify"]
            )
        );

        println("Does not crash.");
    });
</script>