files/en-us/web/api/workerlocation/index.md
{{APIRef("Web Workers API")}}{{AvailableInWorkers("worker")}}
The WorkerLocation interface defines the absolute location of the script executed by the {{domxref("Worker")}}. Such an object is initialized for each worker and is available via the {{domxref("WorkerGlobalScope.location")}} property obtained by calling self.location.
This interface is only visible from inside a JavaScript script executed in the context of a Web worker.
{{Specifications}}
{{Compat}}