W3cubDocs

/Haxe JavaScript

WorkerLocation

package js.html

@:native("WorkerLocation") Available on js

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

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

See:

Variables

read only hash:String

read only host:String

read only hostname:String

read only href:String

read only origin:String

read only pathname:String

read only port:String

read only protocol:String

© 2005–2018 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/js/html/WorkerLocation.html