devtools-protocol 0.0.1048352 → 0.0.1048947

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.
@@ -16327,7 +16327,6 @@
16327
16327
  "AudioOutputDeviceRequested",
16328
16328
  "MixedContent",
16329
16329
  "TriggerBackgrounded",
16330
- "EmbedderTriggeredAndSameOriginRedirected",
16331
16330
  "EmbedderTriggeredAndCrossOriginRedirected",
16332
16331
  "MemoryLimitExceeded",
16333
16332
  "FailToGetMemoryUsage",
@@ -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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devtools-protocol",
3
- "version": "0.0.1048352",
3
+ "version": "0.0.1048947",
4
4
  "description": "The Chrome DevTools Protocol JSON",
5
5
  "repository": "https://github.com/ChromeDevTools/devtools-protocol",
6
6
  "author": "The Chromium Authors",
@@ -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
@@ -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
@@ -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' | 'EmbedderTriggeredAndSameOriginRedirected' | 'EmbedderTriggeredAndCrossOriginRedirected' | 'MemoryLimitExceeded' | 'FailToGetMemoryUsage' | 'DataSaverEnabled' | 'HasEffectiveUrl' | 'ActivatedBeforeStarted');
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');
12858
12878
 
12859
12879
  export interface AddScriptToEvaluateOnLoadRequest {
12860
12880
  scriptSource: string;