URLSearchParams
Generated from idl/url.webidl when the site was built at 7aa23e2.
URLSearchParams is an interface in idl/url.webidl, exposed in Window, Worker. What it does is on MDN; this page says what niso has of it.
Status
Section titled “Status”The web features its members belong to, each with its Baseline status on the web and how much of the feature’s WPT suite passes in niso (see Web platform support).
| Feature | On the web | In niso | Members |
|---|---|---|---|
| URL | Widely available | Partial 85% 9429 of 10977 subtests pass | 10 |
Members
Section titled “Members”constructor
Section titled “constructor”constructor(optional (sequence<sequence<USVString>> or record<USVString, USVString> or USVString) init = "");int32_t niso_url_search_params_new(niso_dom* dom, bool init_is_pairs, const niso_str* init_pairs, size_t init_pairs_len, const char* init, size_t init_len, niso_handle* out);readonly attribute unsigned long size;int32_t niso_url_search_params_get_size(niso_dom* dom, niso_handle self, uint32_t* out);append()
Section titled “append()”undefined append(USVString name, USVString value);int32_t niso_url_search_params_append(niso_dom* dom, niso_handle self, const char* name, size_t name_len, const char* value, size_t value_len);delete()
Section titled “delete()”undefined delete(USVString name, optional USVString value);int32_t niso_url_search_params_delete(niso_dom* dom, niso_handle self, const char* name, size_t name_len, const char* value, size_t value_len);USVString? get(USVString name);int32_t niso_url_search_params_get(niso_dom* dom, niso_handle self, const char* name, size_t name_len, niso_str* out);getAll()
Section titled “getAll()”sequence<USVString> getAll(USVString name);int32_t niso_url_search_params_get_all(niso_dom* dom, niso_handle self, const char* name, size_t name_len, niso_strs* out);boolean has(USVString name, optional USVString value);int32_t niso_url_search_params_has(niso_dom* dom, niso_handle self, const char* name, size_t name_len, const char* value, size_t value_len, bool* out);undefined set(USVString name, USVString value);int32_t niso_url_search_params_set(niso_dom* dom, niso_handle self, const char* name, size_t name_len, const char* value, size_t value_len);sort()
Section titled “sort()”undefined sort();int32_t niso_url_search_params_sort(niso_dom* dom, niso_handle self);iterable
Section titled “iterable”iterable<USVString, USVString>;int32_t niso_url_search_params_iterate(niso_dom* dom, niso_handle self, niso_strs* out);stringifier
Section titled “stringifier”stringifier undefined ();Not in niso yet
Section titled “Not in niso yet”Members the web has, by the BCD keys web-features 3.45.0 lists, that idl/ doesn’t declare. The list is partial: web-features lists only the keys it maps to a feature.
@@iterator(URL)entries(URL)forEach(URL)keys(URL)toString(URL)values(URL)