struct Protocol::Runtime::ConsoleAPICalled
- Protocol::Runtime::ConsoleAPICalled
- Struct
- Value
- Object
Overview
Issued when console API was called.
Included Modules
- JSON::Serializable
- Protocol::Event
Defined in:
protocol/runtime.crConstructors
Instance Method Summary
-
#args : Array(RemoteObject)
Call arguments.
-
#context : String | Nil
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.
-
#execution_context_id : ExecutionContextId
Identifier of the context where the call was made.
-
#stack_trace : StackTrace | Nil
Stack trace captured when the call was made.
-
#timestamp : Timestamp
Call timestamp.
-
#type : String
Type of the call.
Constructor Detail
Instance Method Detail
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.
Stack trace captured when the call was made. The async stack chain is automatically reported for
the following call types: assert
, error
, trace
, warning
. For other types the async call
chain can be retrieved using Debugger.getStackTrace
and stackTrace.parentId
field.