summaryrefslogtreecommitdiff
path: root/deps/v8/src/inspector/js_protocol.pdl
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/src/inspector/js_protocol.pdl')
-rw-r--r--deps/v8/src/inspector/js_protocol.pdl18
1 files changed, 17 insertions, 1 deletions
diff --git a/deps/v8/src/inspector/js_protocol.pdl b/deps/v8/src/inspector/js_protocol.pdl
index 93c988ea30..e4715f47ef 100644
--- a/deps/v8/src/inspector/js_protocol.pdl
+++ b/deps/v8/src/inspector/js_protocol.pdl
@@ -165,6 +165,10 @@ domain Debugger
# Enables debugger for the given page. Clients should not assume that the debugging has been
# enabled until the result for this command is received.
command enable
+ parameters
+ # The maximum size in bytes of collected scripts (not referenced by other heap objects)
+ # the debugger can hold. Puts no limit if paramter is omitted.
+ experimental optional number maxScriptsCacheSize
returns
# Unique identifier of the debugger.
experimental Runtime.UniqueDebuggerId debuggerId
@@ -1021,6 +1025,14 @@ domain Runtime
# The value associated with the property.
optional RemoteObject value
+ # Object private field descriptor.
+ experimental type PrivatePropertyDescriptor extends object
+ properties
+ # Private property name.
+ string name
+ # The value associated with the private property.
+ RemoteObject value
+
# Represents function call argument. Either remote object id `objectId`, primitive `value`,
# unserializable primitive value or neither of (for undefined) them should be specified.
type CallArgument extends object
@@ -1262,6 +1274,8 @@ domain Runtime
array of PropertyDescriptor result
# Internal object properties (only of the element itself).
optional array of InternalPropertyDescriptor internalProperties
+ # Object private properties.
+ experimental optional array of PrivatePropertyDescriptor privateProperties
# Exception details.
optional ExceptionDetails exceptionDetails
@@ -1402,7 +1416,9 @@ domain Runtime
ExecutionContextId executionContextId
# Call timestamp.
Timestamp timestamp
- # Stack trace captured when the call was made.
+ # 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.
optional StackTrace stackTrace
# 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