1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 19:07: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

@ -1,7 +1,6 @@
interface URLSearchParams {
// FIXME: the real type of init is (sequence<sequence<USVString>> or record<USVString, USVString> or USVString)
constructor(optional (sequence<sequence<USVString>> or USVString) init = "");
constructor(optional (sequence<sequence<USVString>> or record<USVString, USVString> or USVString) init = "");
undefined append(USVString name, USVString value);
undefined delete(USVString name);