mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-09 11:06:10 +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
|
@ -1,7 +1,7 @@
|
|||
interface URLSearchParams {
|
||||
|
||||
// FIXME: the real type of init is (sequence<sequence<USVString>> or record<USVString, USVString> or USVString)
|
||||
constructor(optional USVString init = "");
|
||||
constructor(optional (sequence<sequence<USVString>> or USVString) init = "");
|
||||
|
||||
undefined append(USVString name, USVString value);
|
||||
undefined delete(USVString name);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue