devtools-protocol 0.0.1028116 → 0.0.1029622

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,12 +1446,11 @@
1446
1446
  "type": "string",
1447
1447
  "enum": [
1448
1448
  "PermissionPolicyDisabled",
1449
- "AttributionSourceUntrustworthyOrigin",
1450
- "AttributionUntrustworthyOrigin",
1451
1449
  "UntrustworthyReportingOrigin",
1452
1450
  "InsecureContext",
1453
1451
  "InvalidHeader",
1454
- "InvalidRegisterTriggerHeader"
1452
+ "InvalidRegisterTriggerHeader",
1453
+ "InvalidEligibleHeader"
1455
1454
  ]
1456
1455
  },
1457
1456
  {
@@ -1463,12 +1462,6 @@
1463
1462
  "name": "violationType",
1464
1463
  "$ref": "AttributionReportingIssueType"
1465
1464
  },
1466
- {
1467
- "name": "frame",
1468
- "description": "TODO(apaseltiner): Remove this once it is no longer referenced by the frontend.",
1469
- "optional": true,
1470
- "$ref": "AffectedFrame"
1471
- },
1472
1465
  {
1473
1466
  "name": "request",
1474
1467
  "optional": true,
@@ -1589,6 +1582,7 @@
1589
1582
  "ObsoleteWebRtcCipherSuite",
1590
1583
  "OpenWebDatabaseInsecureContext",
1591
1584
  "OverflowVisibleOnReplacedElement",
1585
+ "PersistentQuotaType",
1592
1586
  "PictureSourceSrc",
1593
1587
  "PrefixedCancelAnimationFrame",
1594
1588
  "PrefixedRequestAnimationFrame",
@@ -8952,6 +8946,14 @@
8952
8946
  "parameters": [
8953
8947
  {
8954
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,
8955
8957
  "type": "string"
8956
8958
  },
8957
8959
  {
@@ -8983,7 +8985,14 @@
8983
8985
  "parameters": [
8984
8986
  {
8985
8987
  "name": "securityOrigin",
8986
- "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,
8987
8996
  "type": "string"
8988
8997
  },
8989
8998
  {
@@ -9040,7 +9049,14 @@
9040
9049
  "parameters": [
9041
9050
  {
9042
9051
  "name": "securityOrigin",
9043
- "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,
9044
9060
  "type": "string"
9045
9061
  },
9046
9062
  {
@@ -9073,7 +9089,14 @@
9073
9089
  "parameters": [
9074
9090
  {
9075
9091
  "name": "securityOrigin",
9076
- "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,
9077
9100
  "type": "string"
9078
9101
  },
9079
9102
  {
@@ -19818,6 +19841,35 @@
19818
19841
  }
19819
19842
  ]
19820
19843
  },
19844
+ {
19845
+ "id": "FilterEntry",
19846
+ "description": "A filter used by target query/discovery/auto-attach operations.",
19847
+ "experimental": true,
19848
+ "type": "object",
19849
+ "properties": [
19850
+ {
19851
+ "name": "exclude",
19852
+ "description": "If set, causes exclusion of mathcing targets from the list.\nThe remainder of filter entries in the filter arrat are ignored.",
19853
+ "optional": true,
19854
+ "type": "boolean"
19855
+ },
19856
+ {
19857
+ "name": "type",
19858
+ "description": "If not present, matches any type.",
19859
+ "optional": true,
19860
+ "type": "string"
19861
+ }
19862
+ ]
19863
+ },
19864
+ {
19865
+ "id": "TargetFilter",
19866
+ "description": "If filter is not specified, the one assumed is [{type: \"browser\", exclude: true}, {}]\n(i.e. include everything but browser).",
19867
+ "experimental": true,
19868
+ "type": "array",
19869
+ "items": {
19870
+ "$ref": "FilterEntry"
19871
+ }
19872
+ },
19821
19873
  {
19822
19874
  "id": "RemoteLocation",
19823
19875
  "experimental": true,
@@ -20078,6 +20130,15 @@
20078
20130
  {
20079
20131
  "name": "getTargets",
20080
20132
  "description": "Retrieves a list of available targets.",
20133
+ "parameters": [
20134
+ {
20135
+ "name": "filter",
20136
+ "description": "Only targets matching filter will be reported. If filter is not specified\nand target discovery is currently enabled, a filter used for target discovery\nis used for consistency.",
20137
+ "experimental": true,
20138
+ "optional": true,
20139
+ "$ref": "TargetFilter"
20140
+ }
20141
+ ],
20081
20142
  "returns": [
20082
20143
  {
20083
20144
  "name": "targetInfos",
@@ -20133,6 +20194,13 @@
20133
20194
  "description": "Enables \"flat\" access to the session via specifying sessionId attribute in the commands.\nWe plan to make this the default, deprecate non-flattened mode,\nand eventually retire it. See crbug.com/991325.",
20134
20195
  "optional": true,
20135
20196
  "type": "boolean"
20197
+ },
20198
+ {
20199
+ "name": "filter",
20200
+ "description": "Only targets matching filter will be attached.",
20201
+ "experimental": true,
20202
+ "optional": true,
20203
+ "$ref": "TargetFilter"
20136
20204
  }
20137
20205
  ]
20138
20206
  },
@@ -20149,6 +20217,13 @@
20149
20217
  "name": "waitForDebuggerOnStart",
20150
20218
  "description": "Whether to pause new targets when attaching to them. Use `Runtime.runIfWaitingForDebugger`\nto run paused targets.",
20151
20219
  "type": "boolean"
20220
+ },
20221
+ {
20222
+ "name": "filter",
20223
+ "description": "Only targets matching filter will be attached.",
20224
+ "experimental": true,
20225
+ "optional": true,
20226
+ "$ref": "TargetFilter"
20152
20227
  }
20153
20228
  ]
20154
20229
  },
@@ -20160,6 +20235,13 @@
20160
20235
  "name": "discover",
20161
20236
  "description": "Whether to discover available targets.",
20162
20237
  "type": "boolean"
20238
+ },
20239
+ {
20240
+ "name": "filter",
20241
+ "description": "Only targets matching filter will be attached. If `discover` is false,\n`filter` must be omitted or empty.",
20242
+ "experimental": true,
20243
+ "optional": true,
20244
+ "$ref": "TargetFilter"
20163
20245
  }
20164
20246
  ]
20165
20247
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devtools-protocol",
3
- "version": "0.0.1028116",
3
+ "version": "0.0.1029622",
4
4
  "description": "The Chrome DevTools Protocol JSON",
5
5
  "repository": "https://github.com/ChromeDevTools/devtools-protocol",
6
6
  "author": "The Chromium Authors",
@@ -699,23 +699,18 @@ 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.
703
- AttributionSourceUntrustworthyOrigin
704
- # TODO(apaseltiner): Remove this once it is no longer referenced by the frontend.
705
- AttributionUntrustworthyOrigin
706
702
  UntrustworthyReportingOrigin
707
703
  InsecureContext
708
704
  # TODO(apaseltiner): Rename this to InvalidRegisterSourceHeader
709
705
  InvalidHeader
710
706
  InvalidRegisterTriggerHeader
707
+ InvalidEligibleHeader
711
708
 
712
709
  # Details for issues around "Attribution Reporting API" usage.
713
710
  # Explainer: https://github.com/WICG/attribution-reporting-api
714
711
  type AttributionReportingIssueDetails extends object
715
712
  properties
716
713
  AttributionReportingIssueType violationType
717
- # TODO(apaseltiner): Remove this once it is no longer referenced by the frontend.
718
- optional AffectedFrame frame
719
714
  optional AffectedRequest request
720
715
  optional DOM.BackendNodeId violatingNodeId
721
716
  optional string invalidParameter
@@ -782,6 +777,7 @@ experimental domain Audits
782
777
  ObsoleteWebRtcCipherSuite
783
778
  OpenWebDatabaseInsecureContext
784
779
  OverflowVisibleOnReplacedElement
780
+ PersistentQuotaType
785
781
  PictureSourceSrc
786
782
  PrefixedCancelAnimationFrame
787
783
  PrefixedRequestAnimationFrame
@@ -4105,7 +4101,11 @@ experimental domain IndexedDB
4105
4101
  # Delete a range of entries from an object store
4106
4102
  command deleteObjectStoreEntries
4107
4103
  parameters
4108
- 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
4109
4109
  string databaseName
4110
4110
  string objectStoreName
4111
4111
  # Range of entry keys to delete
@@ -4120,8 +4120,11 @@ experimental domain IndexedDB
4120
4120
  # Requests data from object store or index.
4121
4121
  command requestData
4122
4122
  parameters
4123
+ # At least and at most one of securityOrigin, storageKey must be specified.
4123
4124
  # Security origin.
4124
- string securityOrigin
4125
+ optional string securityOrigin
4126
+ # Storage key.
4127
+ optional string storageKey
4125
4128
  # Database name.
4126
4129
  string databaseName
4127
4130
  # Object store name.
@@ -4143,8 +4146,11 @@ experimental domain IndexedDB
4143
4146
  # Gets metadata of an object store
4144
4147
  command getMetadata
4145
4148
  parameters
4149
+ # At least and at most one of securityOrigin, storageKey must be specified.
4146
4150
  # Security origin.
4147
- string securityOrigin
4151
+ optional string securityOrigin
4152
+ # Storage key.
4153
+ optional string storageKey
4148
4154
  # Database name.
4149
4155
  string databaseName
4150
4156
  # Object store name.
@@ -4160,8 +4166,11 @@ experimental domain IndexedDB
4160
4166
  # Requests database with given name in given frame.
4161
4167
  command requestDatabase
4162
4168
  parameters
4169
+ # At least and at most one of securityOrigin, storageKey must be specified.
4163
4170
  # Security origin.
4164
- string securityOrigin
4171
+ optional string securityOrigin
4172
+ # Storage key.
4173
+ optional string storageKey
4165
4174
  # Database name.
4166
4175
  string databaseName
4167
4176
  returns
@@ -9317,6 +9326,19 @@ domain Target
9317
9326
  experimental optional Page.FrameId openerFrameId
9318
9327
  experimental optional Browser.BrowserContextID browserContextId
9319
9328
 
9329
+ # A filter used by target query/discovery/auto-attach operations.
9330
+ experimental type FilterEntry extends object
9331
+ properties
9332
+ # If set, causes exclusion of mathcing targets from the list.
9333
+ # The remainder of filter entries in the filter arrat are ignored.
9334
+ optional boolean exclude
9335
+ # If not present, matches any type.
9336
+ optional string type
9337
+
9338
+ # If filter is not specified, the one assumed is [{type: "browser", exclude: true}, {}]
9339
+ # (i.e. include everything but browser).
9340
+ experimental type TargetFilter extends array of FilterEntry
9341
+
9320
9342
  experimental type RemoteLocation extends object
9321
9343
  properties
9322
9344
  string host
@@ -9380,7 +9402,6 @@ domain Target
9380
9402
  # An optional list of origins to grant unlimited cross-origin access to.
9381
9403
  # Parts of the URL other than those constituting origin are ignored.
9382
9404
  optional array of string originsWithUniversalNetworkAccess
9383
-
9384
9405
  returns
9385
9406
  # The id of the context created.
9386
9407
  Browser.BrowserContextID browserContextId
@@ -9437,6 +9458,11 @@ domain Target
9437
9458
 
9438
9459
  # Retrieves a list of available targets.
9439
9460
  command getTargets
9461
+ parameters
9462
+ # Only targets matching filter will be reported. If filter is not specified
9463
+ # and target discovery is currently enabled, a filter used for target discovery
9464
+ # is used for consistency.
9465
+ experimental optional TargetFilter filter
9440
9466
  returns
9441
9467
  # The list of targets.
9442
9468
  array of TargetInfo targetInfos
@@ -9468,6 +9494,8 @@ domain Target
9468
9494
  # We plan to make this the default, deprecate non-flattened mode,
9469
9495
  # and eventually retire it. See crbug.com/991325.
9470
9496
  optional boolean flatten
9497
+ # Only targets matching filter will be attached.
9498
+ experimental optional TargetFilter filter
9471
9499
 
9472
9500
  # Adds the specified target to the list of targets that will be monitored for any related target
9473
9501
  # creation (such as child frames, child workers and new versions of service worker) and reported
@@ -9480,6 +9508,8 @@ domain Target
9480
9508
  # Whether to pause new targets when attaching to them. Use `Runtime.runIfWaitingForDebugger`
9481
9509
  # to run paused targets.
9482
9510
  boolean waitForDebuggerOnStart
9511
+ # Only targets matching filter will be attached.
9512
+ experimental optional TargetFilter filter
9483
9513
 
9484
9514
  # Controls whether to discover available targets and notify via
9485
9515
  # `targetCreated/targetInfoChanged/targetDestroyed` events.
@@ -9487,6 +9517,9 @@ domain Target
9487
9517
  parameters
9488
9518
  # Whether to discover available targets.
9489
9519
  boolean discover
9520
+ # Only targets matching filter will be attached. If `discover` is false,
9521
+ # `filter` must be omitted or empty.
9522
+ experimental optional TargetFilter filter
9490
9523
 
9491
9524
  # Enables target discovery for the specified locations, when `setDiscoverTargets` was set to
9492
9525
  # `true`.
@@ -4200,7 +4200,7 @@ export namespace ProtocolMapping {
4200
4200
  * Retrieves a list of available targets.
4201
4201
  */
4202
4202
  'Target.getTargets': {
4203
- paramsType: [];
4203
+ paramsType: [Protocol.Target.GetTargetsRequest?];
4204
4204
  returnType: Protocol.Target.GetTargetsResponse;
4205
4205
  };
4206
4206
  /**
@@ -3424,7 +3424,7 @@ export namespace ProtocolProxyApi {
3424
3424
  /**
3425
3425
  * Retrieves a list of available targets.
3426
3426
  */
3427
- getTargets(): Promise<Protocol.Target.GetTargetsResponse>;
3427
+ getTargets(params: Protocol.Target.GetTargetsRequest): Promise<Protocol.Target.GetTargetsResponse>;
3428
3428
 
3429
3429
  /**
3430
3430
  * Sends protocol message over session with given id.
@@ -3423,7 +3423,7 @@ export namespace Protocol {
3423
3423
  clientSecurityState?: Network.ClientSecurityState;
3424
3424
  }
3425
3425
 
3426
- export type AttributionReportingIssueType = ('PermissionPolicyDisabled' | 'AttributionSourceUntrustworthyOrigin' | 'AttributionUntrustworthyOrigin' | 'UntrustworthyReportingOrigin' | 'InsecureContext' | 'InvalidHeader' | 'InvalidRegisterTriggerHeader');
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,10 +3431,6 @@ 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
- */
3437
- frame?: AffectedFrame;
3438
3434
  request?: AffectedRequest;
3439
3435
  violatingNodeId?: DOM.BackendNodeId;
3440
3436
  invalidParameter?: string;
@@ -3474,7 +3470,7 @@ export namespace Protocol {
3474
3470
  frameId?: Page.FrameId;
3475
3471
  }
3476
3472
 
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' | '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');
3478
3474
 
3479
3475
  /**
3480
3476
  * This issue tracks information needed to print a deprecation message.
@@ -8144,7 +8140,15 @@ export namespace Protocol {
8144
8140
  }
8145
8141
 
8146
8142
  export interface DeleteObjectStoreEntriesRequest {
8147
- 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;
8148
8152
  databaseName: string;
8149
8153
  objectStoreName: string;
8150
8154
  /**
@@ -8155,9 +8159,14 @@ export namespace Protocol {
8155
8159
 
8156
8160
  export interface RequestDataRequest {
8157
8161
  /**
8162
+ * At least and at most one of securityOrigin, storageKey must be specified.
8158
8163
  * Security origin.
8159
8164
  */
8160
- securityOrigin: string;
8165
+ securityOrigin?: string;
8166
+ /**
8167
+ * Storage key.
8168
+ */
8169
+ storageKey?: string;
8161
8170
  /**
8162
8171
  * Database name.
8163
8172
  */
@@ -8197,9 +8206,14 @@ export namespace Protocol {
8197
8206
 
8198
8207
  export interface GetMetadataRequest {
8199
8208
  /**
8209
+ * At least and at most one of securityOrigin, storageKey must be specified.
8200
8210
  * Security origin.
8201
8211
  */
8202
- securityOrigin: string;
8212
+ securityOrigin?: string;
8213
+ /**
8214
+ * Storage key.
8215
+ */
8216
+ storageKey?: string;
8203
8217
  /**
8204
8218
  * Database name.
8205
8219
  */
@@ -8225,9 +8239,14 @@ export namespace Protocol {
8225
8239
 
8226
8240
  export interface RequestDatabaseRequest {
8227
8241
  /**
8242
+ * At least and at most one of securityOrigin, storageKey must be specified.
8228
8243
  * Security origin.
8229
8244
  */
8230
- securityOrigin: string;
8245
+ securityOrigin?: string;
8246
+ /**
8247
+ * Storage key.
8248
+ */
8249
+ storageKey?: string;
8231
8250
  /**
8232
8251
  * Database name.
8233
8252
  */
@@ -15026,6 +15045,27 @@ export namespace Protocol {
15026
15045
  browserContextId?: Browser.BrowserContextID;
15027
15046
  }
15028
15047
 
15048
+ /**
15049
+ * A filter used by target query/discovery/auto-attach operations.
15050
+ */
15051
+ export interface FilterEntry {
15052
+ /**
15053
+ * If set, causes exclusion of mathcing targets from the list.
15054
+ * The remainder of filter entries in the filter arrat are ignored.
15055
+ */
15056
+ exclude?: boolean;
15057
+ /**
15058
+ * If not present, matches any type.
15059
+ */
15060
+ type?: string;
15061
+ }
15062
+
15063
+ /**
15064
+ * If filter is not specified, the one assumed is [{type: "browser", exclude: true}, {}]
15065
+ * (i.e. include everything but browser).
15066
+ */
15067
+ export type TargetFilter = FilterEntry[];
15068
+
15029
15069
  export interface RemoteLocation {
15030
15070
  host: string;
15031
15071
  port: integer;
@@ -15175,6 +15215,15 @@ export namespace Protocol {
15175
15215
  targetInfo: TargetInfo;
15176
15216
  }
15177
15217
 
15218
+ export interface GetTargetsRequest {
15219
+ /**
15220
+ * Only targets matching filter will be reported. If filter is not specified
15221
+ * and target discovery is currently enabled, a filter used for target discovery
15222
+ * is used for consistency.
15223
+ */
15224
+ filter?: TargetFilter;
15225
+ }
15226
+
15178
15227
  export interface GetTargetsResponse {
15179
15228
  /**
15180
15229
  * The list of targets.
@@ -15210,6 +15259,10 @@ export namespace Protocol {
15210
15259
  * and eventually retire it. See crbug.com/991325.
15211
15260
  */
15212
15261
  flatten?: boolean;
15262
+ /**
15263
+ * Only targets matching filter will be attached.
15264
+ */
15265
+ filter?: TargetFilter;
15213
15266
  }
15214
15267
 
15215
15268
  export interface AutoAttachRelatedRequest {
@@ -15219,6 +15272,10 @@ export namespace Protocol {
15219
15272
  * to run paused targets.
15220
15273
  */
15221
15274
  waitForDebuggerOnStart: boolean;
15275
+ /**
15276
+ * Only targets matching filter will be attached.
15277
+ */
15278
+ filter?: TargetFilter;
15222
15279
  }
15223
15280
 
15224
15281
  export interface SetDiscoverTargetsRequest {
@@ -15226,6 +15283,11 @@ export namespace Protocol {
15226
15283
  * Whether to discover available targets.
15227
15284
  */
15228
15285
  discover: boolean;
15286
+ /**
15287
+ * Only targets matching filter will be attached. If `discover` is false,
15288
+ * `filter` must be omitted or empty.
15289
+ */
15290
+ filter?: TargetFilter;
15229
15291
  }
15230
15292
 
15231
15293
  export interface SetRemoteLocationsRequest {