WorkerLocation extension type
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
.
This interface is only visible from inside a JavaScript script executed in the context of a Web worker.
Properties
- hash → String
-
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- host → String
-
no setter
- hostname → String
-
no setter
- href → String
-
no setter
- origin → String
-
no setter
- pathname → String
-
no setter
- port → String
-
no setter
- protocol → String
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- search → String
-
no setter
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited