package
0.0.0-20200525080501-418ac89e6fd2
Repository: https://github.com/bootgo/cdproto.git
Documentation: pkg.go.dev

# Functions

AddBinding if executionContextId is empty, adds binding with the given name on the global objects of all inspected contexts, including those created later, bindings survive reloads.
AwaitPromise add handler to promise with given promise object id.
CallFunctionOn calls function with given declaration on the given object.
CompileScript compiles expression.
Disable disables reporting of execution contexts creation.
DiscardConsoleEntries discards collected exceptions and console API calls.
Enable enables reporting of execution contexts creation by means of executionContextCreated event.
Evaluate evaluates expression on global object.
GetHeapUsage returns the JavaScript heap usage.
GetIsolateID returns the isolate id.
GetProperties returns properties of a given object.
GlobalLexicalScopeNames returns all let, const and class variables from global scope.
QueryObjects [no description].
ReleaseObject releases remote object with given id.
ReleaseObjectGroup releases all remote objects that belong to a given group.
RemoveBinding this method does not remove binding function from global object but unsubscribes current runtime agent from Runtime.bindingCalled notifications.
RunIfWaitingForDebugger tells inspected instance to run if it was waiting for debugger to attach.
RunScript runs script with given id in a given context.
SetCustomObjectFormatterEnabled [no description].
SetMaxCallStackSizeToCapture [no description].
TerminateExecution terminate current or next JavaScript execution.

# Constants

APIType values.
APIType values.
APIType values.
APIType values.
APIType values.
APIType values.
APIType values.
APIType values.
APIType values.
APIType values.
APIType values.
APIType values.
APIType values.
APIType values.
APIType values.
APIType values.
APIType values.
APIType values.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
Subtype values.
Subtype values.
Subtype values.
Subtype values.
Subtype values.
Subtype values.
Subtype values.
Subtype values.
Subtype values.
Subtype values.
Subtype values.
Subtype values.
Subtype values.
Subtype values.
Subtype values.
Type values.
Type values.
Type values.
Type values.
Type values.
Type values.
Type values.
Type values.
Type values.

# Structs

AddBindingParams if executionContextId is empty, adds binding with the given name on the global objects of all inspected contexts, including those created later, bindings survive reloads.
AwaitPromiseParams add handler to promise with given promise object id.
AwaitPromiseReturns return values.
CallArgument represents function call argument.
CallFrame stack entry for runtime errors and assertions.
CallFunctionOnParams calls function with given declaration on the given object.
CallFunctionOnReturns return values.
CompileScriptParams compiles expression.
CompileScriptReturns return values.
CustomPreview [no description].
DisableParams disables reporting of execution contexts creation.
DiscardConsoleEntriesParams discards collected exceptions and console API calls.
EnableParams enables reporting of execution contexts creation by means of executionContextCreated event.
EntryPreview [no description].
EvaluateParams evaluates expression on global object.
EvaluateReturns return values.
EventBindingCalled notification is issued every time when binding is called.
EventConsoleAPICalled issued when console API was called.
EventExceptionRevoked issued when unhandled exception was revoked.
EventExceptionThrown issued when exception was thrown and unhandled.
EventExecutionContextCreated issued when new execution context is created.
EventExecutionContextDestroyed issued when execution context is destroyed.
EventExecutionContextsCleared issued when all executionContexts were cleared in browser.
EventInspectRequested issued when object should be inspected (for example, as a result of inspect() command line API call).
ExceptionDetails detailed information about exception (or error) that was thrown during script compilation or execution.
ExecutionContextDescription description of an isolated world.
GetHeapUsageParams returns the JavaScript heap usage.
GetHeapUsageReturns return values.
GetIsolateIDParams returns the isolate id.
GetIsolateIDReturns return values.
GetPropertiesParams returns properties of a given object.
GetPropertiesReturns return values.
GlobalLexicalScopeNamesParams returns all let, const and class variables from global scope.
GlobalLexicalScopeNamesReturns return values.
InternalPropertyDescriptor object internal property descriptor.
ObjectPreview object containing abbreviated remote object value.
PropertyDescriptor object property descriptor.
PropertyPreview [no description].
QueryObjectsParams [no description].
QueryObjectsReturns return values.
ReleaseObjectGroupParams releases all remote objects that belong to a given group.
ReleaseObjectParams releases remote object with given id.
RemoteObject mirror object referencing original JavaScript object.
RemoveBindingParams this method does not remove binding function from global object but unsubscribes current runtime agent from Runtime.bindingCalled notifications.
RunIfWaitingForDebuggerParams tells inspected instance to run if it was waiting for debugger to attach.
RunScriptParams runs script with given id in a given context.
RunScriptReturns return values.
SetCustomObjectFormatterEnabledParams [no description].
SetMaxCallStackSizeToCaptureParams [no description].
StackTrace call frames for assertions or error messages.
StackTraceID if debuggerId is set stack trace comes from another debugger and can be resolved there.
TerminateExecutionParams terminate current or next JavaScript execution.

# Type aliases

APIType type of the call.
ExecutionContextID ID of an execution context.
RemoteObjectID unique object identifier.
ScriptID unique script identifier.
Subtype object subtype hint.
TimeDelta number of milliseconds.
Timestamp number of milliseconds since epoch.
Type object type.
UniqueDebuggerID unique identifier of current debugger.
UnserializableValue primitive value which cannot be JSON-stringified.