1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-25 16:35:06 +00:00
serenity/Userland/Libraries/LibWeb/URL/URLSearchParams.idl
Andrew Kaster 67ceba2e6a LibWeb: Add Exposed attribute and IDL spec links where missing
The intent is to use these to autogenerate prototype declarations for
Window and WorkerGlobalScope classes.

And the spec links are just nice to have :^)
2022-10-09 10:14:57 +02:00

18 lines
526 B
Text

// https://url.spec.whatwg.org/#urlsearchparams
[Exposed=*]
interface URLSearchParams {
constructor(optional (sequence<sequence<USVString>> or record<USVString, USVString> or USVString) init = "");
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;
};