executeScript method

Synchronously runs a script in the WebWorkerDiagnosticsDiagnostics 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 retVal = DiagnosticsBrowser.executeScript(code, targetFrame);

Parameters

  • code [in]
    Type: DOMString

  • targetFrame [in, optional]
    Type: any

See also

DiagnosticsBrowser