WorkerLocation
Generated from idl/workers.webidl when the site was built at 7aa23e2.
WorkerLocation is an interface in idl/workers.webidl, exposed in 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 |
|---|---|---|---|
| Dedicated workers | Widely available | Partial 85% 410 of 477 subtests pass | 10 |
Members
Section titled “Members”stringifier readonly attribute USVString href;int32_t niso_worker_location_get_href(niso_dom* dom, niso_handle self, niso_str* out);origin
Section titled “origin”readonly attribute USVString origin;int32_t niso_worker_location_get_origin(niso_dom* dom, niso_handle self, niso_str* out);protocol
Section titled “protocol”readonly attribute USVString protocol;int32_t niso_worker_location_get_protocol(niso_dom* dom, niso_handle self, niso_str* out);readonly attribute USVString host;int32_t niso_worker_location_get_host(niso_dom* dom, niso_handle self, niso_str* out);hostname
Section titled “hostname”readonly attribute USVString hostname;int32_t niso_worker_location_get_hostname(niso_dom* dom, niso_handle self, niso_str* out);readonly attribute USVString port;int32_t niso_worker_location_get_port(niso_dom* dom, niso_handle self, niso_str* out);pathname
Section titled “pathname”readonly attribute USVString pathname;int32_t niso_worker_location_get_pathname(niso_dom* dom, niso_handle self, niso_str* out);search
Section titled “search”readonly attribute USVString search;int32_t niso_worker_location_get_search(niso_dom* dom, niso_handle self, niso_str* out);readonly attribute USVString hash;int32_t niso_worker_location_get_hash(niso_dom* dom, niso_handle self, niso_str* out);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.
toString(Dedicated workers)