devtools-protocol 0.0.1252439 → 0.0.1253004
Sign up to get free protection for your applications and to get access to all the features.
- package/json/browser_protocol.json +23 -1
- package/package.json +1 -1
- package/pdl/browser_protocol.pdl +24 -24
@@ -22722,7 +22722,6 @@
|
|
22722
22722
|
},
|
22723
22723
|
{
|
22724
22724
|
"domain": "Tracing",
|
22725
|
-
"experimental": true,
|
22726
22725
|
"dependencies": [
|
22727
22726
|
"IO"
|
22728
22727
|
],
|
@@ -22730,6 +22729,7 @@
|
|
22730
22729
|
{
|
22731
22730
|
"id": "MemoryDumpConfig",
|
22732
22731
|
"description": "Configuration for memory dump. Used only when \"memory-infra\" category is enabled.",
|
22732
|
+
"experimental": true,
|
22733
22733
|
"type": "object"
|
22734
22734
|
},
|
22735
22735
|
{
|
@@ -22739,6 +22739,7 @@
|
|
22739
22739
|
{
|
22740
22740
|
"name": "recordMode",
|
22741
22741
|
"description": "Controls how the trace buffer stores data.",
|
22742
|
+
"experimental": true,
|
22742
22743
|
"optional": true,
|
22743
22744
|
"type": "string",
|
22744
22745
|
"enum": [
|
@@ -22751,24 +22752,28 @@
|
|
22751
22752
|
{
|
22752
22753
|
"name": "traceBufferSizeInKb",
|
22753
22754
|
"description": "Size of the trace buffer in kilobytes. If not specified or zero is passed, a default value\nof 200 MB would be used.",
|
22755
|
+
"experimental": true,
|
22754
22756
|
"optional": true,
|
22755
22757
|
"type": "number"
|
22756
22758
|
},
|
22757
22759
|
{
|
22758
22760
|
"name": "enableSampling",
|
22759
22761
|
"description": "Turns on JavaScript stack sampling.",
|
22762
|
+
"experimental": true,
|
22760
22763
|
"optional": true,
|
22761
22764
|
"type": "boolean"
|
22762
22765
|
},
|
22763
22766
|
{
|
22764
22767
|
"name": "enableSystrace",
|
22765
22768
|
"description": "Turns on system tracing.",
|
22769
|
+
"experimental": true,
|
22766
22770
|
"optional": true,
|
22767
22771
|
"type": "boolean"
|
22768
22772
|
},
|
22769
22773
|
{
|
22770
22774
|
"name": "enableArgumentFilter",
|
22771
22775
|
"description": "Turns on argument filter.",
|
22776
|
+
"experimental": true,
|
22772
22777
|
"optional": true,
|
22773
22778
|
"type": "boolean"
|
22774
22779
|
},
|
@@ -22793,6 +22798,7 @@
|
|
22793
22798
|
{
|
22794
22799
|
"name": "syntheticDelays",
|
22795
22800
|
"description": "Configuration to synthesize the delays in tracing.",
|
22801
|
+
"experimental": true,
|
22796
22802
|
"optional": true,
|
22797
22803
|
"type": "array",
|
22798
22804
|
"items": {
|
@@ -22802,6 +22808,7 @@
|
|
22802
22808
|
{
|
22803
22809
|
"name": "memoryDumpConfig",
|
22804
22810
|
"description": "Configuration for memory dump triggers. Used only when \"memory-infra\" category is enabled.",
|
22811
|
+
"experimental": true,
|
22805
22812
|
"optional": true,
|
22806
22813
|
"$ref": "MemoryDumpConfig"
|
22807
22814
|
}
|
@@ -22810,6 +22817,7 @@
|
|
22810
22817
|
{
|
22811
22818
|
"id": "StreamFormat",
|
22812
22819
|
"description": "Data format of a trace. Can be either the legacy JSON format or the\nprotocol buffer format. Note that the JSON format will be deprecated soon.",
|
22820
|
+
"experimental": true,
|
22813
22821
|
"type": "string",
|
22814
22822
|
"enum": [
|
22815
22823
|
"json",
|
@@ -22819,6 +22827,7 @@
|
|
22819
22827
|
{
|
22820
22828
|
"id": "StreamCompression",
|
22821
22829
|
"description": "Compression type to use for traces returned via streams.",
|
22830
|
+
"experimental": true,
|
22822
22831
|
"type": "string",
|
22823
22832
|
"enum": [
|
22824
22833
|
"none",
|
@@ -22828,6 +22837,7 @@
|
|
22828
22837
|
{
|
22829
22838
|
"id": "MemoryDumpLevelOfDetail",
|
22830
22839
|
"description": "Details exposed when memory request explicitly declared.\nKeep consistent with memory_dump_request_args.h and\nmemory_instrumentation.mojom",
|
22840
|
+
"experimental": true,
|
22831
22841
|
"type": "string",
|
22832
22842
|
"enum": [
|
22833
22843
|
"background",
|
@@ -22838,6 +22848,7 @@
|
|
22838
22848
|
{
|
22839
22849
|
"id": "TracingBackend",
|
22840
22850
|
"description": "Backend type to use for tracing. `chrome` uses the Chrome-integrated\ntracing service and is supported on all platforms. `system` is only\nsupported on Chrome OS and uses the Perfetto system tracing service.\n`auto` chooses `system` when the perfettoConfig provided to Tracing.start\nspecifies at least one non-Chrome data source; otherwise uses `chrome`.",
|
22851
|
+
"experimental": true,
|
22841
22852
|
"type": "string",
|
22842
22853
|
"enum": [
|
22843
22854
|
"auto",
|
@@ -22854,6 +22865,7 @@
|
|
22854
22865
|
{
|
22855
22866
|
"name": "getCategories",
|
22856
22867
|
"description": "Gets supported tracing categories.",
|
22868
|
+
"experimental": true,
|
22857
22869
|
"returns": [
|
22858
22870
|
{
|
22859
22871
|
"name": "categories",
|
@@ -22868,6 +22880,7 @@
|
|
22868
22880
|
{
|
22869
22881
|
"name": "recordClockSyncMarker",
|
22870
22882
|
"description": "Record a clock sync marker in the trace.",
|
22883
|
+
"experimental": true,
|
22871
22884
|
"parameters": [
|
22872
22885
|
{
|
22873
22886
|
"name": "syncId",
|
@@ -22879,6 +22892,7 @@
|
|
22879
22892
|
{
|
22880
22893
|
"name": "requestMemoryDump",
|
22881
22894
|
"description": "Request a global memory dump.",
|
22895
|
+
"experimental": true,
|
22882
22896
|
"parameters": [
|
22883
22897
|
{
|
22884
22898
|
"name": "deterministic",
|
@@ -22913,6 +22927,7 @@
|
|
22913
22927
|
{
|
22914
22928
|
"name": "categories",
|
22915
22929
|
"description": "Category/tag filter",
|
22930
|
+
"experimental": true,
|
22916
22931
|
"deprecated": true,
|
22917
22932
|
"optional": true,
|
22918
22933
|
"type": "string"
|
@@ -22920,6 +22935,7 @@
|
|
22920
22935
|
{
|
22921
22936
|
"name": "options",
|
22922
22937
|
"description": "Tracing options",
|
22938
|
+
"experimental": true,
|
22923
22939
|
"deprecated": true,
|
22924
22940
|
"optional": true,
|
22925
22941
|
"type": "string"
|
@@ -22927,6 +22943,7 @@
|
|
22927
22943
|
{
|
22928
22944
|
"name": "bufferUsageReportingInterval",
|
22929
22945
|
"description": "If set, the agent will issue bufferUsage events at this interval, specified in milliseconds",
|
22946
|
+
"experimental": true,
|
22930
22947
|
"optional": true,
|
22931
22948
|
"type": "number"
|
22932
22949
|
},
|
@@ -22949,6 +22966,7 @@
|
|
22949
22966
|
{
|
22950
22967
|
"name": "streamCompression",
|
22951
22968
|
"description": "Compression format to use. This only applies when using `ReturnAsStream`\ntransfer mode (defaults to `none`)",
|
22969
|
+
"experimental": true,
|
22952
22970
|
"optional": true,
|
22953
22971
|
"$ref": "StreamCompression"
|
22954
22972
|
},
|
@@ -22960,12 +22978,14 @@
|
|
22960
22978
|
{
|
22961
22979
|
"name": "perfettoConfig",
|
22962
22980
|
"description": "Base64-encoded serialized perfetto.protos.TraceConfig protobuf message\nWhen specified, the parameters `categories`, `options`, `traceConfig`\nare ignored. (Encoded as a base64 string when passed over JSON)",
|
22981
|
+
"experimental": true,
|
22963
22982
|
"optional": true,
|
22964
22983
|
"type": "string"
|
22965
22984
|
},
|
22966
22985
|
{
|
22967
22986
|
"name": "tracingBackend",
|
22968
22987
|
"description": "Backend type (defaults to `auto`)",
|
22988
|
+
"experimental": true,
|
22969
22989
|
"optional": true,
|
22970
22990
|
"$ref": "TracingBackend"
|
22971
22991
|
}
|
@@ -22975,6 +22995,7 @@
|
|
22975
22995
|
"events": [
|
22976
22996
|
{
|
22977
22997
|
"name": "bufferUsage",
|
22998
|
+
"experimental": true,
|
22978
22999
|
"parameters": [
|
22979
23000
|
{
|
22980
23001
|
"name": "percentFull",
|
@@ -22999,6 +23020,7 @@
|
|
22999
23020
|
{
|
23000
23021
|
"name": "dataCollected",
|
23001
23022
|
"description": "Contains a bucket of collected trace events. When tracing is stopped collected events will be\nsent as a sequence of dataCollected events followed by tracingComplete event.",
|
23023
|
+
"experimental": true,
|
23002
23024
|
"parameters": [
|
23003
23025
|
{
|
23004
23026
|
"name": "value",
|
package/package.json
CHANGED
package/pdl/browser_protocol.pdl
CHANGED
@@ -10649,47 +10649,47 @@ experimental domain Tethering
|
|
10649
10649
|
# Connection id to be used.
|
10650
10650
|
string connectionId
|
10651
10651
|
|
10652
|
-
|
10652
|
+
domain Tracing
|
10653
10653
|
depends on IO
|
10654
10654
|
|
10655
10655
|
# Configuration for memory dump. Used only when "memory-infra" category is enabled.
|
10656
|
-
type MemoryDumpConfig extends object
|
10656
|
+
experimental type MemoryDumpConfig extends object
|
10657
10657
|
|
10658
10658
|
type TraceConfig extends object
|
10659
10659
|
properties
|
10660
10660
|
# Controls how the trace buffer stores data.
|
10661
|
-
optional enum recordMode
|
10661
|
+
experimental optional enum recordMode
|
10662
10662
|
recordUntilFull
|
10663
10663
|
recordContinuously
|
10664
10664
|
recordAsMuchAsPossible
|
10665
10665
|
echoToConsole
|
10666
10666
|
# Size of the trace buffer in kilobytes. If not specified or zero is passed, a default value
|
10667
10667
|
# of 200 MB would be used.
|
10668
|
-
optional number traceBufferSizeInKb
|
10668
|
+
experimental optional number traceBufferSizeInKb
|
10669
10669
|
# Turns on JavaScript stack sampling.
|
10670
|
-
optional boolean enableSampling
|
10670
|
+
experimental optional boolean enableSampling
|
10671
10671
|
# Turns on system tracing.
|
10672
|
-
optional boolean enableSystrace
|
10672
|
+
experimental optional boolean enableSystrace
|
10673
10673
|
# Turns on argument filter.
|
10674
|
-
optional boolean enableArgumentFilter
|
10674
|
+
experimental optional boolean enableArgumentFilter
|
10675
10675
|
# Included category filters.
|
10676
10676
|
optional array of string includedCategories
|
10677
10677
|
# Excluded category filters.
|
10678
10678
|
optional array of string excludedCategories
|
10679
10679
|
# Configuration to synthesize the delays in tracing.
|
10680
|
-
optional array of string syntheticDelays
|
10680
|
+
experimental optional array of string syntheticDelays
|
10681
10681
|
# Configuration for memory dump triggers. Used only when "memory-infra" category is enabled.
|
10682
|
-
optional MemoryDumpConfig memoryDumpConfig
|
10682
|
+
experimental optional MemoryDumpConfig memoryDumpConfig
|
10683
10683
|
|
10684
10684
|
# Data format of a trace. Can be either the legacy JSON format or the
|
10685
10685
|
# protocol buffer format. Note that the JSON format will be deprecated soon.
|
10686
|
-
type StreamFormat extends string
|
10686
|
+
experimental type StreamFormat extends string
|
10687
10687
|
enum
|
10688
10688
|
json
|
10689
10689
|
proto
|
10690
10690
|
|
10691
10691
|
# Compression type to use for traces returned via streams.
|
10692
|
-
type StreamCompression extends string
|
10692
|
+
experimental type StreamCompression extends string
|
10693
10693
|
enum
|
10694
10694
|
none
|
10695
10695
|
gzip
|
@@ -10697,7 +10697,7 @@ experimental domain Tracing
|
|
10697
10697
|
# Details exposed when memory request explicitly declared.
|
10698
10698
|
# Keep consistent with memory_dump_request_args.h and
|
10699
10699
|
# memory_instrumentation.mojom
|
10700
|
-
type MemoryDumpLevelOfDetail extends string
|
10700
|
+
experimental type MemoryDumpLevelOfDetail extends string
|
10701
10701
|
enum
|
10702
10702
|
background
|
10703
10703
|
light
|
@@ -10708,7 +10708,7 @@ experimental domain Tracing
|
|
10708
10708
|
# supported on Chrome OS and uses the Perfetto system tracing service.
|
10709
10709
|
# `auto` chooses `system` when the perfettoConfig provided to Tracing.start
|
10710
10710
|
# specifies at least one non-Chrome data source; otherwise uses `chrome`.
|
10711
|
-
type TracingBackend extends string
|
10711
|
+
experimental type TracingBackend extends string
|
10712
10712
|
enum
|
10713
10713
|
auto
|
10714
10714
|
chrome
|
@@ -10718,19 +10718,19 @@ experimental domain Tracing
|
|
10718
10718
|
command end
|
10719
10719
|
|
10720
10720
|
# Gets supported tracing categories.
|
10721
|
-
command getCategories
|
10721
|
+
experimental command getCategories
|
10722
10722
|
returns
|
10723
10723
|
# A list of supported tracing categories.
|
10724
10724
|
array of string categories
|
10725
10725
|
|
10726
10726
|
# Record a clock sync marker in the trace.
|
10727
|
-
command recordClockSyncMarker
|
10727
|
+
experimental command recordClockSyncMarker
|
10728
10728
|
parameters
|
10729
10729
|
# The ID of this clock sync marker
|
10730
10730
|
string syncId
|
10731
10731
|
|
10732
10732
|
# Request a global memory dump.
|
10733
|
-
command requestMemoryDump
|
10733
|
+
experimental command requestMemoryDump
|
10734
10734
|
parameters
|
10735
10735
|
# Enables more deterministic results by forcing garbage collection
|
10736
10736
|
optional boolean deterministic
|
@@ -10746,11 +10746,11 @@ experimental domain Tracing
|
|
10746
10746
|
command start
|
10747
10747
|
parameters
|
10748
10748
|
# Category/tag filter
|
10749
|
-
deprecated optional string categories
|
10749
|
+
experimental deprecated optional string categories
|
10750
10750
|
# Tracing options
|
10751
|
-
deprecated optional string options
|
10751
|
+
experimental deprecated optional string options
|
10752
10752
|
# If set, the agent will issue bufferUsage events at this interval, specified in milliseconds
|
10753
|
-
optional number bufferUsageReportingInterval
|
10753
|
+
experimental optional number bufferUsageReportingInterval
|
10754
10754
|
# Whether to report trace events as series of dataCollected events or to save trace to a
|
10755
10755
|
# stream (defaults to `ReportEvents`).
|
10756
10756
|
optional enum transferMode
|
@@ -10761,16 +10761,16 @@ experimental domain Tracing
|
|
10761
10761
|
optional StreamFormat streamFormat
|
10762
10762
|
# Compression format to use. This only applies when using `ReturnAsStream`
|
10763
10763
|
# transfer mode (defaults to `none`)
|
10764
|
-
optional StreamCompression streamCompression
|
10764
|
+
experimental optional StreamCompression streamCompression
|
10765
10765
|
optional TraceConfig traceConfig
|
10766
10766
|
# Base64-encoded serialized perfetto.protos.TraceConfig protobuf message
|
10767
10767
|
# When specified, the parameters `categories`, `options`, `traceConfig`
|
10768
10768
|
# are ignored.
|
10769
|
-
optional binary perfettoConfig
|
10769
|
+
experimental optional binary perfettoConfig
|
10770
10770
|
# Backend type (defaults to `auto`)
|
10771
|
-
optional TracingBackend tracingBackend
|
10771
|
+
experimental optional TracingBackend tracingBackend
|
10772
10772
|
|
10773
|
-
event bufferUsage
|
10773
|
+
experimental event bufferUsage
|
10774
10774
|
parameters
|
10775
10775
|
# A number in range [0..1] that indicates the used size of event buffer as a fraction of its
|
10776
10776
|
# total size.
|
@@ -10783,7 +10783,7 @@ experimental domain Tracing
|
|
10783
10783
|
|
10784
10784
|
# Contains a bucket of collected trace events. When tracing is stopped collected events will be
|
10785
10785
|
# sent as a sequence of dataCollected events followed by tracingComplete event.
|
10786
|
-
event dataCollected
|
10786
|
+
experimental event dataCollected
|
10787
10787
|
parameters
|
10788
10788
|
array of object value
|
10789
10789
|
|