1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-19 00:15:08 +00:00
serenity/Userland/Libraries/LibWeb/URL/URLSearchParams.idl
Idan Horowitz 01417c82c5 LibWeb: Make URLSearchParams iterable
This uses the new support for the iterable IDL property.
2021-09-28 16:51:27 +02:00

17 lines
522 B
Text

interface URLSearchParams {
// FIXME: the real type of init is (sequence<sequence<USVString>> or record<USVString, USVString> or USVString)
constructor(optional USVString init = "");
undefined append(USVString name, USVString value);
undefined delete(USVString name);
USVString? get(USVString name);
// TODO: sequence<USVString> getAll(USVString name);
boolean has(USVString name);
undefined set(USVString name, USVString value);
undefined sort();
iterable<USVString, USVString>;
stringifier;
};