1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 05:48:12 +00:00

LibWeb: Port HTMLFormElement interface from DeprecatedString to String

Leaving a FIXME for HTMLFormElement::method as it looks like this could
be Reflect in the IDL.
This commit is contained in:
Shannon Booth 2023-09-03 15:44:24 +12:00 committed by Tim Flynn
parent 63aa93aaf4
commit 2a732e6ddd
3 changed files with 16 additions and 16 deletions

View file

@ -80,11 +80,11 @@ public:
bool constructing_entry_list() const { return m_constructing_entry_list; }
void set_constructing_entry_list(bool value) { m_constructing_entry_list = value; }
DeprecatedString method() const;
WebIDL::ExceptionOr<void> set_method(DeprecatedString const&);
StringView method() const;
WebIDL::ExceptionOr<void> set_method(String const&);
DeprecatedString action() const;
WebIDL::ExceptionOr<void> set_action(DeprecatedString const&);
String action() const;
WebIDL::ExceptionOr<void> set_action(String const&);
private:
HTMLFormElement(DOM::Document&, DOM::QualifiedName);