mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-12-07 21:59:54 +00:00
LibWeb: Fix east constness
This commit is contained in:
parent
7ec9779624
commit
d601badd6c
Notes:
github-actions[bot]
2025-12-01 08:56:00 +00:00
Author: https://github.com/tete17
Commit: d601badd6c
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/6630
Reviewed-by: https://github.com/gmta ✅
2 changed files with 2 additions and 2 deletions
|
|
@ -344,7 +344,7 @@ WebIDL::ExceptionOr<Utf16String> get_trusted_type_compliant_string(TrustedTypeNa
|
|||
}
|
||||
|
||||
// https://w3c.github.io/trusted-types/dist/spec/#validate-attribute-mutation
|
||||
WebIDL::ExceptionOr<Utf16String> get_trusted_types_compliant_attribute_value(FlyString const& attribute_name, Optional<Utf16String> attribute_ns, const DOM::Element& element, Variant<GC::Root<TrustedHTML>, GC::Root<TrustedScript>, GC::Root<TrustedScriptURL>, Utf16String> const& new_value)
|
||||
WebIDL::ExceptionOr<Utf16String> get_trusted_types_compliant_attribute_value(FlyString const& attribute_name, Optional<Utf16String> attribute_ns, DOM::Element const& element, Variant<GC::Root<TrustedHTML>, GC::Root<TrustedScript>, GC::Root<TrustedScriptURL>, Utf16String> const& new_value)
|
||||
{
|
||||
// 1. If attributeNs is the empty string, set attributeNs to null.
|
||||
if (attribute_ns.has_value() && attribute_ns.value().is_empty())
|
||||
|
|
|
|||
|
|
@ -69,7 +69,7 @@ WebIDL::ExceptionOr<Optional<TrustedType>> process_value_with_a_default_policy(T
|
|||
|
||||
WebIDL::ExceptionOr<Utf16String> get_trusted_type_compliant_string(TrustedTypeName, JS::Object&, Variant<GC::Root<TrustedHTML>, GC::Root<TrustedScript>, GC::Root<TrustedScriptURL>, Utf16String> input, InjectionSink sink, String sink_group);
|
||||
|
||||
WebIDL::ExceptionOr<Utf16String> get_trusted_types_compliant_attribute_value(FlyString const& attribute_name, Optional<Utf16String> attribute_ns, const DOM::Element& element, Variant<GC::Root<TrustedHTML>, GC::Root<TrustedScript>, GC::Root<TrustedScriptURL>, Utf16String> const& new_value);
|
||||
WebIDL::ExceptionOr<Utf16String> get_trusted_types_compliant_attribute_value(FlyString const& attribute_name, Optional<Utf16String> attribute_ns, DOM::Element const& element, Variant<GC::Root<TrustedHTML>, GC::Root<TrustedScript>, GC::Root<TrustedScriptURL>, Utf16String> const& new_value);
|
||||
|
||||
Utf16String element_interface_name(Utf16String const& local_name, Utf16String const& element_ns);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue