1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-14 07:44:59 +00:00

LibWeb: Port handle_readonly_attribute from DeprecatedFlyString

It's a little awkward that one caller of this is passing through an
Optional<String> and another an Optional<DeprecatedString>, but that
should be fixed some point in the future with further DeprecatedString
porting.
This commit is contained in:
Shannon Booth 2023-11-05 12:17:24 +13:00 committed by Andreas Kling
parent 22f6abe5d6
commit f2e77f7778
2 changed files with 5 additions and 9 deletions

View file

@ -174,7 +174,7 @@ private:
WebIDL::ExceptionOr<void> run_input_activation_behavior();
void set_checked_within_group();
void handle_readonly_attribute(DeprecatedFlyString const& value);
void handle_readonly_attribute(Optional<String> const& value);
// https://html.spec.whatwg.org/multipage/input.html#value-sanitization-algorithm
DeprecatedString value_sanitization_algorithm(DeprecatedString) const;