Skip to content

Commit 7ec9779

Browse files
tete17gmta
authored andcommitted
LibWeb: Update links to algorithms
The spec doesn't consider them abstract operations anymore
1 parent 11dc254 commit 7ec9779

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Libraries/LibWeb/TrustedTypes/TrustedTypePolicy.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ TrustedTypesVariants TrustedTypePolicy::create_a_trusted_type(TrustedTypeName tr
143143
}
144144
}
145145

146-
// https://w3c.github.io/trusted-types/dist/spec/#abstract-opdef-get-trusted-type-policy-value
146+
// https://w3c.github.io/trusted-types/dist/spec/#get-trusted-type-policy-value
147147
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)
148148
{
149149
auto& vm = this->vm();

Libraries/LibWeb/TrustedTypes/TrustedTypePolicyFactory.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@ ContentSecurityPolicy::Directives::Directive::Result TrustedTypePolicyFactory::s
296296
return result;
297297
}
298298

299-
// https://w3c.github.io/trusted-types/dist/spec/#abstract-opdef-get-trusted-type-data-for-attribute
299+
// https://w3c.github.io/trusted-types/dist/spec/#get-trusted-type-data-for-attribute
300300
Optional<TrustedTypeData> get_trusted_type_data_for_attribute(Utf16String const& element, Utf16String const& attribute, Optional<Utf16String> const& attribute_ns)
301301
{
302302
// 1. Let data be null.

0 commit comments

Comments
 (0)