devtools-protocol 0.0.1010518 → 0.0.1011700

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devtools-protocol",
3
- "version": "0.0.1010518",
3
+ "version": "0.0.1011700",
4
4
  "description": "The Chrome DevTools Protocol JSON",
5
5
  "repository": "https://github.com/ChromeDevTools/devtools-protocol",
6
6
  "author": "The Chromium Authors",
@@ -273,18 +273,35 @@ domain Debugger
273
273
  parameters
274
274
  BreakpointId breakpointId
275
275
 
276
- # Restarts particular call frame from the beginning.
277
- deprecated command restartFrame
276
+ # Restarts particular call frame from the beginning. The old, deprecated
277
+ # behavior of `restartFrame` is to stay paused and allow further CDP commands
278
+ # after a restart was scheduled. This can cause problems with restarting, so
279
+ # we now continue execution immediatly after it has been scheduled until we
280
+ # reach the beginning of the restarted frame.
281
+ #
282
+ # To stay back-wards compatible, `restartFrame` now expects a `mode`
283
+ # parameter to be present. If the `mode` parameter is missing, `restartFrame`
284
+ # errors out.
285
+ #
286
+ # The various return values are deprecated and `callFrames` is always empty.
287
+ # Use the call frames from the `Debugger#paused` events instead, that fires
288
+ # once V8 pauses at the beginning of the restarted function.
289
+ command restartFrame
278
290
  parameters
279
291
  # Call frame identifier to evaluate on.
280
292
  CallFrameId callFrameId
293
+ # The `mode` parameter must be present and set to 'StepInto', otherwise
294
+ # `restartFrame` will error out.
295
+ experimental optional enum mode
296
+ # Pause at the beginning of the restarted function
297
+ StepInto
281
298
  returns
282
299
  # New stack trace.
283
- array of CallFrame callFrames
300
+ deprecated array of CallFrame callFrames
284
301
  # Async stack trace, if any.
285
- optional Runtime.StackTrace asyncStackTrace
302
+ deprecated optional Runtime.StackTrace asyncStackTrace
286
303
  # Async stack trace, if any.
287
- experimental optional Runtime.StackTraceId asyncStackTraceId
304
+ deprecated optional Runtime.StackTraceId asyncStackTraceId
288
305
 
289
306
  # Resumes JavaScript execution.
290
307
  command resume
@@ -713,18 +730,24 @@ experimental domain HeapProfiler
713
730
  # If true 'reportHeapSnapshotProgress' events will be generated while snapshot is being taken
714
731
  # when the tracking is stopped.
715
732
  optional boolean reportProgress
716
- optional boolean treatGlobalObjectsAsRoots
733
+ # Deprecated in favor of `exposeInternals`.
734
+ deprecated optional boolean treatGlobalObjectsAsRoots
717
735
  # If true, numerical values are included in the snapshot
718
736
  optional boolean captureNumericValue
737
+ # If true, exposes internals of the snapshot.
738
+ experimental optional boolean exposeInternals
719
739
 
720
740
  command takeHeapSnapshot
721
741
  parameters
722
742
  # If true 'reportHeapSnapshotProgress' events will be generated while snapshot is being taken.
723
743
  optional boolean reportProgress
724
- # If true, a raw snapshot without artificial roots will be generated
725
- optional boolean treatGlobalObjectsAsRoots
744
+ # If true, a raw snapshot without artificial roots will be generated.
745
+ # Deprecated in favor of `exposeInternals`.
746
+ deprecated optional boolean treatGlobalObjectsAsRoots
726
747
  # If true, numerical values are included in the snapshot
727
748
  optional boolean captureNumericValue
749
+ # If true, exposes internals of the snapshot.
750
+ experimental optional boolean exposeInternals
728
751
 
729
752
  event addHeapSnapshotChunk
730
753
  parameters