devtools-protocol 0.0.1047822 → 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.
@@ -1577,7 +1577,6 @@
1577
1577
  "HostCandidateAttributeGetter",
1578
1578
  "IdentityInCanMakePaymentEvent",
1579
1579
  "InsecurePrivateNetworkSubresourceRequest",
1580
- "LegacyConstraintGoogIPv6",
1581
1580
  "LocalCSSFileExtensionRejected",
1582
1581
  "MediaSourceAbortRemove",
1583
1582
  "MediaSourceDurationTruncatingBuffered",
@@ -16328,7 +16327,6 @@
16328
16327
  "AudioOutputDeviceRequested",
16329
16328
  "MixedContent",
16330
16329
  "TriggerBackgrounded",
16331
- "EmbedderTriggeredAndSameOriginRedirected",
16332
16330
  "EmbedderTriggeredAndCrossOriginRedirected",
16333
16331
  "MemoryLimitExceeded",
16334
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.1047822",
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",
@@ -772,7 +772,6 @@ experimental domain Audits
772
772
  HostCandidateAttributeGetter
773
773
  IdentityInCanMakePaymentEvent
774
774
  InsecurePrivateNetworkSubresourceRequest
775
- LegacyConstraintGoogIPv6
776
775
  LocalCSSFileExtensionRejected
777
776
  MediaSourceAbortRemove
778
777
  MediaSourceDurationTruncatingBuffered
@@ -8459,7 +8458,6 @@ domain Page
8459
8458
  AudioOutputDeviceRequested
8460
8459
  MixedContent
8461
8460
  TriggerBackgrounded
8462
- EmbedderTriggeredAndSameOriginRedirected
8463
8461
  EmbedderTriggeredAndCrossOriginRedirected
8464
8462
  MemoryLimitExceeded
8465
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 {
@@ -3470,7 +3490,7 @@ export namespace Protocol {
3470
3490
  frameId?: Page.FrameId;
3471
3491
  }
3472
3492
 
3473
- export type DeprecationIssueType = ('AuthorizationCoveredByWildcard' | 'CanRequestURLHTTPContainingNewline' | 'ChromeLoadTimesConnectionInfo' | 'ChromeLoadTimesFirstPaintAfterLoadTime' | 'ChromeLoadTimesWasAlternateProtocolAvailable' | 'CookieWithTruncatingChar' | 'CrossOriginAccessBasedOnDocumentDomain' | 'CrossOriginWindowAlert' | 'CrossOriginWindowConfirm' | 'CSSSelectorInternalMediaControlsOverlayCastButton' | 'DeprecationExample' | 'DocumentDomainSettingWithoutOriginAgentClusterHeader' | 'EventPath' | 'ExpectCTHeader' | 'GeolocationInsecureOrigin' | 'GeolocationInsecureOriginDeprecatedNotRemoved' | 'GetUserMediaInsecureOrigin' | 'HostCandidateAttributeGetter' | 'IdentityInCanMakePaymentEvent' | 'InsecurePrivateNetworkSubresourceRequest' | 'LegacyConstraintGoogIPv6' | 'LocalCSSFileExtensionRejected' | 'MediaSourceAbortRemove' | 'MediaSourceDurationTruncatingBuffered' | 'NavigateEventRestoreScroll' | 'NavigateEventTransitionWhile' | 'NoSysexWebMIDIWithoutPermission' | 'NotificationInsecureOrigin' | 'NotificationPermissionRequestedIframe' | 'ObsoleteWebRtcCipherSuite' | 'OpenWebDatabaseInsecureContext' | 'OverflowVisibleOnReplacedElement' | 'PersistentQuotaType' | 'PictureSourceSrc' | 'PrefixedCancelAnimationFrame' | 'PrefixedRequestAnimationFrame' | 'PrefixedStorageInfo' | 'PrefixedVideoDisplayingFullscreen' | 'PrefixedVideoEnterFullscreen' | 'PrefixedVideoEnterFullScreen' | 'PrefixedVideoExitFullscreen' | 'PrefixedVideoExitFullScreen' | 'PrefixedVideoSupportsFullscreen' | 'RangeExpand' | 'RequestedSubresourceWithEmbeddedCredentials' | 'RTCConstraintEnableDtlsSrtpFalse' | 'RTCConstraintEnableDtlsSrtpTrue' | 'RTCPeerConnectionComplexPlanBSdpUsingDefaultSdpSemantics' | 'RTCPeerConnectionSdpSemanticsPlanB' | 'RtcpMuxPolicyNegotiate' | 'SharedArrayBufferConstructedWithoutIsolation' | 'TextToSpeech_DisallowedByAutoplay' | 'V8SharedArrayBufferConstructedInExtensionWithoutIsolation' | 'XHRJSONEncodingDetection' | 'XMLHttpRequestSynchronousInNonWorkerOutsideBeforeUnload' | 'XRSupportsSession');
3493
+ export type DeprecationIssueType = ('AuthorizationCoveredByWildcard' | 'CanRequestURLHTTPContainingNewline' | 'ChromeLoadTimesConnectionInfo' | 'ChromeLoadTimesFirstPaintAfterLoadTime' | 'ChromeLoadTimesWasAlternateProtocolAvailable' | 'CookieWithTruncatingChar' | 'CrossOriginAccessBasedOnDocumentDomain' | 'CrossOriginWindowAlert' | 'CrossOriginWindowConfirm' | 'CSSSelectorInternalMediaControlsOverlayCastButton' | 'DeprecationExample' | 'DocumentDomainSettingWithoutOriginAgentClusterHeader' | 'EventPath' | 'ExpectCTHeader' | 'GeolocationInsecureOrigin' | 'GeolocationInsecureOriginDeprecatedNotRemoved' | 'GetUserMediaInsecureOrigin' | 'HostCandidateAttributeGetter' | 'IdentityInCanMakePaymentEvent' | 'InsecurePrivateNetworkSubresourceRequest' | 'LocalCSSFileExtensionRejected' | 'MediaSourceAbortRemove' | 'MediaSourceDurationTruncatingBuffered' | 'NavigateEventRestoreScroll' | 'NavigateEventTransitionWhile' | 'NoSysexWebMIDIWithoutPermission' | 'NotificationInsecureOrigin' | 'NotificationPermissionRequestedIframe' | 'ObsoleteWebRtcCipherSuite' | 'OpenWebDatabaseInsecureContext' | 'OverflowVisibleOnReplacedElement' | 'PersistentQuotaType' | 'PictureSourceSrc' | 'PrefixedCancelAnimationFrame' | 'PrefixedRequestAnimationFrame' | 'PrefixedStorageInfo' | 'PrefixedVideoDisplayingFullscreen' | 'PrefixedVideoEnterFullscreen' | 'PrefixedVideoEnterFullScreen' | 'PrefixedVideoExitFullscreen' | 'PrefixedVideoExitFullScreen' | 'PrefixedVideoSupportsFullscreen' | 'RangeExpand' | 'RequestedSubresourceWithEmbeddedCredentials' | 'RTCConstraintEnableDtlsSrtpFalse' | 'RTCConstraintEnableDtlsSrtpTrue' | 'RTCPeerConnectionComplexPlanBSdpUsingDefaultSdpSemantics' | 'RTCPeerConnectionSdpSemanticsPlanB' | 'RtcpMuxPolicyNegotiate' | 'SharedArrayBufferConstructedWithoutIsolation' | 'TextToSpeech_DisallowedByAutoplay' | 'V8SharedArrayBufferConstructedInExtensionWithoutIsolation' | 'XHRJSONEncodingDetection' | 'XMLHttpRequestSynchronousInNonWorkerOutsideBeforeUnload' | 'XRSupportsSession');
3474
3494
 
3475
3495
  /**
3476
3496
  * This issue tracks information needed to print a deprecation message.
@@ -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;