LongRunningScriptDetectedEvent object

Provides information for MSWebViewLongRunningScriptDetected.

Properties

executionTime

Gets the number of milliseconds that the webview element has been executing a long-running script.

var executionTime = LongRunningScriptDetectedEvent.executionTime;

Property value

Type: long

stopPageScriptExecution

Stops a long-running script executing in the webview element.

var stopPageScriptExecution = LongRunningScriptDetectedEvent.stopPageScriptExecution;

Property value

Type: Boolean