devtools-protocol 0.0.1010249 → 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 +1 -1
- package/pdl/browser_protocol.pdl +13 -0
- package/pdl/js_protocol.pdl +31 -8
package/package.json
CHANGED
package/pdl/browser_protocol.pdl
CHANGED
@@ -6955,6 +6955,16 @@ domain Page
|
|
6955
6955
|
AdFrameType adFrameType
|
6956
6956
|
optional array of AdFrameExplanation explanations
|
6957
6957
|
|
6958
|
+
# Identifies the bottom-most script which caused the frame to be labelled
|
6959
|
+
# as an ad.
|
6960
|
+
experimental type AdScriptId extends object
|
6961
|
+
properties
|
6962
|
+
# Script Id of the bottom-most script which caused the frame to be labelled
|
6963
|
+
# as an ad.
|
6964
|
+
Runtime.ScriptId scriptId
|
6965
|
+
# Id of adScriptId's debugger.
|
6966
|
+
Runtime.UniqueDebuggerId debuggerId
|
6967
|
+
|
6958
6968
|
# Indicates whether the frame is a secure context and why it is the case.
|
6959
6969
|
experimental type SecureContextType extends string
|
6960
6970
|
enum
|
@@ -7988,6 +7998,9 @@ domain Page
|
|
7988
7998
|
FrameId parentFrameId
|
7989
7999
|
# JavaScript stack trace of when frame was attached, only set if frame initiated from script.
|
7990
8000
|
optional Runtime.StackTrace stack
|
8001
|
+
# Identifies the bottom-most script which caused the frame to be labelled
|
8002
|
+
# as an ad. Only sent if frame is labelled as an ad and id is available.
|
8003
|
+
experimental optional AdScriptId adScriptId
|
7991
8004
|
|
7992
8005
|
# Fired when frame no longer has a scheduled navigation.
|
7993
8006
|
deprecated event frameClearedScheduledNavigation
|
package/pdl/js_protocol.pdl
CHANGED
@@ -273,18 +273,35 @@ domain Debugger
|
|
273
273
|
parameters
|
274
274
|
BreakpointId breakpointId
|
275
275
|
|
276
|
-
# Restarts particular call frame from the beginning.
|
277
|
-
|
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
|
-
|
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
|
-
|
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
|
-
|
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
|