DiagnosticsWebWorker object

Provides methods to post messages and run scripts on a web worker.

Note  These APIs can only be used with F12 developer tools and the Diagnostics Script Engine, and can't be called from JavaScript.

 

 

DOM Information

Inheritance Hierarchy

The DiagnosticsWebWorker does not inherit from any class or interface.

Members

The DiagnosticsWebWorker object has these types of members:

  • Methods
  • Properties

Methods

The DiagnosticsWebWorker object has these methods.

Method Description
addEventListener

Registers an event listener of the given type to the object.

executeScriptAsync

Asynchronously executes a script in the DiagnosticsWebWorker object model.

postMessage

Asynchronously posts a message to the web worker thread.

removeEventListener

Unregisters a previously registered event listener of the given type.

 

Properties

The DiagnosticsWebWorker object has these properties.

Property Access type Description

id

Read-only

Returns the id for a web worker.