1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 21:57:43 +00:00

LibWeb: Add the URL::searchParams attribute

This commit is contained in:
Idan Horowitz 2021-09-14 00:15:41 +03:00 committed by Andreas Kling
parent 1841fbd3e4
commit fe32c9c3bd
5 changed files with 15 additions and 1 deletions

View file

@ -31,6 +31,8 @@ public:
String href() const;
DOM::ExceptionOr<void> set_href(String const&);
URLSearchParams const* search_params() const;
String to_json() const;
void set_query(Badge<URLSearchParams>, String query) { m_url.set_query(move(query)); }