mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-01 21:59:07 +00:00
LibWeb: Accept array pairs in URLSearchParams constructor
This commit is contained in:
parent
68813fbe70
commit
d7998c5dbd
Notes:
sideshowbarker
2024-07-17 19:56:36 +09:00
Author: https://github.com/Lubrsi
Commit: d7998c5dbd
Pull-request: https://github.com/SerenityOS/serenity/pull/12208
Reviewed-by: https://github.com/awesomekling
3 changed files with 28 additions and 7 deletions
|
@ -30,7 +30,7 @@ public:
|
|||
return adopt_ref(*new URLSearchParams(move(list)));
|
||||
}
|
||||
|
||||
static DOM::ExceptionOr<NonnullRefPtr<URLSearchParams>> create_with_global_object(Bindings::WindowObject&, const String& init);
|
||||
static DOM::ExceptionOr<NonnullRefPtr<URLSearchParams>> create_with_global_object(Bindings::WindowObject&, Variant<Vector<Vector<String>>, String> const& init);
|
||||
|
||||
void append(String const& name, String const& value);
|
||||
void delete_(String const& name);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue