LibWeb: Add some missing spec links to Crypto

This commit is contained in:
Jelle Raaijmakers 2024-11-15 10:10:13 +01:00 committed by Andreas Kling
commit f8c853712e
Notes: github-actions[bot] 2024-11-15 11:33:04 +00:00
2 changed files with 7 additions and 5 deletions

View file

@ -632,6 +632,7 @@ JS::ThrowCompletionOr<JS::NonnullGCPtr<WebIDL::Promise>> SubtleCrypto::derive_bi
return promise;
}
// https://w3c.github.io/webcrypto/#SubtleCrypto-method-deriveKey
JS::ThrowCompletionOr<JS::NonnullGCPtr<WebIDL::Promise>> SubtleCrypto::derive_key(AlgorithmIdentifier algorithm, JS::NonnullGCPtr<CryptoKey> base_key, AlgorithmIdentifier derived_key_type, bool extractable, Vector<Bindings::KeyUsage> key_usages)
{
auto& realm = this->realm();