LibWeb: Update links to algorithms

The spec doesn't consider them abstract operations anymore
This commit is contained in:
Tete17 2025-10-29 12:10:39 +01:00 committed by Jelle Raaijmakers
parent 11dc254d27
commit 7ec9779624
Notes: github-actions[bot] 2025-12-01 08:56:06 +00:00
2 changed files with 2 additions and 2 deletions

View file

@ -143,7 +143,7 @@ TrustedTypesVariants TrustedTypePolicy::create_a_trusted_type(TrustedTypeName tr
}
}
// https://w3c.github.io/trusted-types/dist/spec/#abstract-opdef-get-trusted-type-policy-value
// https://w3c.github.io/trusted-types/dist/spec/#get-trusted-type-policy-value
WebIDL::ExceptionOr<JS::Value> TrustedTypePolicy::get_trusted_type_policy_value(TrustedTypeName trusted_type_name, Utf16String const& value, GC::RootVector<JS::Value> const& values, ThrowIfCallbackMissing throw_if_missing)
{
auto& vm = this->vm();

View file

@ -296,7 +296,7 @@ ContentSecurityPolicy::Directives::Directive::Result TrustedTypePolicyFactory::s
return result;
}
// https://w3c.github.io/trusted-types/dist/spec/#abstract-opdef-get-trusted-type-data-for-attribute
// https://w3c.github.io/trusted-types/dist/spec/#get-trusted-type-data-for-attribute
Optional<TrustedTypeData> get_trusted_type_data_for_attribute(Utf16String const& element, Utf16String const& attribute, Optional<Utf16String> const& attribute_ns)
{
// 1. Let data be null.