DiagnosticsGlobalScope object

Provides access to methods and properties associated with the GlobalScope.

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

DOM Information

Inheritance Hierarchy

The DiagnosticsGlobalScope does not inherit from any class or interface.

Members

The DiagnosticsGlobalScope object has these types of members:

  • Methods
  • Properties

Methods

The DiagnosticsGlobalScope object has these methods.

Method Description
clearInterval

Removes the callback associated with the setInterval call.

clearTimeout

Removes the callback associated with the setTimeout call.

setInterval

Calls a callback function after every delay in milliseconds has elapsed.

setTimeout

Invokes a callback function after a set number of milliseconds has passed.

 

Properties

The DiagnosticsGlobalScope object has these properties.

Property Access type Description

browser

Read-only

Provides an instance of the DiagnosticsBrowser object.

diagnostics

Read-only

Provides an explicit way to access the global scope of diagnostics.

dom

Read-only

Returns an object that provides a bridge from the Diagnostics DOM to the page's public DOM for access to an element's inner and outer HTML.

emulation

Read-only

Returns an instance of the DiagnosticsEmulation object.

external

Read-only

Provides an instance of the DiagnosticsHost interface.

resources

Read-only

Returns an instance of the DiagnosticsResources object.

styles

Read-only

Returns an object that allows CSS styles to be queried and turned on and off on specific elements.

 

Remarks

The properties associated with this object are not protected, so a website can patch them.