devtools-protocol 0.0.1048352 → 0.0.1049481
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/json/browser_protocol.json +3 -2
- package/json/js_protocol.json +12 -0
- package/package.json +1 -1
- package/pdl/browser_protocol.pdl +2 -1
- package/pdl/js_protocol.pdl +16 -0
- package/types/protocol.d.ts +21 -1
@@ -16327,13 +16327,14 @@
|
|
16327
16327
|
"AudioOutputDeviceRequested",
|
16328
16328
|
"MixedContent",
|
16329
16329
|
"TriggerBackgrounded",
|
16330
|
-
"EmbedderTriggeredAndSameOriginRedirected",
|
16331
16330
|
"EmbedderTriggeredAndCrossOriginRedirected",
|
16332
16331
|
"MemoryLimitExceeded",
|
16333
16332
|
"FailToGetMemoryUsage",
|
16334
16333
|
"DataSaverEnabled",
|
16335
16334
|
"HasEffectiveUrl",
|
16336
|
-
"ActivatedBeforeStarted"
|
16335
|
+
"ActivatedBeforeStarted",
|
16336
|
+
"InactivePageRestriction",
|
16337
|
+
"StartFailed"
|
16337
16338
|
]
|
16338
16339
|
}
|
16339
16340
|
],
|
package/json/js_protocol.json
CHANGED
@@ -1630,6 +1630,18 @@
|
|
1630
1630
|
"description": "Average sample interval in bytes. Poisson distribution is used for the intervals. The\ndefault value is 32768 bytes.",
|
1631
1631
|
"optional": true,
|
1632
1632
|
"type": "number"
|
1633
|
+
},
|
1634
|
+
{
|
1635
|
+
"name": "includeObjectsCollectedByMajorGC",
|
1636
|
+
"description": "By default, the sampling heap profiler reports only objects which are\nstill alive when the profile is returned via getSamplingProfile or\nstopSampling, which is useful for determining what functions contribute\nthe most to steady-state memory usage. This flag instructs the sampling\nheap profiler to also include information about objects discarded by\nmajor GC, which will show which functions cause large temporary memory\nusage or long GC pauses.",
|
1637
|
+
"optional": true,
|
1638
|
+
"type": "boolean"
|
1639
|
+
},
|
1640
|
+
{
|
1641
|
+
"name": "includeObjectsCollectedByMinorGC",
|
1642
|
+
"description": "By default, the sampling heap profiler reports only objects which are\nstill alive when the profile is returned via getSamplingProfile or\nstopSampling, which is useful for determining what functions contribute\nthe most to steady-state memory usage. This flag instructs the sampling\nheap profiler to also include information about objects discarded by\nminor GC, which is useful when tuning a latency-sensitive application\nfor minimal GC activity.",
|
1643
|
+
"optional": true,
|
1644
|
+
"type": "boolean"
|
1633
1645
|
}
|
1634
1646
|
]
|
1635
1647
|
},
|
package/package.json
CHANGED
package/pdl/browser_protocol.pdl
CHANGED
@@ -8458,7 +8458,6 @@ domain Page
|
|
8458
8458
|
AudioOutputDeviceRequested
|
8459
8459
|
MixedContent
|
8460
8460
|
TriggerBackgrounded
|
8461
|
-
EmbedderTriggeredAndSameOriginRedirected
|
8462
8461
|
EmbedderTriggeredAndCrossOriginRedirected
|
8463
8462
|
MemoryLimitExceeded
|
8464
8463
|
# Prerenders can be cancelled when Chrome uses excessive memory. This is
|
@@ -8467,6 +8466,8 @@ domain Page
|
|
8467
8466
|
DataSaverEnabled
|
8468
8467
|
HasEffectiveUrl
|
8469
8468
|
ActivatedBeforeStarted
|
8469
|
+
InactivePageRestriction
|
8470
|
+
StartFailed
|
8470
8471
|
|
8471
8472
|
# Fired when a prerender attempt is completed.
|
8472
8473
|
experimental event prerenderAttemptCompleted
|
package/pdl/js_protocol.pdl
CHANGED
@@ -766,6 +766,22 @@ experimental domain HeapProfiler
|
|
766
766
|
# Average sample interval in bytes. Poisson distribution is used for the intervals. The
|
767
767
|
# default value is 32768 bytes.
|
768
768
|
optional number samplingInterval
|
769
|
+
# By default, the sampling heap profiler reports only objects which are
|
770
|
+
# still alive when the profile is returned via getSamplingProfile or
|
771
|
+
# stopSampling, which is useful for determining what functions contribute
|
772
|
+
# the most to steady-state memory usage. This flag instructs the sampling
|
773
|
+
# heap profiler to also include information about objects discarded by
|
774
|
+
# major GC, which will show which functions cause large temporary memory
|
775
|
+
# usage or long GC pauses.
|
776
|
+
optional boolean includeObjectsCollectedByMajorGC
|
777
|
+
# By default, the sampling heap profiler reports only objects which are
|
778
|
+
# still alive when the profile is returned via getSamplingProfile or
|
779
|
+
# stopSampling, which is useful for determining what functions contribute
|
780
|
+
# the most to steady-state memory usage. This flag instructs the sampling
|
781
|
+
# heap profiler to also include information about objects discarded by
|
782
|
+
# minor GC, which is useful when tuning a latency-sensitive application
|
783
|
+
# for minimal GC activity.
|
784
|
+
optional boolean includeObjectsCollectedByMinorGC
|
769
785
|
|
770
786
|
command startTrackingHeapObjects
|
771
787
|
parameters
|
package/types/protocol.d.ts
CHANGED
@@ -1135,6 +1135,26 @@ export namespace Protocol {
|
|
1135
1135
|
* default value is 32768 bytes.
|
1136
1136
|
*/
|
1137
1137
|
samplingInterval?: number;
|
1138
|
+
/**
|
1139
|
+
* By default, the sampling heap profiler reports only objects which are
|
1140
|
+
* still alive when the profile is returned via getSamplingProfile or
|
1141
|
+
* stopSampling, which is useful for determining what functions contribute
|
1142
|
+
* the most to steady-state memory usage. This flag instructs the sampling
|
1143
|
+
* heap profiler to also include information about objects discarded by
|
1144
|
+
* major GC, which will show which functions cause large temporary memory
|
1145
|
+
* usage or long GC pauses.
|
1146
|
+
*/
|
1147
|
+
includeObjectsCollectedByMajorGC?: boolean;
|
1148
|
+
/**
|
1149
|
+
* By default, the sampling heap profiler reports only objects which are
|
1150
|
+
* still alive when the profile is returned via getSamplingProfile or
|
1151
|
+
* stopSampling, which is useful for determining what functions contribute
|
1152
|
+
* the most to steady-state memory usage. This flag instructs the sampling
|
1153
|
+
* heap profiler to also include information about objects discarded by
|
1154
|
+
* minor GC, which is useful when tuning a latency-sensitive application
|
1155
|
+
* for minimal GC activity.
|
1156
|
+
*/
|
1157
|
+
includeObjectsCollectedByMinorGC?: boolean;
|
1138
1158
|
}
|
1139
1159
|
|
1140
1160
|
export interface StartTrackingHeapObjectsRequest {
|
@@ -12854,7 +12874,7 @@ export namespace Protocol {
|
|
12854
12874
|
/**
|
12855
12875
|
* List of FinalStatus reasons for Prerender2.
|
12856
12876
|
*/
|
12857
|
-
export type PrerenderFinalStatus = ('Activated' | 'Destroyed' | 'LowEndDevice' | 'CrossOriginRedirect' | 'CrossOriginNavigation' | 'InvalidSchemeRedirect' | 'InvalidSchemeNavigation' | 'InProgressNavigation' | 'NavigationRequestBlockedByCsp' | 'MainFrameNavigation' | 'MojoBinderPolicy' | 'RendererProcessCrashed' | 'RendererProcessKilled' | 'Download' | 'TriggerDestroyed' | 'NavigationNotCommitted' | 'NavigationBadHttpStatus' | 'ClientCertRequested' | 'NavigationRequestNetworkError' | 'MaxNumOfRunningPrerendersExceeded' | 'CancelAllHostsForTesting' | 'DidFailLoad' | 'Stop' | 'SslCertificateError' | 'LoginAuthRequested' | 'UaChangeRequiresReload' | 'BlockedByClient' | 'AudioOutputDeviceRequested' | 'MixedContent' | 'TriggerBackgrounded' | '
|
12877
|
+
export type PrerenderFinalStatus = ('Activated' | 'Destroyed' | 'LowEndDevice' | 'CrossOriginRedirect' | 'CrossOriginNavigation' | 'InvalidSchemeRedirect' | 'InvalidSchemeNavigation' | 'InProgressNavigation' | 'NavigationRequestBlockedByCsp' | 'MainFrameNavigation' | 'MojoBinderPolicy' | 'RendererProcessCrashed' | 'RendererProcessKilled' | 'Download' | 'TriggerDestroyed' | 'NavigationNotCommitted' | 'NavigationBadHttpStatus' | 'ClientCertRequested' | 'NavigationRequestNetworkError' | 'MaxNumOfRunningPrerendersExceeded' | 'CancelAllHostsForTesting' | 'DidFailLoad' | 'Stop' | 'SslCertificateError' | 'LoginAuthRequested' | 'UaChangeRequiresReload' | 'BlockedByClient' | 'AudioOutputDeviceRequested' | 'MixedContent' | 'TriggerBackgrounded' | 'EmbedderTriggeredAndCrossOriginRedirected' | 'MemoryLimitExceeded' | 'FailToGetMemoryUsage' | 'DataSaverEnabled' | 'HasEffectiveUrl' | 'ActivatedBeforeStarted' | 'InactivePageRestriction' | 'StartFailed');
|
12858
12878
|
|
12859
12879
|
export interface AddScriptToEvaluateOnLoadRequest {
|
12860
12880
|
scriptSource: string;
|