DiagnosticsExternal object

Object used to communicate back to the COM API surface and the owner of the Diagnostics Script Engine.

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 oExternal = oGlobalScope.external;

DOM Information

Inheritance Hierarchy

The DiagnosticsExternal does not inherit from any class or interface.

Members

The DiagnosticsExternal object has these types of members:

  • Methods

Methods

The DiagnosticsExternal object has these methods.

Method Description
addEventListener

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

allowProcessToTakeForeground

Calls the Win32 API AllowSetForegroundWindow to allow a specific process to go to the foreground.

removeEventListener

Unregisters a previously registered event listener of the given type.

sendMessage

Sends a message to the COM host of the Diagnostics Script Engine.

takeForeground

Causes Internet Explorer to try to take the Win32 foreground for itself.

 

Remarks

Use of the name 'external' is an analog to window.external from the public DOM, where the external object is an exposure of host capabilities.