devtools-protocol 0.0.1027518 → 0.0.1029085

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.
@@ -1446,9 +1446,11 @@
1446
1446
  "type": "string",
1447
1447
  "enum": [
1448
1448
  "PermissionPolicyDisabled",
1449
- "AttributionSourceUntrustworthyOrigin",
1450
- "AttributionUntrustworthyOrigin",
1451
- "InvalidHeader"
1449
+ "UntrustworthyReportingOrigin",
1450
+ "InsecureContext",
1451
+ "InvalidHeader",
1452
+ "InvalidRegisterTriggerHeader",
1453
+ "InvalidEligibleHeader"
1452
1454
  ]
1453
1455
  },
1454
1456
  {
@@ -1460,11 +1462,6 @@
1460
1462
  "name": "violationType",
1461
1463
  "$ref": "AttributionReportingIssueType"
1462
1464
  },
1463
- {
1464
- "name": "frame",
1465
- "optional": true,
1466
- "$ref": "AffectedFrame"
1467
- },
1468
1465
  {
1469
1466
  "name": "request",
1470
1467
  "optional": true,
@@ -1585,6 +1582,7 @@
1585
1582
  "ObsoleteWebRtcCipherSuite",
1586
1583
  "OpenWebDatabaseInsecureContext",
1587
1584
  "OverflowVisibleOnReplacedElement",
1585
+ "PersistentQuotaType",
1588
1586
  "PictureSourceSrc",
1589
1587
  "PrefixedCancelAnimationFrame",
1590
1588
  "PrefixedRequestAnimationFrame",
@@ -8897,7 +8895,14 @@
8897
8895
  "parameters": [
8898
8896
  {
8899
8897
  "name": "securityOrigin",
8900
- "description": "Security origin.",
8898
+ "description": "At least and at most one of securityOrigin, storageKey must be specified.\nSecurity origin.",
8899
+ "optional": true,
8900
+ "type": "string"
8901
+ },
8902
+ {
8903
+ "name": "storageKey",
8904
+ "description": "Storage key.",
8905
+ "optional": true,
8901
8906
  "type": "string"
8902
8907
  },
8903
8908
  {
@@ -8918,7 +8923,14 @@
8918
8923
  "parameters": [
8919
8924
  {
8920
8925
  "name": "securityOrigin",
8921
- "description": "Security origin.",
8926
+ "description": "At least and at most one of securityOrigin, storageKey must be specified.\nSecurity origin.",
8927
+ "optional": true,
8928
+ "type": "string"
8929
+ },
8930
+ {
8931
+ "name": "storageKey",
8932
+ "description": "Storage key.",
8933
+ "optional": true,
8922
8934
  "type": "string"
8923
8935
  },
8924
8936
  {
@@ -8934,6 +8946,14 @@
8934
8946
  "parameters": [
8935
8947
  {
8936
8948
  "name": "securityOrigin",
8949
+ "description": "At least and at most one of securityOrigin, storageKey must be specified.\nSecurity origin.",
8950
+ "optional": true,
8951
+ "type": "string"
8952
+ },
8953
+ {
8954
+ "name": "storageKey",
8955
+ "description": "Storage key.",
8956
+ "optional": true,
8937
8957
  "type": "string"
8938
8958
  },
8939
8959
  {
@@ -8965,7 +8985,14 @@
8965
8985
  "parameters": [
8966
8986
  {
8967
8987
  "name": "securityOrigin",
8968
- "description": "Security origin.",
8988
+ "description": "At least and at most one of securityOrigin, storageKey must be specified.\nSecurity origin.",
8989
+ "optional": true,
8990
+ "type": "string"
8991
+ },
8992
+ {
8993
+ "name": "storageKey",
8994
+ "description": "Storage key.",
8995
+ "optional": true,
8969
8996
  "type": "string"
8970
8997
  },
8971
8998
  {
@@ -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
  {
@@ -9055,7 +9089,14 @@
9055
9089
  "parameters": [
9056
9090
  {
9057
9091
  "name": "securityOrigin",
9058
- "description": "Security origin.",
9092
+ "description": "At least and at most one of securityOrigin, storageKey must be specified.\nSecurity origin.",
9093
+ "optional": true,
9094
+ "type": "string"
9095
+ },
9096
+ {
9097
+ "name": "storageKey",
9098
+ "description": "Storage key.",
9099
+ "optional": true,
9059
9100
  "type": "string"
9060
9101
  },
9061
9102
  {
@@ -16264,7 +16305,9 @@
16264
16305
  "TriggerBackgrounded",
16265
16306
  "EmbedderTriggeredAndSameOriginRedirected",
16266
16307
  "EmbedderTriggeredAndCrossOriginRedirected",
16267
- "EmbedderTriggeredAndDestroyed"
16308
+ "EmbedderTriggeredAndDestroyed",
16309
+ "MemoryLimitExceeded",
16310
+ "FailToGetMemoryUsage"
16268
16311
  ]
16269
16312
  }
16270
16313
  ],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devtools-protocol",
3
- "version": "0.0.1027518",
3
+ "version": "0.0.1029085",
4
4
  "description": "The Chrome DevTools Protocol JSON",
5
5
  "repository": "https://github.com/ChromeDevTools/devtools-protocol",
6
6
  "author": "The Chromium Authors",
@@ -699,16 +699,18 @@ experimental domain Audits
699
699
  type AttributionReportingIssueType extends string
700
700
  enum
701
701
  PermissionPolicyDisabled
702
- AttributionSourceUntrustworthyOrigin
703
- AttributionUntrustworthyOrigin
702
+ UntrustworthyReportingOrigin
703
+ InsecureContext
704
+ # TODO(apaseltiner): Rename this to InvalidRegisterSourceHeader
704
705
  InvalidHeader
706
+ InvalidRegisterTriggerHeader
707
+ InvalidEligibleHeader
705
708
 
706
709
  # Details for issues around "Attribution Reporting API" usage.
707
710
  # Explainer: https://github.com/WICG/attribution-reporting-api
708
711
  type AttributionReportingIssueDetails extends object
709
712
  properties
710
713
  AttributionReportingIssueType violationType
711
- optional AffectedFrame frame
712
714
  optional AffectedRequest request
713
715
  optional DOM.BackendNodeId violatingNodeId
714
716
  optional string invalidParameter
@@ -775,6 +777,7 @@ experimental domain Audits
775
777
  ObsoleteWebRtcCipherSuite
776
778
  OpenWebDatabaseInsecureContext
777
779
  OverflowVisibleOnReplacedElement
780
+ PersistentQuotaType
778
781
  PictureSourceSrc
779
782
  PrefixedCancelAnimationFrame
780
783
  PrefixedRequestAnimationFrame
@@ -4074,8 +4077,11 @@ experimental domain IndexedDB
4074
4077
  # Clears all entries from an object store.
4075
4078
  command clearObjectStore
4076
4079
  parameters
4080
+ # At least and at most one of securityOrigin, storageKey must be specified.
4077
4081
  # Security origin.
4078
- string securityOrigin
4082
+ optional string securityOrigin
4083
+ # Storage key.
4084
+ optional string storageKey
4079
4085
  # Database name.
4080
4086
  string databaseName
4081
4087
  # Object store name.
@@ -4084,15 +4090,22 @@ experimental domain IndexedDB
4084
4090
  # Deletes a database.
4085
4091
  command deleteDatabase
4086
4092
  parameters
4093
+ # At least and at most one of securityOrigin, storageKey must be specified.
4087
4094
  # Security origin.
4088
- string securityOrigin
4095
+ optional string securityOrigin
4096
+ # Storage key.
4097
+ optional string storageKey
4089
4098
  # Database name.
4090
4099
  string databaseName
4091
4100
 
4092
4101
  # Delete a range of entries from an object store
4093
4102
  command deleteObjectStoreEntries
4094
4103
  parameters
4095
- string securityOrigin
4104
+ # At least and at most one of securityOrigin, storageKey must be specified.
4105
+ # Security origin.
4106
+ optional string securityOrigin
4107
+ # Storage key.
4108
+ optional string storageKey
4096
4109
  string databaseName
4097
4110
  string objectStoreName
4098
4111
  # Range of entry keys to delete
@@ -4107,8 +4120,11 @@ experimental domain IndexedDB
4107
4120
  # Requests data from object store or index.
4108
4121
  command requestData
4109
4122
  parameters
4123
+ # At least and at most one of securityOrigin, storageKey must be specified.
4110
4124
  # Security origin.
4111
- string securityOrigin
4125
+ optional string securityOrigin
4126
+ # Storage key.
4127
+ optional string storageKey
4112
4128
  # Database name.
4113
4129
  string databaseName
4114
4130
  # Object store name.
@@ -4130,8 +4146,11 @@ experimental domain IndexedDB
4130
4146
  # Gets metadata of an object store
4131
4147
  command getMetadata
4132
4148
  parameters
4149
+ # At least and at most one of securityOrigin, storageKey must be specified.
4133
4150
  # Security origin.
4134
- string securityOrigin
4151
+ optional string securityOrigin
4152
+ # Storage key.
4153
+ optional string storageKey
4135
4154
  # Database name.
4136
4155
  string databaseName
4137
4156
  # Object store name.
@@ -4147,8 +4166,11 @@ experimental domain IndexedDB
4147
4166
  # Requests database with given name in given frame.
4148
4167
  command requestDatabase
4149
4168
  parameters
4169
+ # At least and at most one of securityOrigin, storageKey must be specified.
4150
4170
  # Security origin.
4151
- string securityOrigin
4171
+ optional string securityOrigin
4172
+ # Storage key.
4173
+ optional string storageKey
4152
4174
  # Database name.
4153
4175
  string databaseName
4154
4176
  returns
@@ -8426,6 +8448,10 @@ domain Page
8426
8448
  EmbedderTriggeredAndSameOriginRedirected
8427
8449
  EmbedderTriggeredAndCrossOriginRedirected
8428
8450
  EmbedderTriggeredAndDestroyed
8451
+ MemoryLimitExceeded
8452
+ # Prerenders can be cancelled when Chrome uses excessive memory. This is
8453
+ # recorded when it fails to get the memory usage.
8454
+ FailToGetMemoryUsage
8429
8455
 
8430
8456
  # Fired when a prerender attempt is completed.
8431
8457
  event prerenderAttemptCompleted
@@ -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' | 'UntrustworthyReportingOrigin' | 'InsecureContext' | 'InvalidHeader' | 'InvalidRegisterTriggerHeader' | 'InvalidEligibleHeader');
3427
3427
 
3428
3428
  /**
3429
3429
  * Details for issues around "Attribution Reporting API" usage.
@@ -3431,7 +3431,6 @@ export namespace Protocol {
3431
3431
  */
3432
3432
  export interface AttributionReportingIssueDetails {
3433
3433
  violationType: AttributionReportingIssueType;
3434
- frame?: AffectedFrame;
3435
3434
  request?: AffectedRequest;
3436
3435
  violatingNodeId?: DOM.BackendNodeId;
3437
3436
  invalidParameter?: string;
@@ -3471,7 +3470,7 @@ export namespace Protocol {
3471
3470
  frameId?: Page.FrameId;
3472
3471
  }
3473
3472
 
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');
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');
3475
3474
 
3476
3475
  /**
3477
3476
  * This issue tracks information needed to print a deprecation message.
@@ -8106,9 +8105,14 @@ export namespace Protocol {
8106
8105
 
8107
8106
  export interface ClearObjectStoreRequest {
8108
8107
  /**
8108
+ * At least and at most one of securityOrigin, storageKey must be specified.
8109
8109
  * Security origin.
8110
8110
  */
8111
- securityOrigin: string;
8111
+ securityOrigin?: string;
8112
+ /**
8113
+ * Storage key.
8114
+ */
8115
+ storageKey?: string;
8112
8116
  /**
8113
8117
  * Database name.
8114
8118
  */
@@ -8121,9 +8125,14 @@ export namespace Protocol {
8121
8125
 
8122
8126
  export interface DeleteDatabaseRequest {
8123
8127
  /**
8128
+ * At least and at most one of securityOrigin, storageKey must be specified.
8124
8129
  * Security origin.
8125
8130
  */
8126
- securityOrigin: string;
8131
+ securityOrigin?: string;
8132
+ /**
8133
+ * Storage key.
8134
+ */
8135
+ storageKey?: string;
8127
8136
  /**
8128
8137
  * Database name.
8129
8138
  */
@@ -8131,7 +8140,15 @@ export namespace Protocol {
8131
8140
  }
8132
8141
 
8133
8142
  export interface DeleteObjectStoreEntriesRequest {
8134
- securityOrigin: string;
8143
+ /**
8144
+ * At least and at most one of securityOrigin, storageKey must be specified.
8145
+ * Security origin.
8146
+ */
8147
+ securityOrigin?: string;
8148
+ /**
8149
+ * Storage key.
8150
+ */
8151
+ storageKey?: string;
8135
8152
  databaseName: string;
8136
8153
  objectStoreName: string;
8137
8154
  /**
@@ -8142,9 +8159,14 @@ export namespace Protocol {
8142
8159
 
8143
8160
  export interface RequestDataRequest {
8144
8161
  /**
8162
+ * At least and at most one of securityOrigin, storageKey must be specified.
8145
8163
  * Security origin.
8146
8164
  */
8147
- securityOrigin: string;
8165
+ securityOrigin?: string;
8166
+ /**
8167
+ * Storage key.
8168
+ */
8169
+ storageKey?: string;
8148
8170
  /**
8149
8171
  * Database name.
8150
8172
  */
@@ -8184,9 +8206,14 @@ export namespace Protocol {
8184
8206
 
8185
8207
  export interface GetMetadataRequest {
8186
8208
  /**
8209
+ * At least and at most one of securityOrigin, storageKey must be specified.
8187
8210
  * Security origin.
8188
8211
  */
8189
- securityOrigin: string;
8212
+ securityOrigin?: string;
8213
+ /**
8214
+ * Storage key.
8215
+ */
8216
+ storageKey?: string;
8190
8217
  /**
8191
8218
  * Database name.
8192
8219
  */
@@ -8212,9 +8239,14 @@ export namespace Protocol {
8212
8239
 
8213
8240
  export interface RequestDatabaseRequest {
8214
8241
  /**
8242
+ * At least and at most one of securityOrigin, storageKey must be specified.
8215
8243
  * Security origin.
8216
8244
  */
8217
- securityOrigin: string;
8245
+ securityOrigin?: string;
8246
+ /**
8247
+ * Storage key.
8248
+ */
8249
+ storageKey?: string;
8218
8250
  /**
8219
8251
  * Database name.
8220
8252
  */
@@ -12812,7 +12844,7 @@ export namespace Protocol {
12812
12844
  /**
12813
12845
  * List of FinalStatus reasons for Prerender2.
12814
12846
  */
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');
12847
+ 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
12848
 
12817
12849
  export interface AddScriptToEvaluateOnLoadRequest {
12818
12850
  scriptSource: string;