LibWeb: Always return a KeyAlgorithm from RsaHashedKeyAlgorithm

The spec never mentions the possibility for the `hash` member of
`RsaHashedKeyAlgorithm` to be a string, it should be a `KeyAlgorithm`
object containing a `name` string member.

Spec: https://w3c.github.io/webcrypto/#dfn-RsaHashedKeyAlgorithm
This commit is contained in:
devgianlu 2024-12-26 18:08:37 +01:00 committed by Jelle Raaijmakers
commit 991cb8942d
Notes: github-actions[bot] 2025-01-17 11:44:02 +00:00
4 changed files with 529 additions and 528 deletions

View file

@ -16,7 +16,7 @@
);
println(key.extractable);
println(key.algorithm.name);
println(key.algorithm.hash);
println(key.algorithm.hash.name);
println(key.algorithm.publicExponent);
done();
});