WorkerNavigator object
Represents the navigator object available to a worker.
Syntax
self.navigator
DOM Information
Inheritance Hierarchy
The WorkerNavigator does not inherit from any class or interface.Members
The WorkerNavigator object has these types of members:
Methods
The WorkerNavigator object has these methods.
| Method | Description |
|---|---|
| sendBeacon |
Provides an asynchronous and non-blocking way to transmit data to a provided URL. |
Properties
The WorkerNavigator object has these properties.
| Property | Access type | Description |
|---|---|---|
|
Read-only |
Returns the name of the browser. | |
|
Read-only |
Returns version information about the browser. | |
|
Read-only |
Returns the online status of the browser. | |
|
Read-only |
Returns the name of the operating system platform the browser is running on. | |
|
Read-only |
Returns the user agent string of the browser. |
Remarks
Use the navigator property to create a WorkerNavigator object. The navigator object has the following properties available to a worker: appName, appVersion, onLine, platform, and userAgent. Other "navigator"-type properties, such as cookieEnabled are not available.