location
Summary
Returns the WorkerLocation object created for the WorkerGlobalScope object when the worker was created.
Property of apis/workers/WorkerGlobalScopeapis/workers/WorkerGlobalScope
Syntax
Note: This property is read-only.
var result = object.location;
Return Value
Returns an object of type StringString
Represents the absolute URL of the script that was used to initialize the worker, after any redirects.
Related specifications
- W3C Web Workers Specification
- W3C Editor’s Draft
Attributions
Microsoft Developer Network: Windows Internet Explorer API reference Article