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

LibWeb: Add size to URLSearchParams

Added new size parameter to URLSearchParams.

Spec: https://url.spec.whatwg.org/#dom-urlsearchparams-size
Co-Authored-By: Linus Groh <mail@linusgroh.de>
This commit is contained in:
CanadaHonk 2023-02-23 13:32:08 +00:00 committed by Linus Groh
parent e231f72f61
commit 3e2ceef8c3
3 changed files with 10 additions and 0 deletions

View file

@ -4,6 +4,8 @@ interface URLSearchParams {
constructor(optional (sequence<sequence<USVString>> or record<USVString, USVString> or USVString) init = "");
readonly attribute unsigned long size;
undefined append(USVString name, USVString value);
undefined delete(USVString name);
USVString? get(USVString name);