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

LibWeb: Accept array pairs in URLSearchParams constructor

This commit is contained in:
Luke Wilde 2022-01-25 20:38:55 +00:00 committed by Andreas Kling
parent 68813fbe70
commit d7998c5dbd
3 changed files with 28 additions and 7 deletions

View file

@ -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);