次の方法で共有


WebWorkerDiagnosticsWorker object

Object to access properties and methods for the web worker object model.

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

 

 

Syntax

 var oWorker = WebWorkerDiagnosticsGlobalScope.worker;

DOM Information

Inheritance Hierarchy

The WebWorkerDiagnosticsWorker does not inherit from any class or interface.

Members

The WebWorkerDiagnosticsWorker object has these types of members:

  • Methods
  • Properties

Methods

The WebWorkerDiagnosticsWorker object has these methods.

Method Description
createSafeFunction

Returns a function wrapping the passed-in function.

getMemoryProfileURN

Returns a snapshot of the worker thread and returns a URN.

 

Properties

The WebWorkerDiagnosticsWorker object has these properties.

Property Access type Description

id

Read-only

Returns the id for a web worker.

worker

Read-only

Returns a WorkerGlobalScope object.