WorkerLocation

Overview

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.

Location

Properties


hash

 

property hash: String read;

 

String hash { get; }

 

var hash: String { get{} }

 

String hash { __get; }

 

ReadOnly Property hash() As String

host

 

property host: String read;

 

String host { get; }

 

var host: String { get{} }

 

String host { __get; }

 

ReadOnly Property host() As String

hostname

 

property hostname: String read;

 

String hostname { get; }

 

var hostname: String { get{} }

 

String hostname { __get; }

 

ReadOnly Property hostname() As String

href

 

property href: String read;

 

String href { get; }

 

var href: String { get{} }

 

String href { __get; }

 

ReadOnly Property href() As String

origin

 

property origin: String read;

 

String origin { get; }

 

var origin: String { get{} }

 

String origin { __get; }

 

ReadOnly Property origin() As String

pathname

 

property pathname: String read;

 

String pathname { get; }

 

var pathname: String { get{} }

 

String pathname { __get; }

 

ReadOnly Property pathname() As String

port

 

property port: String read;

 

String port { get; }

 

var port: String { get{} }

 

String port { __get; }

 

ReadOnly Property port() As String

protocol

 

property protocol: String read;

 

String protocol { get; }

 

var protocol: String { get{} }

 

String protocol { __get; }

 

ReadOnly Property protocol() As String

search

 

property search: String read;

 

String search { get; }

 

var search: String { get{} }

 

String search { __get; }

 

ReadOnly Property search() As String