Whether preview should be generated for the result.
namespace
inspector.Runtime
namespace Runtime
interface AwaitPromiseParameterType
- returnByValue?: boolean
Whether the result is expected to be a JSON object that should be sent by value.
interface AwaitPromiseReturnType
interface CallArgument
Represents function call argument. Either remote object id <code>objectId</code>, primitive <code>value</code>, unserializable primitive value or neither of (for undefined) them should be specified.
interface CallFunctionOnParameterType
- arguments?: CallArgument[]
Call arguments. All call arguments must belong to the same JavaScript world as the target object.
- awaitPromise?: boolean
Whether execution should <code>await</code> for resulting value and return once awaited promise is resolved.
- executionContextId?: number
Specifies execution context which global object will be used to call function on. Either executionContextId or objectId should be specified.
- objectGroup?: string
Symbolic group name that can be used to release multiple objects. If objectGroup is not specified and objectId is, objectGroup will be inherited from object.
- objectId?: string
Identifier of the object to call function on. Either objectId or executionContextId should be specified.
- returnByValue?: boolean
Whether the result is expected to be a JSON object which should be sent by value.
- silent?: boolean
In silent mode exceptions thrown during evaluation are not reported and do not pause execution. Overrides <code>setPauseOnException</code> state.
interface CallFunctionOnReturnType
interface CompileScriptParameterType
- executionContextId?: number
Specifies in which execution context to perform script run. If the parameter is omitted the evaluation will be performed in the context of the inspected page.
interface CompileScriptReturnType
interface ConsoleAPICalledEventDataType
- context?: string
Console context descriptor for calls on non-default console context (not console.*): 'anonymous#unique-logger-id' for call on unnamed context, 'name#unique-logger-id' for call on named context.
interface EvaluateParameterType
- awaitPromise?: boolean
Whether execution should <code>await</code> for resulting value and return once awaited promise is resolved.
- contextId?: number
Specifies in which execution context to perform evaluation. If the parameter is omitted the evaluation will be performed in the context of the inspected page.
- includeCommandLineAPI?: boolean
Determines whether Command Line API should be available during the evaluation.
- returnByValue?: boolean
Whether the result is expected to be a JSON object that should be sent by value.
- silent?: boolean
In silent mode exceptions thrown during evaluation are not reported and do not pause execution. Overrides <code>setPauseOnException</code> state.
interface EvaluateReturnType
interface ExceptionDetails
Detailed information about exception (or error) that was thrown during script compilation or execution.
interface ExceptionRevokedEventDataType
interface ExceptionThrownEventDataType
interface ExecutionContextCreatedEventDataType
interface ExecutionContextDescription
Description of an isolated world.
- id: number
Unique id of the execution context. It can be used to specify in which execution context script evaluation should be performed.
interface ExecutionContextDestroyedEventDataType
interface GetPropertiesParameterType
- accessorPropertiesOnly?: boolean
If true, returns accessor properties (with getter/setter) only; internal properties are not returned either.
- ownProperties?: boolean
If true, returns properties belonging only to the element itself, not to its prototype chain.
interface GetPropertiesReturnType
- internalProperties?: InternalPropertyDescriptor[]
Internal object properties (only of the element itself).
interface GlobalLexicalScopeNamesParameterType
interface GlobalLexicalScopeNamesReturnType
interface InspectRequestedEventDataType
interface InternalPropertyDescriptor
Object internal property descriptor. This property isn't normally visible in JavaScript code.
interface ObjectPreview
Object containing abbreviated remote object value.
- entries?: EntryPreview[]
List of the entries. Specified for <code>map</code> and <code>set</code> subtype values only.
interface PropertyDescriptor
Object property descriptor.
- configurable: boolean
True if the type of this property descriptor may be changed and if the property may be deleted from the corresponding object.
- enumerable: boolean
True if this property shows up during enumeration of the properties on the corresponding object.
- get?: RemoteObject
A function which serves as a getter for the property, or <code>undefined</code> if there is no getter (accessor descriptors only).
- set?: RemoteObject
A function which serves as a setter for the property, or <code>undefined</code> if there is no setter (accessor descriptors only).
- writable?: boolean
True if the value associated with the property may be changed (data descriptors only).
interface QueryObjectsParameterType
interface QueryObjectsReturnType
interface ReleaseObjectGroupParameterType
interface ReleaseObjectParameterType
interface RemoteObject
Mirror object referencing original JavaScript object.
- className?: string
Object class (constructor) name. Specified for <code>object</code> type values only.
- preview?: ObjectPreview
Preview containing abbreviated property values. Specified for <code>object</code> type values only.
- unserializableValue?: string
Primitive value which can not be JSON-stringified does not have <code>value</code>, but gets this property.
interface RunScriptParameterType
- awaitPromise?: boolean
Whether execution should <code>await</code> for resulting value and return once awaited promise is resolved.
- executionContextId?: number
Specifies in which execution context to perform script run. If the parameter is omitted the evaluation will be performed in the context of the inspected page.
- includeCommandLineAPI?: boolean
Determines whether Command Line API should be available during the evaluation.
- returnByValue?: boolean
Whether the result is expected to be a JSON object which should be sent by value.
- silent?: boolean
In silent mode exceptions thrown during evaluation are not reported and do not pause execution. Overrides <code>setPauseOnException</code> state.
interface RunScriptReturnType
interface StackTrace
Call frames for assertions or error messages.
- description?: string
String label of this stack trace. For async traces this may be a name of the function that initiated the async call.
interface StackTraceId
If <code>debuggerId</code> is set stack trace comes from another debugger and can be resolved there. This allows to track cross-debugger calls. See <code>Runtime.StackTrace</code> and <code>Debugger.paused</code> for usages.
- type ExecutionContextId = number
Id of an execution context.
- type RemoteObjectId = string
Unique object identifier.
- type ScriptId = string
Unique script identifier.
- type Timestamp = number
Number of milliseconds since epoch.
- type UniqueDebuggerId = string
Unique identifier of current debugger.
- type UnserializableValue = string
Primitive value which cannot be JSON-stringified.