Skip to content

DOMStringList

Generated from idl/html.webidl when the site was built at 7aa23e2.

DOMStringList is an interface in idl/html.webidl, exposed in Window, Worker. What it does is on MDN; this page says what niso has of it.

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
DOM Widely available No WPT tests WPT maps no test to it 4
attribute
readonly attribute unsigned long length;
int32_t niso_dom_string_list_get_length(niso_dom* dom, niso_handle self, uint32_t* out);
operation
getter DOMString? item(unsigned long index);
int32_t niso_dom_string_list_item(niso_dom* dom, niso_handle self, uint32_t index, niso_str* out);
operation
boolean contains(DOMString string);
int32_t niso_dom_string_list_contains(niso_dom* dom, niso_handle self, const char* string, size_t string_len, bool* out);