devtools-protocol 0.0.996622 → 0.0.998277

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.
@@ -1550,7 +1550,6 @@
1550
1550
  "type": "string",
1551
1551
  "enum": [
1552
1552
  "AuthorizationCoveredByWildcard",
1553
- "BatteryStatusInsecureOrigin",
1554
1553
  "CanRequestURLHTTPContainingNewline",
1555
1554
  "ChromeLoadTimesConnectionInfo",
1556
1555
  "ChromeLoadTimesFirstPaintAfterLoadTime",
@@ -1605,7 +1604,6 @@
1605
1604
  "SelectionAddRangeIntersect",
1606
1605
  "SharedArrayBufferConstructedWithoutIsolation",
1607
1606
  "TextToSpeech_DisallowedByAutoplay",
1608
- "Untranslated",
1609
1607
  "V8SharedArrayBufferConstructedInExtensionWithoutIsolation",
1610
1608
  "WebCodecsVideoFrameDefaultTimestamp",
1611
1609
  "XHRJSONEncodingDetection",
@@ -1615,7 +1613,7 @@
1615
1613
  },
1616
1614
  {
1617
1615
  "id": "DeprecationIssueDetails",
1618
- "description": "This issue tracks information needed to print a deprecation message.\nThe formatting is inherited from the old console.log version, see more at:\nhttps://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/renderer/core/frame/deprecation.cc\nTODO(crbug.com/1264960): Re-work format to add i18n support per:\nhttps://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/public/devtools_protocol/README.md",
1616
+ "description": "This issue tracks information needed to print a deprecation message.\nhttps://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/renderer/core/frame/third_party/blink/renderer/core/frame/deprecation/README.md",
1619
1617
  "type": "object",
1620
1618
  "properties": [
1621
1619
  {
@@ -1627,20 +1625,6 @@
1627
1625
  "name": "sourceCodeLocation",
1628
1626
  "$ref": "SourceCodeLocation"
1629
1627
  },
1630
- {
1631
- "name": "message",
1632
- "description": "The content of an untranslated deprecation issue,\ne.g. \"window.inefficientLegacyStorageMethod will be removed in M97,\naround January 2022. Please use Web Storage or Indexed Database\ninstead. This standard was abandoned in January, 1970. See\nhttps://www.chromestatus.com/feature/5684870116278272 for more details.\"",
1633
- "deprecated": true,
1634
- "optional": true,
1635
- "type": "string"
1636
- },
1637
- {
1638
- "name": "deprecationType",
1639
- "description": "The id of an untranslated deprecation issue e.g. PrefixedStorageInfo.",
1640
- "deprecated": true,
1641
- "optional": true,
1642
- "type": "string"
1643
- },
1644
1628
  {
1645
1629
  "name": "type",
1646
1630
  "$ref": "DeprecationIssueType"
@@ -8403,7 +8387,7 @@
8403
8387
  "commands": [
8404
8388
  {
8405
8389
  "name": "beginFrame",
8406
- "description": "Sends a BeginFrame to the target and returns when the frame was completed. Optionally captures a\nscreenshot from the resulting frame. Requires that the target was created with enabled\nBeginFrameControl. Designed for use with --run-all-compositor-stages-before-draw, see also\nhttps://goo.gl/3zHXhB for more background.",
8390
+ "description": "Sends a BeginFrame to the target and returns when the frame was completed. Optionally captures a\nscreenshot from the resulting frame. Requires that the target was created with enabled\nBeginFrameControl. Designed for use with --run-all-compositor-stages-before-draw, see also\nhttps://goo.gle/chrome-headless-rendering for more background.",
8407
8391
  "parameters": [
8408
8392
  {
8409
8393
  "name": "frameTimeTicks",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devtools-protocol",
3
- "version": "0.0.996622",
3
+ "version": "0.0.998277",
4
4
  "description": "The Chrome DevTools Protocol JSON",
5
5
  "repository": "https://github.com/ChromeDevTools/devtools-protocol",
6
6
  "author": "The Chromium Authors",
@@ -2,7 +2,7 @@
2
2
  # Use of this source code is governed by a BSD-style license that can be
3
3
  # found in the LICENSE file.
4
4
  #
5
- # Contributing to Chrome DevTools Protocol: https://docs.google.com/document/d/1c-COD2kaK__5iMM5SEx-PzNA7HFmgttcYfOHHX0HaOM/edit?usp=sharing
5
+ # Contributing to Chrome DevTools Protocol: https://goo.gle/devtools-contribution-guide-cdp
6
6
 
7
7
  version
8
8
  major 1
@@ -744,7 +744,6 @@ experimental domain Audits
744
744
  type DeprecationIssueType extends string
745
745
  enum
746
746
  AuthorizationCoveredByWildcard
747
- BatteryStatusInsecureOrigin
748
747
  CanRequestURLHTTPContainingNewline
749
748
  ChromeLoadTimesConnectionInfo
750
749
  ChromeLoadTimesFirstPaintAfterLoadTime
@@ -799,7 +798,6 @@ experimental domain Audits
799
798
  SelectionAddRangeIntersect
800
799
  SharedArrayBufferConstructedWithoutIsolation
801
800
  TextToSpeech_DisallowedByAutoplay
802
- Untranslated
803
801
  V8SharedArrayBufferConstructedInExtensionWithoutIsolation
804
802
  WebCodecsVideoFrameDefaultTimestamp
805
803
  XHRJSONEncodingDetection
@@ -807,22 +805,11 @@ experimental domain Audits
807
805
  XRSupportsSession
808
806
 
809
807
  # This issue tracks information needed to print a deprecation message.
810
- # The formatting is inherited from the old console.log version, see more at:
811
- # https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/renderer/core/frame/deprecation.cc
812
- # TODO(crbug.com/1264960): Re-work format to add i18n support per:
813
- # https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/public/devtools_protocol/README.md
808
+ # https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/renderer/core/frame/third_party/blink/renderer/core/frame/deprecation/README.md
814
809
  type DeprecationIssueDetails extends object
815
810
  properties
816
811
  optional AffectedFrame affectedFrame
817
812
  SourceCodeLocation sourceCodeLocation
818
- # The content of an untranslated deprecation issue,
819
- # e.g. "window.inefficientLegacyStorageMethod will be removed in M97,
820
- # around January 2022. Please use Web Storage or Indexed Database
821
- # instead. This standard was abandoned in January, 1970. See
822
- # https://www.chromestatus.com/feature/5684870116278272 for more details."
823
- deprecated optional string message
824
- # The id of an untranslated deprecation issue e.g. PrefixedStorageInfo.
825
- deprecated optional string deprecationType
826
813
  DeprecationIssueType type
827
814
 
828
815
  type ClientHintIssueReason extends string
@@ -3863,7 +3850,7 @@ experimental domain HeadlessExperimental
3863
3850
  # Sends a BeginFrame to the target and returns when the frame was completed. Optionally captures a
3864
3851
  # screenshot from the resulting frame. Requires that the target was created with enabled
3865
3852
  # BeginFrameControl. Designed for use with --run-all-compositor-stages-before-draw, see also
3866
- # https://goo.gl/3zHXhB for more background.
3853
+ # https://goo.gle/chrome-headless-rendering for more background.
3867
3854
  command beginFrame
3868
3855
  parameters
3869
3856
  # Timestamp of this BeginFrame in Renderer TimeTicks (milliseconds of uptime). If not set,
@@ -2583,7 +2583,7 @@ export namespace ProtocolMapping {
2583
2583
  * Sends a BeginFrame to the target and returns when the frame was completed. Optionally captures a
2584
2584
  * screenshot from the resulting frame. Requires that the target was created with enabled
2585
2585
  * BeginFrameControl. Designed for use with --run-all-compositor-stages-before-draw, see also
2586
- * https://goo.gl/3zHXhB for more background.
2586
+ * https://goo.gle/chrome-headless-rendering for more background.
2587
2587
  */
2588
2588
  'HeadlessExperimental.beginFrame': {
2589
2589
  paramsType: [Protocol.HeadlessExperimental.BeginFrameRequest?];
@@ -1804,7 +1804,7 @@ export namespace ProtocolProxyApi {
1804
1804
  * Sends a BeginFrame to the target and returns when the frame was completed. Optionally captures a
1805
1805
  * screenshot from the resulting frame. Requires that the target was created with enabled
1806
1806
  * BeginFrameControl. Designed for use with --run-all-compositor-stages-before-draw, see also
1807
- * https://goo.gl/3zHXhB for more background.
1807
+ * https://goo.gle/chrome-headless-rendering for more background.
1808
1808
  */
1809
1809
  beginFrame(params: Protocol.HeadlessExperimental.BeginFrameRequest): Promise<Protocol.HeadlessExperimental.BeginFrameResponse>;
1810
1810
 
@@ -3376,30 +3376,15 @@ export namespace Protocol {
3376
3376
  frameId?: Page.FrameId;
3377
3377
  }
3378
3378
 
3379
- export type DeprecationIssueType = ('AuthorizationCoveredByWildcard' | 'BatteryStatusInsecureOrigin' | 'CanRequestURLHTTPContainingNewline' | 'ChromeLoadTimesConnectionInfo' | 'ChromeLoadTimesFirstPaintAfterLoadTime' | 'ChromeLoadTimesWasAlternateProtocolAvailable' | 'CookieWithTruncatingChar' | 'CrossOriginAccessBasedOnDocumentDomain' | 'CrossOriginWindowAlert' | 'CrossOriginWindowConfirm' | 'CSSSelectorInternalMediaControlsOverlayCastButton' | 'CustomCursorIntersectsViewport' | 'DeprecationExample' | 'DocumentDomainSettingWithoutOriginAgentClusterHeader' | 'EventPath' | 'GeolocationInsecureOrigin' | 'GeolocationInsecureOriginDeprecatedNotRemoved' | 'GetUserMediaInsecureOrigin' | 'HostCandidateAttributeGetter' | 'InsecurePrivateNetworkSubresourceRequest' | 'LegacyConstraintGoogCpuOveruseDetection' | 'LegacyConstraintGoogIPv6' | 'LegacyConstraintGoogScreencastMinBitrate' | 'LegacyConstraintGoogSuspendBelowMinBitrate' | 'LocalCSSFileExtensionRejected' | 'MediaElementAudioSourceNode' | 'MediaSourceAbortRemove' | 'MediaSourceDurationTruncatingBuffered' | 'NoSysexWebMIDIWithoutPermission' | 'NotificationInsecureOrigin' | 'NotificationPermissionRequestedIframe' | 'ObsoleteWebRtcCipherSuite' | 'PaymentRequestBasicCard' | 'PaymentRequestShowWithoutGesture' | 'PictureSourceSrc' | 'PrefixedCancelAnimationFrame' | 'PrefixedRequestAnimationFrame' | 'PrefixedStorageInfo' | 'PrefixedVideoDisplayingFullscreen' | 'PrefixedVideoEnterFullscreen' | 'PrefixedVideoEnterFullScreen' | 'PrefixedVideoExitFullscreen' | 'PrefixedVideoExitFullScreen' | 'PrefixedVideoSupportsFullscreen' | 'RangeExpand' | 'RequestedSubresourceWithEmbeddedCredentials' | 'RTCConstraintEnableDtlsSrtpFalse' | 'RTCConstraintEnableDtlsSrtpTrue' | 'RTCPeerConnectionComplexPlanBSdpUsingDefaultSdpSemantics' | 'RTCPeerConnectionLegacyCreateWithMediaConstraints' | 'RTCPeerConnectionSdpSemanticsPlanB' | 'RtcpMuxPolicyNegotiate' | 'RTPDataChannel' | 'SelectionAddRangeIntersect' | 'SharedArrayBufferConstructedWithoutIsolation' | 'TextToSpeech_DisallowedByAutoplay' | 'Untranslated' | 'V8SharedArrayBufferConstructedInExtensionWithoutIsolation' | 'WebCodecsVideoFrameDefaultTimestamp' | 'XHRJSONEncodingDetection' | 'XMLHttpRequestSynchronousInNonWorkerOutsideBeforeUnload' | 'XRSupportsSession');
3379
+ export type DeprecationIssueType = ('AuthorizationCoveredByWildcard' | 'CanRequestURLHTTPContainingNewline' | 'ChromeLoadTimesConnectionInfo' | 'ChromeLoadTimesFirstPaintAfterLoadTime' | 'ChromeLoadTimesWasAlternateProtocolAvailable' | 'CookieWithTruncatingChar' | 'CrossOriginAccessBasedOnDocumentDomain' | 'CrossOriginWindowAlert' | 'CrossOriginWindowConfirm' | 'CSSSelectorInternalMediaControlsOverlayCastButton' | 'CustomCursorIntersectsViewport' | 'DeprecationExample' | 'DocumentDomainSettingWithoutOriginAgentClusterHeader' | 'EventPath' | 'GeolocationInsecureOrigin' | 'GeolocationInsecureOriginDeprecatedNotRemoved' | 'GetUserMediaInsecureOrigin' | 'HostCandidateAttributeGetter' | 'InsecurePrivateNetworkSubresourceRequest' | 'LegacyConstraintGoogCpuOveruseDetection' | 'LegacyConstraintGoogIPv6' | 'LegacyConstraintGoogScreencastMinBitrate' | 'LegacyConstraintGoogSuspendBelowMinBitrate' | 'LocalCSSFileExtensionRejected' | 'MediaElementAudioSourceNode' | 'MediaSourceAbortRemove' | 'MediaSourceDurationTruncatingBuffered' | 'NoSysexWebMIDIWithoutPermission' | 'NotificationInsecureOrigin' | 'NotificationPermissionRequestedIframe' | 'ObsoleteWebRtcCipherSuite' | 'PaymentRequestBasicCard' | 'PaymentRequestShowWithoutGesture' | 'PictureSourceSrc' | 'PrefixedCancelAnimationFrame' | 'PrefixedRequestAnimationFrame' | 'PrefixedStorageInfo' | 'PrefixedVideoDisplayingFullscreen' | 'PrefixedVideoEnterFullscreen' | 'PrefixedVideoEnterFullScreen' | 'PrefixedVideoExitFullscreen' | 'PrefixedVideoExitFullScreen' | 'PrefixedVideoSupportsFullscreen' | 'RangeExpand' | 'RequestedSubresourceWithEmbeddedCredentials' | 'RTCConstraintEnableDtlsSrtpFalse' | 'RTCConstraintEnableDtlsSrtpTrue' | 'RTCPeerConnectionComplexPlanBSdpUsingDefaultSdpSemantics' | 'RTCPeerConnectionLegacyCreateWithMediaConstraints' | 'RTCPeerConnectionSdpSemanticsPlanB' | 'RtcpMuxPolicyNegotiate' | 'RTPDataChannel' | 'SelectionAddRangeIntersect' | 'SharedArrayBufferConstructedWithoutIsolation' | 'TextToSpeech_DisallowedByAutoplay' | 'V8SharedArrayBufferConstructedInExtensionWithoutIsolation' | 'WebCodecsVideoFrameDefaultTimestamp' | 'XHRJSONEncodingDetection' | 'XMLHttpRequestSynchronousInNonWorkerOutsideBeforeUnload' | 'XRSupportsSession');
3380
3380
 
3381
3381
  /**
3382
3382
  * This issue tracks information needed to print a deprecation message.
3383
- * The formatting is inherited from the old console.log version, see more at:
3384
- * https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/renderer/core/frame/deprecation.cc
3385
- * TODO(crbug.com/1264960): Re-work format to add i18n support per:
3386
- * https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/public/devtools_protocol/README.md
3383
+ * https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/renderer/core/frame/third_party/blink/renderer/core/frame/deprecation/README.md
3387
3384
  */
3388
3385
  export interface DeprecationIssueDetails {
3389
3386
  affectedFrame?: AffectedFrame;
3390
3387
  sourceCodeLocation: SourceCodeLocation;
3391
- /**
3392
- * The content of an untranslated deprecation issue,
3393
- * e.g. "window.inefficientLegacyStorageMethod will be removed in M97,
3394
- * around January 2022. Please use Web Storage or Indexed Database
3395
- * instead. This standard was abandoned in January, 1970. See
3396
- * https://www.chromestatus.com/feature/5684870116278272 for more details."
3397
- */
3398
- message?: string;
3399
- /**
3400
- * The id of an untranslated deprecation issue e.g. PrefixedStorageInfo.
3401
- */
3402
- deprecationType?: string;
3403
3388
  type: DeprecationIssueType;
3404
3389
  }
3405
3390