devtools-protocol 0.0.1027117 → 0.0.1028580

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.
@@ -1448,7 +1448,10 @@
1448
1448
  "PermissionPolicyDisabled",
1449
1449
  "AttributionSourceUntrustworthyOrigin",
1450
1450
  "AttributionUntrustworthyOrigin",
1451
- "InvalidHeader"
1451
+ "UntrustworthyReportingOrigin",
1452
+ "InsecureContext",
1453
+ "InvalidHeader",
1454
+ "InvalidRegisterTriggerHeader"
1452
1455
  ]
1453
1456
  },
1454
1457
  {
@@ -1462,6 +1465,7 @@
1462
1465
  },
1463
1466
  {
1464
1467
  "name": "frame",
1468
+ "description": "TODO(apaseltiner): Remove this once it is no longer referenced by the frontend.",
1465
1469
  "optional": true,
1466
1470
  "$ref": "AffectedFrame"
1467
1471
  },
@@ -1585,6 +1589,7 @@
1585
1589
  "ObsoleteWebRtcCipherSuite",
1586
1590
  "OpenWebDatabaseInsecureContext",
1587
1591
  "OverflowVisibleOnReplacedElement",
1592
+ "PersistentQuotaType",
1588
1593
  "PictureSourceSrc",
1589
1594
  "PrefixedCancelAnimationFrame",
1590
1595
  "PrefixedRequestAnimationFrame",
@@ -8897,7 +8902,14 @@
8897
8902
  "parameters": [
8898
8903
  {
8899
8904
  "name": "securityOrigin",
8900
- "description": "Security origin.",
8905
+ "description": "At least and at most one of securityOrigin, storageKey must be specified.\nSecurity origin.",
8906
+ "optional": true,
8907
+ "type": "string"
8908
+ },
8909
+ {
8910
+ "name": "storageKey",
8911
+ "description": "Storage key.",
8912
+ "optional": true,
8901
8913
  "type": "string"
8902
8914
  },
8903
8915
  {
@@ -8918,7 +8930,14 @@
8918
8930
  "parameters": [
8919
8931
  {
8920
8932
  "name": "securityOrigin",
8921
- "description": "Security origin.",
8933
+ "description": "At least and at most one of securityOrigin, storageKey must be specified.\nSecurity origin.",
8934
+ "optional": true,
8935
+ "type": "string"
8936
+ },
8937
+ {
8938
+ "name": "storageKey",
8939
+ "description": "Storage key.",
8940
+ "optional": true,
8922
8941
  "type": "string"
8923
8942
  },
8924
8943
  {
@@ -8934,6 +8953,14 @@
8934
8953
  "parameters": [
8935
8954
  {
8936
8955
  "name": "securityOrigin",
8956
+ "description": "At least and at most one of securityOrigin, storageKey must be specified.\nSecurity origin.",
8957
+ "optional": true,
8958
+ "type": "string"
8959
+ },
8960
+ {
8961
+ "name": "storageKey",
8962
+ "description": "Storage key.",
8963
+ "optional": true,
8937
8964
  "type": "string"
8938
8965
  },
8939
8966
  {
@@ -9022,7 +9049,14 @@
9022
9049
  "parameters": [
9023
9050
  {
9024
9051
  "name": "securityOrigin",
9025
- "description": "Security origin.",
9052
+ "description": "At least and at most one of securityOrigin, storageKey must be specified.\nSecurity origin.",
9053
+ "optional": true,
9054
+ "type": "string"
9055
+ },
9056
+ {
9057
+ "name": "storageKey",
9058
+ "description": "Storage key.",
9059
+ "optional": true,
9026
9060
  "type": "string"
9027
9061
  },
9028
9062
  {
@@ -16264,7 +16298,9 @@
16264
16298
  "TriggerBackgrounded",
16265
16299
  "EmbedderTriggeredAndSameOriginRedirected",
16266
16300
  "EmbedderTriggeredAndCrossOriginRedirected",
16267
- "EmbedderTriggeredAndDestroyed"
16301
+ "EmbedderTriggeredAndDestroyed",
16302
+ "MemoryLimitExceeded",
16303
+ "FailToGetMemoryUsage"
16268
16304
  ]
16269
16305
  }
16270
16306
  ],
@@ -589,7 +589,7 @@
589
589
  },
590
590
  {
591
591
  "name": "functionBodyOffsets",
592
- "description": "The offsets of all function bodies plus one additional entry pointing\none by past the end of the last function.",
592
+ "description": "The offsets of all function bodies, in the format [start1, end1,\nstart2, end2, ...] where all ends are exclusive.",
593
593
  "type": "array",
594
594
  "items": {
595
595
  "type": "integer"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devtools-protocol",
3
- "version": "0.0.1027117",
3
+ "version": "0.0.1028580",
4
4
  "description": "The Chrome DevTools Protocol JSON",
5
5
  "repository": "https://github.com/ChromeDevTools/devtools-protocol",
6
6
  "author": "The Chromium Authors",
@@ -699,15 +699,22 @@ experimental domain Audits
699
699
  type AttributionReportingIssueType extends string
700
700
  enum
701
701
  PermissionPolicyDisabled
702
+ # TODO(apaseltiner): Remove this once it is no longer referenced by the frontend.
702
703
  AttributionSourceUntrustworthyOrigin
704
+ # TODO(apaseltiner): Remove this once it is no longer referenced by the frontend.
703
705
  AttributionUntrustworthyOrigin
706
+ UntrustworthyReportingOrigin
707
+ InsecureContext
708
+ # TODO(apaseltiner): Rename this to InvalidRegisterSourceHeader
704
709
  InvalidHeader
710
+ InvalidRegisterTriggerHeader
705
711
 
706
712
  # Details for issues around "Attribution Reporting API" usage.
707
713
  # Explainer: https://github.com/WICG/attribution-reporting-api
708
714
  type AttributionReportingIssueDetails extends object
709
715
  properties
710
716
  AttributionReportingIssueType violationType
717
+ # TODO(apaseltiner): Remove this once it is no longer referenced by the frontend.
711
718
  optional AffectedFrame frame
712
719
  optional AffectedRequest request
713
720
  optional DOM.BackendNodeId violatingNodeId
@@ -775,6 +782,7 @@ experimental domain Audits
775
782
  ObsoleteWebRtcCipherSuite
776
783
  OpenWebDatabaseInsecureContext
777
784
  OverflowVisibleOnReplacedElement
785
+ PersistentQuotaType
778
786
  PictureSourceSrc
779
787
  PrefixedCancelAnimationFrame
780
788
  PrefixedRequestAnimationFrame
@@ -4074,8 +4082,11 @@ experimental domain IndexedDB
4074
4082
  # Clears all entries from an object store.
4075
4083
  command clearObjectStore
4076
4084
  parameters
4085
+ # At least and at most one of securityOrigin, storageKey must be specified.
4077
4086
  # Security origin.
4078
- string securityOrigin
4087
+ optional string securityOrigin
4088
+ # Storage key.
4089
+ optional string storageKey
4079
4090
  # Database name.
4080
4091
  string databaseName
4081
4092
  # Object store name.
@@ -4084,15 +4095,22 @@ experimental domain IndexedDB
4084
4095
  # Deletes a database.
4085
4096
  command deleteDatabase
4086
4097
  parameters
4098
+ # At least and at most one of securityOrigin, storageKey must be specified.
4087
4099
  # Security origin.
4088
- string securityOrigin
4100
+ optional string securityOrigin
4101
+ # Storage key.
4102
+ optional string storageKey
4089
4103
  # Database name.
4090
4104
  string databaseName
4091
4105
 
4092
4106
  # Delete a range of entries from an object store
4093
4107
  command deleteObjectStoreEntries
4094
4108
  parameters
4095
- string securityOrigin
4109
+ # At least and at most one of securityOrigin, storageKey must be specified.
4110
+ # Security origin.
4111
+ optional string securityOrigin
4112
+ # Storage key.
4113
+ optional string storageKey
4096
4114
  string databaseName
4097
4115
  string objectStoreName
4098
4116
  # Range of entry keys to delete
@@ -4130,8 +4148,11 @@ experimental domain IndexedDB
4130
4148
  # Gets metadata of an object store
4131
4149
  command getMetadata
4132
4150
  parameters
4151
+ # At least and at most one of securityOrigin, storageKey must be specified.
4133
4152
  # Security origin.
4134
- string securityOrigin
4153
+ optional string securityOrigin
4154
+ # Storage key.
4155
+ optional string storageKey
4135
4156
  # Database name.
4136
4157
  string databaseName
4137
4158
  # Object store name.
@@ -8426,6 +8447,10 @@ domain Page
8426
8447
  EmbedderTriggeredAndSameOriginRedirected
8427
8448
  EmbedderTriggeredAndCrossOriginRedirected
8428
8449
  EmbedderTriggeredAndDestroyed
8450
+ MemoryLimitExceeded
8451
+ # Prerenders can be cancelled when Chrome uses excessive memory. This is
8452
+ # recorded when it fails to get the memory usage.
8453
+ FailToGetMemoryUsage
8429
8454
 
8430
8455
  # Fired when a prerender attempt is completed.
8431
8456
  event prerenderAttemptCompleted
@@ -261,8 +261,8 @@ domain Debugger
261
261
  optional string streamId
262
262
  # The total number of lines in the disassembly text.
263
263
  integer totalNumberOfLines
264
- # The offsets of all function bodies plus one additional entry pointing
265
- # one by past the end of the last function.
264
+ # The offsets of all function bodies, in the format [start1, end1,
265
+ # start2, end2, ...] where all ends are exclusive.
266
266
  array of integer functionBodyOffsets
267
267
  # The first chunk of disassembly.
268
268
  WasmDisassemblyChunk chunk
@@ -433,8 +433,8 @@ export namespace Protocol {
433
433
  */
434
434
  totalNumberOfLines: integer;
435
435
  /**
436
- * The offsets of all function bodies plus one additional entry pointing
437
- * one by past the end of the last function.
436
+ * The offsets of all function bodies, in the format [start1, end1,
437
+ * start2, end2, ...] where all ends are exclusive.
438
438
  */
439
439
  functionBodyOffsets: integer[];
440
440
  /**
@@ -3423,7 +3423,7 @@ export namespace Protocol {
3423
3423
  clientSecurityState?: Network.ClientSecurityState;
3424
3424
  }
3425
3425
 
3426
- export type AttributionReportingIssueType = ('PermissionPolicyDisabled' | 'AttributionSourceUntrustworthyOrigin' | 'AttributionUntrustworthyOrigin' | 'InvalidHeader');
3426
+ export type AttributionReportingIssueType = ('PermissionPolicyDisabled' | 'AttributionSourceUntrustworthyOrigin' | 'AttributionUntrustworthyOrigin' | 'UntrustworthyReportingOrigin' | 'InsecureContext' | 'InvalidHeader' | 'InvalidRegisterTriggerHeader');
3427
3427
 
3428
3428
  /**
3429
3429
  * Details for issues around "Attribution Reporting API" usage.
@@ -3431,6 +3431,9 @@ export namespace Protocol {
3431
3431
  */
3432
3432
  export interface AttributionReportingIssueDetails {
3433
3433
  violationType: AttributionReportingIssueType;
3434
+ /**
3435
+ * TODO(apaseltiner): Remove this once it is no longer referenced by the frontend.
3436
+ */
3434
3437
  frame?: AffectedFrame;
3435
3438
  request?: AffectedRequest;
3436
3439
  violatingNodeId?: DOM.BackendNodeId;
@@ -3471,7 +3474,7 @@ export namespace Protocol {
3471
3474
  frameId?: Page.FrameId;
3472
3475
  }
3473
3476
 
3474
- 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' | 'PictureSourceSrc' | 'PrefixedCancelAnimationFrame' | 'PrefixedRequestAnimationFrame' | 'PrefixedStorageInfo' | 'PrefixedVideoDisplayingFullscreen' | 'PrefixedVideoEnterFullscreen' | 'PrefixedVideoEnterFullScreen' | 'PrefixedVideoExitFullscreen' | 'PrefixedVideoExitFullScreen' | 'PrefixedVideoSupportsFullscreen' | 'RangeExpand' | 'RequestedSubresourceWithEmbeddedCredentials' | 'RTCConstraintEnableDtlsSrtpFalse' | 'RTCConstraintEnableDtlsSrtpTrue' | 'RTCPeerConnectionComplexPlanBSdpUsingDefaultSdpSemantics' | 'RTCPeerConnectionSdpSemanticsPlanB' | 'RtcpMuxPolicyNegotiate' | 'SharedArrayBufferConstructedWithoutIsolation' | 'TextToSpeech_DisallowedByAutoplay' | 'V8SharedArrayBufferConstructedInExtensionWithoutIsolation' | 'XHRJSONEncodingDetection' | 'XMLHttpRequestSynchronousInNonWorkerOutsideBeforeUnload' | 'XRSupportsSession');
3477
+ 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');
3475
3478
 
3476
3479
  /**
3477
3480
  * This issue tracks information needed to print a deprecation message.
@@ -8106,9 +8109,14 @@ export namespace Protocol {
8106
8109
 
8107
8110
  export interface ClearObjectStoreRequest {
8108
8111
  /**
8112
+ * At least and at most one of securityOrigin, storageKey must be specified.
8109
8113
  * Security origin.
8110
8114
  */
8111
- securityOrigin: string;
8115
+ securityOrigin?: string;
8116
+ /**
8117
+ * Storage key.
8118
+ */
8119
+ storageKey?: string;
8112
8120
  /**
8113
8121
  * Database name.
8114
8122
  */
@@ -8121,9 +8129,14 @@ export namespace Protocol {
8121
8129
 
8122
8130
  export interface DeleteDatabaseRequest {
8123
8131
  /**
8132
+ * At least and at most one of securityOrigin, storageKey must be specified.
8124
8133
  * Security origin.
8125
8134
  */
8126
- securityOrigin: string;
8135
+ securityOrigin?: string;
8136
+ /**
8137
+ * Storage key.
8138
+ */
8139
+ storageKey?: string;
8127
8140
  /**
8128
8141
  * Database name.
8129
8142
  */
@@ -8131,7 +8144,15 @@ export namespace Protocol {
8131
8144
  }
8132
8145
 
8133
8146
  export interface DeleteObjectStoreEntriesRequest {
8134
- securityOrigin: string;
8147
+ /**
8148
+ * At least and at most one of securityOrigin, storageKey must be specified.
8149
+ * Security origin.
8150
+ */
8151
+ securityOrigin?: string;
8152
+ /**
8153
+ * Storage key.
8154
+ */
8155
+ storageKey?: string;
8135
8156
  databaseName: string;
8136
8157
  objectStoreName: string;
8137
8158
  /**
@@ -8184,9 +8205,14 @@ export namespace Protocol {
8184
8205
 
8185
8206
  export interface GetMetadataRequest {
8186
8207
  /**
8208
+ * At least and at most one of securityOrigin, storageKey must be specified.
8187
8209
  * Security origin.
8188
8210
  */
8189
- securityOrigin: string;
8211
+ securityOrigin?: string;
8212
+ /**
8213
+ * Storage key.
8214
+ */
8215
+ storageKey?: string;
8190
8216
  /**
8191
8217
  * Database name.
8192
8218
  */
@@ -12812,7 +12838,7 @@ export namespace Protocol {
12812
12838
  /**
12813
12839
  * List of FinalStatus reasons for Prerender2.
12814
12840
  */
12815
- 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' | 'EmbedderTriggeredAndDestroyed');
12841
+ 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' | 'EmbedderTriggeredAndDestroyed' | 'MemoryLimitExceeded' | 'FailToGetMemoryUsage');
12816
12842
 
12817
12843
  export interface AddScriptToEvaluateOnLoadRequest {
12818
12844
  scriptSource: string;