1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-25 19:15:06 +00:00

LibWeb: Port URL and URLSearchParams to new String

This commit is contained in:
Kenneth Myhra 2023-03-01 20:10:01 +01:00 committed by Linus Groh
parent 843c9d6cd7
commit 9da09e4fd3
12 changed files with 229 additions and 157 deletions

View file

@ -22,12 +22,12 @@ public:
DeprecatedString action() const;
DeprecatedString method() const { return attribute(HTML::AttributeNames::method); }
void submit_form(JS::GCPtr<HTMLElement> submitter, bool from_submit_binding = false);
ErrorOr<void> submit_form(JS::GCPtr<HTMLElement> submitter, bool from_submit_binding = false);
void reset_form();
// NOTE: This is for the JS bindings. Use submit_form instead.
void submit();
WebIDL::ExceptionOr<void> submit();
// NOTE: This is for the JS bindings. Use submit_form instead.
void reset();