WorkerLocation

js.html.WorkerLocation (extern class)

The 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 self.location.

Documentation WorkerLocation by Mozilla Contributors, licensed under CC-BY-SA 2.5.

See:

Instance Members

href: String

origin: String

protocol: String

host: String

hostname: String

port: String

pathname: String


hash: String