1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 03:27:34 +00:00

LibWeb: Add support for the record variant of URLSearchParams

This commit is contained in:
Luke Wilde 2022-02-14 06:38:03 +00:00 committed by Andreas Kling
parent b7c435de17
commit b305ee8692
3 changed files with 16 additions and 5 deletions

View file

@ -30,7 +30,7 @@ public:
return adopt_ref(*new URLSearchParams(move(list)));
}
static DOM::ExceptionOr<NonnullRefPtr<URLSearchParams>> create_with_global_object(Bindings::WindowObject&, Variant<Vector<Vector<String>>, String> const& init);
static DOM::ExceptionOr<NonnullRefPtr<URLSearchParams>> create_with_global_object(Bindings::WindowObject&, Variant<Vector<Vector<String>>, OrderedHashMap<String, String>, String> const& init);
void append(String const& name, String const& value);
void delete_(String const& name);