Contains DevTools Protocol Runtime domain implementation accessible via RuntimeOperations class.
data class AddBindingRequest
Represents request frame that can be used with Runtime#addBinding operation call. |
|
data class AwaitPromiseRequest
Represents request frame that can be used with Runtime#awaitPromise operation call. |
|
data class AwaitPromiseResponse
Represents response frame that is returned from Runtime#awaitPromise operation call. Add handler to promise with given promise object id. |
|
data class BindingCalledEvent : Event
Notification is issued every time when binding is called. |
|
data class CallArgument
Represents function call argument. Either remote object id |
|
data class CallFrame
Stack entry for runtime errors and assertions. |
|
data class CallFunctionOnRequest
Represents request frame that can be used with Runtime#callFunctionOn operation call. |
|
data class CallFunctionOnResponse
Represents response frame that is returned from Runtime#callFunctionOn operation call. Calls function with given declaration on the given object. Object group of the result is inherited from the target object. |
|
data class CompileScriptRequest
Represents request frame that can be used with Runtime#compileScript operation call. |
|
data class CompileScriptResponse
Represents response frame that is returned from Runtime#compileScript operation call. Compiles expression. |
|
data class ConsoleAPICalledEvent : Event
Issued when console API was called. |
|
data class CustomPreview |
|
data class EntryPreview |
|
data class EvaluateRequest
Represents request frame that can be used with Runtime#evaluate operation call. |
|
data class EvaluateResponse
Represents response frame that is returned from Runtime#evaluate operation call. Evaluates expression on global object. |
|
data class ExceptionDetails
Detailed information about exception (or error) that was thrown during script compilation or execution. |
|
data class ExceptionRevokedEvent : Event
Issued when unhandled exception was revoked. |
|
data class ExceptionThrownEvent : Event
Issued when exception was thrown and unhandled. |
|
data class ExecutionContextCreatedEvent : Event
Issued when new execution context is created. |
|
data class ExecutionContextDescription
Description of an isolated world. |
|
data class ExecutionContextDestroyedEvent : Event
Issued when execution context is destroyed. |
|
data class GetHeapUsageResponse
Represents response frame that is returned from Runtime#getHeapUsage operation call. Returns the JavaScript heap usage. It is the total usage of the corresponding isolate not scoped to a particular Runtime. |
|
data class GetIsolateIdResponse
Represents response frame that is returned from Runtime#getIsolateId operation call. Returns the isolate id. |
|
data class GetPropertiesRequest
Represents request frame that can be used with Runtime#getProperties operation call. |
|
data class GetPropertiesResponse
Represents response frame that is returned from Runtime#getProperties operation call. Returns properties of a given object. Object group of the result is inherited from the target object. |
|
data class GlobalLexicalScopeNamesRequest
Represents request frame that can be used with Runtime#globalLexicalScopeNames operation call. |
|
data class GlobalLexicalScopeNamesResponse
Represents response frame that is returned from Runtime#globalLexicalScopeNames operation call. Returns all let, const and class variables from global scope. |
|
data class InspectRequestedEvent : Event
Issued when object should be inspected (for example, as a result of inspect() command line API call). |
|
data class InternalPropertyDescriptor
Object internal property descriptor. This property isn't normally visible in JavaScript code. |
|
data class ObjectPreview
Object containing abbreviated remote object value. |
|
data class PrivatePropertyDescriptor
Object private field descriptor. |
|
data class PropertyDescriptor
Object property descriptor. |
|
data class PropertyPreview |
|
data class QueryObjectsRequest
Represents request frame that can be used with Runtime#queryObjects operation call. |
|
data class QueryObjectsResponse
Represents response frame that is returned from Runtime#queryObjects operation call. |
|
data class ReleaseObjectGroupRequest
Represents request frame that can be used with Runtime#releaseObjectGroup operation call. |
|
data class ReleaseObjectRequest
Represents request frame that can be used with Runtime#releaseObject operation call. |
|
data class RemoteObject
Mirror object referencing original JavaScript object. |
|
data class RemoveBindingRequest
Represents request frame that can be used with Runtime#removeBinding operation call. |
|
data class RunScriptRequest
Represents request frame that can be used with Runtime#runScript operation call. |
|
data class RunScriptResponse
Represents response frame that is returned from Runtime#runScript operation call. Runs script with given id in a given context. |
|
class RuntimeOperations
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. |
|
data class SetAsyncCallStackDepthRequest
Represents request frame that can be used with Runtime#setAsyncCallStackDepth operation call. |
|
data class SetCustomObjectFormatterEnabledRequest
Represents request frame that can be used with Runtime#setCustomObjectFormatterEnabled operation call. |
|
data class SetMaxCallStackSizeToCaptureRequest
Represents request frame that can be used with Runtime#setMaxCallStackSizeToCapture operation call. |
|
data class StackTrace
Call frames for assertions or error messages. |
|
data class StackTraceId
If |
typealias ExecutionContextId = Int
Id of an execution context. |
|
typealias RemoteObjectId = String
Unique object identifier. |
|
typealias ScriptId = String
Unique script identifier. |
|
typealias TimeDelta = Double
Number of milliseconds. |
|
typealias Timestamp = Double
Number of milliseconds since epoch. |
|
typealias UniqueDebuggerId = String
Unique identifier of current debugger. |
|
typealias UnserializableValue = String
Primitive value which cannot be JSON-stringified. Includes values |