mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 18:18:12 +00:00

Added new size parameter to URLSearchParams. Spec: https://url.spec.whatwg.org/#dom-urlsearchparams-size Co-Authored-By: Linus Groh <mail@linusgroh.de>
20 lines
568 B
Text
20 lines
568 B
Text
// https://url.spec.whatwg.org/#urlsearchparams
|
|
[Exposed=*]
|
|
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);
|
|
sequence<USVString> getAll(USVString name);
|
|
boolean has(USVString name);
|
|
undefined set(USVString name, USVString value);
|
|
|
|
undefined sort();
|
|
|
|
iterable<USVString, USVString>;
|
|
stringifier;
|
|
};
|