W3cubDocs

/Haxe JavaScript

WorkerLocation

package js.html

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

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

See also:

Variables

read onlyhash:String

read onlyhost:String

read onlyhostname:String

read onlyhref:String

read onlyorigin:String

read onlypathname:String

read onlyport:String

read onlyprotocol:String

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