mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 04:07:45 +00:00
LibWeb: Accept array pairs in URLSearchParams constructor
This commit is contained in:
parent
68813fbe70
commit
d7998c5dbd
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