Runtime

Runtime domain exposes JavaScript runtime by means of remote evaluation and mirror objects. Evaluation results are returned as mirror object that expose object type, string representation and unique identifier that can be used for further object reference. Original objects are maintained in memory unless they are either explicitly released or are released along with the other objects in their object group.

Common API Experimental API Not implemented

Chrome (CDP 1.2)

Edge 0.1

Edge 0.2 (preview)

Node (V8)

Safari iOS 10.0

awaitPromise awaitPromise awaitPromise awaitPromise
callFunctionOn callFunctionOn callFunctionOn callFunctionOn callFunctionOn callFunctionOn
compileScript compileScript compileScript
disable disable disable disable disable disable
discardConsoleEntries discardConsoleEntries discardConsoleEntries discardConsoleEntries
enable enable enable enable enable enable
evaluate evaluate evaluate evaluate evaluate evaluate
getProperties getProperties getProperties getProperties getProperties getProperties
releaseObject releaseObject releaseObject releaseObject releaseObject
releaseObjectGroup releaseObjectGroup releaseObjectGroup releaseObjectGroup releaseObjectGroup
runIfWaitingForDebugger runIfWaitingForDebugger runIfWaitingForDebugger
runScript runScript runScript
setCustomObjectFormatterEnabled setCustomObjectFormatterEnabled setCustomObjectFormatterEnabled
run
globalLexicalScopeNames globalLexicalScopeNames
disableTypeProfiler disableTypeProfiler
enableTypeProfiler enableTypeProfiler
getBasicBlocks getBasicBlocks
getCollectionEntries getCollectionEntries
getDisplayableProperties getDisplayableProperties
getRuntimeTypesForVariablesAtOffsets getRuntimeTypesForVariablesAtOffsets
parse parse
saveResult saveResult

Events

Chrome (CDP 1.2)

Edge 0.1

Edge 0.2 (preview)

Node (V8)

Safari iOS 10.0

consoleAPICalled consoleAPICalled consoleAPICalled consoleAPICalled
exceptionRevoked exceptionRevoked exceptionRevoked
exceptionThrown exceptionThrown exceptionThrown exceptionThrown exceptionThrown
executionContextCreated executionContextCreated executionContextCreated executionContextCreated executionContextCreated
executionContextDestroyed executionContextDestroyed executionContextDestroyed executionContextDestroyed
executionContextsCleared executionContextsCleared executionContextsCleared executionContextsCleared executionContextsCleared
inspectRequested inspectRequested inspectRequested

Types

Chrome (CDP 1.2)

Edge 0.1

Edge 0.2 (preview)

Node (V8)

Safari iOS 10.0

CallArgument CallArgument CallArgument CallArgument CallArgument CallArgument
CallFrame CallFrame CallFrame CallFrame CallFrame
CustomPreview CustomPreview CustomPreview
EntryPreview EntryPreview EntryPreview EntryPreview
ExceptionDetails ExceptionDetails ExceptionDetails ExceptionDetails ExceptionDetails
ExecutionContextDescription ExecutionContextDescription ExecutionContextDescription ExecutionContextDescription ExecutionContextDescription
ExecutionContextId ExecutionContextId ExecutionContextId ExecutionContextId ExecutionContextId ExecutionContextId
InternalPropertyDescriptor InternalPropertyDescriptor InternalPropertyDescriptor InternalPropertyDescriptor
ObjectPreview ObjectPreview ObjectPreview ObjectPreview
PropertyDescriptor PropertyDescriptor PropertyDescriptor PropertyDescriptor PropertyDescriptor PropertyDescriptor
PropertyPreview PropertyPreview PropertyPreview PropertyPreview
RemoteObject RemoteObject RemoteObject RemoteObject RemoteObject RemoteObject
RemoteObjectId RemoteObjectId RemoteObjectId RemoteObjectId RemoteObjectId RemoteObjectId
ScriptId ScriptId ScriptId ScriptId ScriptId
StackTrace StackTrace StackTrace StackTrace StackTrace
Timestamp Timestamp Timestamp Timestamp Timestamp
UnserializableValue UnserializableValue UnserializableValue UnserializableValue UnserializableValue
BasicBlock BasicBlock
CollectionEntry CollectionEntry
ErrorRange ErrorRange
StructureDescription StructureDescription
SyntaxErrorType SyntaxErrorType
TypeDescription TypeDescription
TypeLocation TypeLocation
TypeSet TypeSet
RuntimeFrameId