WorkerLocation interface defines the absolute location of the script executed by the
Worker. Such an object is initialized for each worker and is available via the
WorkerGlobalScope.location property obtained by calling
Returns a string containing the serialized
URLfor the worker's location.
protocolpart of the worker's location.
hostpart of the worker's location.
hostnamepart of the worker's location.
Returns the worker's
portpart of the worker's location.
pathnamepart of the worker's location.
searchpart of the worker's location.
hashpart of the worker's location.
|HTML Standard |
BCD tables only load in the browser