devtools-protocol 0.0.1028580 → 0.0.1030018
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.
- package/json/browser_protocol.json +109 -11
- package/package.json +1 -1
- package/pdl/browser_protocol.pdl +53 -9
- package/types/protocol-mapping.d.ts +15 -1
- package/types/protocol-proxy-api.d.ts +11 -1
- package/types/protocol.d.ts +81 -7
@@ -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,
|
@@ -8992,7 +8985,14 @@
|
|
8992
8985
|
"parameters": [
|
8993
8986
|
{
|
8994
8987
|
"name": "securityOrigin",
|
8995
|
-
"description": "
|
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,
|
8996
8996
|
"type": "string"
|
8997
8997
|
},
|
8998
8998
|
{
|
@@ -9089,7 +9089,14 @@
|
|
9089
9089
|
"parameters": [
|
9090
9090
|
{
|
9091
9091
|
"name": "securityOrigin",
|
9092
|
-
"description": "
|
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,
|
9093
9100
|
"type": "string"
|
9094
9101
|
},
|
9095
9102
|
{
|
@@ -19304,6 +19311,17 @@
|
|
19304
19311
|
}
|
19305
19312
|
]
|
19306
19313
|
},
|
19314
|
+
{
|
19315
|
+
"name": "trackIndexedDBForStorageKey",
|
19316
|
+
"description": "Registers storage key to be notified when an update occurs to its IndexedDB.",
|
19317
|
+
"parameters": [
|
19318
|
+
{
|
19319
|
+
"name": "storageKey",
|
19320
|
+
"description": "Storage key.",
|
19321
|
+
"type": "string"
|
19322
|
+
}
|
19323
|
+
]
|
19324
|
+
},
|
19307
19325
|
{
|
19308
19326
|
"name": "untrackCacheStorageForOrigin",
|
19309
19327
|
"description": "Unregisters origin from receiving notifications for cache storage.",
|
@@ -19326,6 +19344,17 @@
|
|
19326
19344
|
}
|
19327
19345
|
]
|
19328
19346
|
},
|
19347
|
+
{
|
19348
|
+
"name": "untrackIndexedDBForStorageKey",
|
19349
|
+
"description": "Unregisters storage key from receiving notifications for IndexedDB.",
|
19350
|
+
"parameters": [
|
19351
|
+
{
|
19352
|
+
"name": "storageKey",
|
19353
|
+
"description": "Storage key.",
|
19354
|
+
"type": "string"
|
19355
|
+
}
|
19356
|
+
]
|
19357
|
+
},
|
19329
19358
|
{
|
19330
19359
|
"name": "getTrustTokens",
|
19331
19360
|
"description": "Returns the number of stored Trust Tokens per issuer for the\ncurrent browsing context.",
|
@@ -19428,6 +19457,11 @@
|
|
19428
19457
|
"description": "Origin to update.",
|
19429
19458
|
"type": "string"
|
19430
19459
|
},
|
19460
|
+
{
|
19461
|
+
"name": "storageKey",
|
19462
|
+
"description": "Storage key to update.",
|
19463
|
+
"type": "string"
|
19464
|
+
},
|
19431
19465
|
{
|
19432
19466
|
"name": "databaseName",
|
19433
19467
|
"description": "Database to update.",
|
@@ -19448,6 +19482,11 @@
|
|
19448
19482
|
"name": "origin",
|
19449
19483
|
"description": "Origin to update.",
|
19450
19484
|
"type": "string"
|
19485
|
+
},
|
19486
|
+
{
|
19487
|
+
"name": "storageKey",
|
19488
|
+
"description": "Storage key to update.",
|
19489
|
+
"type": "string"
|
19451
19490
|
}
|
19452
19491
|
]
|
19453
19492
|
},
|
@@ -19834,6 +19873,35 @@
|
|
19834
19873
|
}
|
19835
19874
|
]
|
19836
19875
|
},
|
19876
|
+
{
|
19877
|
+
"id": "FilterEntry",
|
19878
|
+
"description": "A filter used by target query/discovery/auto-attach operations.",
|
19879
|
+
"experimental": true,
|
19880
|
+
"type": "object",
|
19881
|
+
"properties": [
|
19882
|
+
{
|
19883
|
+
"name": "exclude",
|
19884
|
+
"description": "If set, causes exclusion of mathcing targets from the list.",
|
19885
|
+
"optional": true,
|
19886
|
+
"type": "boolean"
|
19887
|
+
},
|
19888
|
+
{
|
19889
|
+
"name": "type",
|
19890
|
+
"description": "If not present, matches any type.",
|
19891
|
+
"optional": true,
|
19892
|
+
"type": "string"
|
19893
|
+
}
|
19894
|
+
]
|
19895
|
+
},
|
19896
|
+
{
|
19897
|
+
"id": "TargetFilter",
|
19898
|
+
"description": "The entries in TargetFilter are matched sequentially against targets and\nthe first entry that matches determines if the target is included or not,\ndepending on the value of `exclude` field in the entry.\nIf filter is not specified, the one assumed is\n[{type: \"browser\", exclude: true}, {type: \"tab\", exclude: true}, {}]\n(i.e. include everything but `browser` and `tab`).",
|
19899
|
+
"experimental": true,
|
19900
|
+
"type": "array",
|
19901
|
+
"items": {
|
19902
|
+
"$ref": "FilterEntry"
|
19903
|
+
}
|
19904
|
+
},
|
19837
19905
|
{
|
19838
19906
|
"id": "RemoteLocation",
|
19839
19907
|
"experimental": true,
|
@@ -20094,6 +20162,15 @@
|
|
20094
20162
|
{
|
20095
20163
|
"name": "getTargets",
|
20096
20164
|
"description": "Retrieves a list of available targets.",
|
20165
|
+
"parameters": [
|
20166
|
+
{
|
20167
|
+
"name": "filter",
|
20168
|
+
"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.",
|
20169
|
+
"experimental": true,
|
20170
|
+
"optional": true,
|
20171
|
+
"$ref": "TargetFilter"
|
20172
|
+
}
|
20173
|
+
],
|
20097
20174
|
"returns": [
|
20098
20175
|
{
|
20099
20176
|
"name": "targetInfos",
|
@@ -20149,6 +20226,13 @@
|
|
20149
20226
|
"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.",
|
20150
20227
|
"optional": true,
|
20151
20228
|
"type": "boolean"
|
20229
|
+
},
|
20230
|
+
{
|
20231
|
+
"name": "filter",
|
20232
|
+
"description": "Only targets matching filter will be attached.",
|
20233
|
+
"experimental": true,
|
20234
|
+
"optional": true,
|
20235
|
+
"$ref": "TargetFilter"
|
20152
20236
|
}
|
20153
20237
|
]
|
20154
20238
|
},
|
@@ -20165,6 +20249,13 @@
|
|
20165
20249
|
"name": "waitForDebuggerOnStart",
|
20166
20250
|
"description": "Whether to pause new targets when attaching to them. Use `Runtime.runIfWaitingForDebugger`\nto run paused targets.",
|
20167
20251
|
"type": "boolean"
|
20252
|
+
},
|
20253
|
+
{
|
20254
|
+
"name": "filter",
|
20255
|
+
"description": "Only targets matching filter will be attached.",
|
20256
|
+
"experimental": true,
|
20257
|
+
"optional": true,
|
20258
|
+
"$ref": "TargetFilter"
|
20168
20259
|
}
|
20169
20260
|
]
|
20170
20261
|
},
|
@@ -20176,6 +20267,13 @@
|
|
20176
20267
|
"name": "discover",
|
20177
20268
|
"description": "Whether to discover available targets.",
|
20178
20269
|
"type": "boolean"
|
20270
|
+
},
|
20271
|
+
{
|
20272
|
+
"name": "filter",
|
20273
|
+
"description": "Only targets matching filter will be attached. If `discover` is false,\n`filter` must be omitted or empty.",
|
20274
|
+
"experimental": true,
|
20275
|
+
"optional": true,
|
20276
|
+
"$ref": "TargetFilter"
|
20179
20277
|
}
|
20180
20278
|
]
|
20181
20279
|
},
|
package/package.json
CHANGED
package/pdl/browser_protocol.pdl
CHANGED
@@ -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
|
@@ -4125,8 +4120,11 @@ experimental domain IndexedDB
|
|
4125
4120
|
# Requests data from object store or index.
|
4126
4121
|
command requestData
|
4127
4122
|
parameters
|
4123
|
+
# At least and at most one of securityOrigin, storageKey must be specified.
|
4128
4124
|
# Security origin.
|
4129
|
-
string securityOrigin
|
4125
|
+
optional string securityOrigin
|
4126
|
+
# Storage key.
|
4127
|
+
optional string storageKey
|
4130
4128
|
# Database name.
|
4131
4129
|
string databaseName
|
4132
4130
|
# Object store name.
|
@@ -4168,8 +4166,11 @@ experimental domain IndexedDB
|
|
4168
4166
|
# Requests database with given name in given frame.
|
4169
4167
|
command requestDatabase
|
4170
4168
|
parameters
|
4169
|
+
# At least and at most one of securityOrigin, storageKey must be specified.
|
4171
4170
|
# Security origin.
|
4172
|
-
string securityOrigin
|
4171
|
+
optional string securityOrigin
|
4172
|
+
# Storage key.
|
4173
|
+
optional string storageKey
|
4173
4174
|
# Database name.
|
4174
4175
|
string databaseName
|
4175
4176
|
returns
|
@@ -9090,6 +9091,12 @@ experimental domain Storage
|
|
9090
9091
|
# Security origin.
|
9091
9092
|
string origin
|
9092
9093
|
|
9094
|
+
# Registers storage key to be notified when an update occurs to its IndexedDB.
|
9095
|
+
command trackIndexedDBForStorageKey
|
9096
|
+
parameters
|
9097
|
+
# Storage key.
|
9098
|
+
string storageKey
|
9099
|
+
|
9093
9100
|
# Unregisters origin from receiving notifications for cache storage.
|
9094
9101
|
command untrackCacheStorageForOrigin
|
9095
9102
|
parameters
|
@@ -9102,6 +9109,12 @@ experimental domain Storage
|
|
9102
9109
|
# Security origin.
|
9103
9110
|
string origin
|
9104
9111
|
|
9112
|
+
# Unregisters storage key from receiving notifications for IndexedDB.
|
9113
|
+
command untrackIndexedDBForStorageKey
|
9114
|
+
parameters
|
9115
|
+
# Storage key.
|
9116
|
+
string storageKey
|
9117
|
+
|
9105
9118
|
# Returns the number of stored Trust Tokens per issuer for the
|
9106
9119
|
# current browsing context.
|
9107
9120
|
experimental command getTrustTokens
|
@@ -9149,6 +9162,8 @@ experimental domain Storage
|
|
9149
9162
|
parameters
|
9150
9163
|
# Origin to update.
|
9151
9164
|
string origin
|
9165
|
+
# Storage key to update.
|
9166
|
+
string storageKey
|
9152
9167
|
# Database to update.
|
9153
9168
|
string databaseName
|
9154
9169
|
# ObjectStore to update.
|
@@ -9159,6 +9174,8 @@ experimental domain Storage
|
|
9159
9174
|
parameters
|
9160
9175
|
# Origin to update.
|
9161
9176
|
string origin
|
9177
|
+
# Storage key to update.
|
9178
|
+
string storageKey
|
9162
9179
|
|
9163
9180
|
# One of the interest groups was accessed by the associated page.
|
9164
9181
|
event interestGroupAccessed
|
@@ -9325,6 +9342,22 @@ domain Target
|
|
9325
9342
|
experimental optional Page.FrameId openerFrameId
|
9326
9343
|
experimental optional Browser.BrowserContextID browserContextId
|
9327
9344
|
|
9345
|
+
# A filter used by target query/discovery/auto-attach operations.
|
9346
|
+
experimental type FilterEntry extends object
|
9347
|
+
properties
|
9348
|
+
# If set, causes exclusion of mathcing targets from the list.
|
9349
|
+
optional boolean exclude
|
9350
|
+
# If not present, matches any type.
|
9351
|
+
optional string type
|
9352
|
+
|
9353
|
+
# The entries in TargetFilter are matched sequentially against targets and
|
9354
|
+
# the first entry that matches determines if the target is included or not,
|
9355
|
+
# depending on the value of `exclude` field in the entry.
|
9356
|
+
# If filter is not specified, the one assumed is
|
9357
|
+
# [{type: "browser", exclude: true}, {type: "tab", exclude: true}, {}]
|
9358
|
+
# (i.e. include everything but `browser` and `tab`).
|
9359
|
+
experimental type TargetFilter extends array of FilterEntry
|
9360
|
+
|
9328
9361
|
experimental type RemoteLocation extends object
|
9329
9362
|
properties
|
9330
9363
|
string host
|
@@ -9388,7 +9421,6 @@ domain Target
|
|
9388
9421
|
# An optional list of origins to grant unlimited cross-origin access to.
|
9389
9422
|
# Parts of the URL other than those constituting origin are ignored.
|
9390
9423
|
optional array of string originsWithUniversalNetworkAccess
|
9391
|
-
|
9392
9424
|
returns
|
9393
9425
|
# The id of the context created.
|
9394
9426
|
Browser.BrowserContextID browserContextId
|
@@ -9445,6 +9477,11 @@ domain Target
|
|
9445
9477
|
|
9446
9478
|
# Retrieves a list of available targets.
|
9447
9479
|
command getTargets
|
9480
|
+
parameters
|
9481
|
+
# Only targets matching filter will be reported. If filter is not specified
|
9482
|
+
# and target discovery is currently enabled, a filter used for target discovery
|
9483
|
+
# is used for consistency.
|
9484
|
+
experimental optional TargetFilter filter
|
9448
9485
|
returns
|
9449
9486
|
# The list of targets.
|
9450
9487
|
array of TargetInfo targetInfos
|
@@ -9476,6 +9513,8 @@ domain Target
|
|
9476
9513
|
# We plan to make this the default, deprecate non-flattened mode,
|
9477
9514
|
# and eventually retire it. See crbug.com/991325.
|
9478
9515
|
optional boolean flatten
|
9516
|
+
# Only targets matching filter will be attached.
|
9517
|
+
experimental optional TargetFilter filter
|
9479
9518
|
|
9480
9519
|
# Adds the specified target to the list of targets that will be monitored for any related target
|
9481
9520
|
# creation (such as child frames, child workers and new versions of service worker) and reported
|
@@ -9488,6 +9527,8 @@ domain Target
|
|
9488
9527
|
# Whether to pause new targets when attaching to them. Use `Runtime.runIfWaitingForDebugger`
|
9489
9528
|
# to run paused targets.
|
9490
9529
|
boolean waitForDebuggerOnStart
|
9530
|
+
# Only targets matching filter will be attached.
|
9531
|
+
experimental optional TargetFilter filter
|
9491
9532
|
|
9492
9533
|
# Controls whether to discover available targets and notify via
|
9493
9534
|
# `targetCreated/targetInfoChanged/targetDestroyed` events.
|
@@ -9495,6 +9536,9 @@ domain Target
|
|
9495
9536
|
parameters
|
9496
9537
|
# Whether to discover available targets.
|
9497
9538
|
boolean discover
|
9539
|
+
# Only targets matching filter will be attached. If `discover` is false,
|
9540
|
+
# `filter` must be omitted or empty.
|
9541
|
+
experimental optional TargetFilter filter
|
9498
9542
|
|
9499
9543
|
# Enables target discovery for the specified locations, when `setDiscoverTargets` was set to
|
9500
9544
|
# `true`.
|
@@ -4052,6 +4052,13 @@ export namespace ProtocolMapping {
|
|
4052
4052
|
paramsType: [Protocol.Storage.TrackIndexedDBForOriginRequest];
|
4053
4053
|
returnType: void;
|
4054
4054
|
};
|
4055
|
+
/**
|
4056
|
+
* Registers storage key to be notified when an update occurs to its IndexedDB.
|
4057
|
+
*/
|
4058
|
+
'Storage.trackIndexedDBForStorageKey': {
|
4059
|
+
paramsType: [Protocol.Storage.TrackIndexedDBForStorageKeyRequest];
|
4060
|
+
returnType: void;
|
4061
|
+
};
|
4055
4062
|
/**
|
4056
4063
|
* Unregisters origin from receiving notifications for cache storage.
|
4057
4064
|
*/
|
@@ -4066,6 +4073,13 @@ export namespace ProtocolMapping {
|
|
4066
4073
|
paramsType: [Protocol.Storage.UntrackIndexedDBForOriginRequest];
|
4067
4074
|
returnType: void;
|
4068
4075
|
};
|
4076
|
+
/**
|
4077
|
+
* Unregisters storage key from receiving notifications for IndexedDB.
|
4078
|
+
*/
|
4079
|
+
'Storage.untrackIndexedDBForStorageKey': {
|
4080
|
+
paramsType: [Protocol.Storage.UntrackIndexedDBForStorageKeyRequest];
|
4081
|
+
returnType: void;
|
4082
|
+
};
|
4069
4083
|
/**
|
4070
4084
|
* Returns the number of stored Trust Tokens per issuer for the
|
4071
4085
|
* current browsing context.
|
@@ -4200,7 +4214,7 @@ export namespace ProtocolMapping {
|
|
4200
4214
|
* Retrieves a list of available targets.
|
4201
4215
|
*/
|
4202
4216
|
'Target.getTargets': {
|
4203
|
-
paramsType: [];
|
4217
|
+
paramsType: [Protocol.Target.GetTargetsRequest?];
|
4204
4218
|
returnType: Protocol.Target.GetTargetsResponse;
|
4205
4219
|
};
|
4206
4220
|
/**
|
@@ -3284,6 +3284,11 @@ export namespace ProtocolProxyApi {
|
|
3284
3284
|
*/
|
3285
3285
|
trackIndexedDBForOrigin(params: Protocol.Storage.TrackIndexedDBForOriginRequest): Promise<void>;
|
3286
3286
|
|
3287
|
+
/**
|
3288
|
+
* Registers storage key to be notified when an update occurs to its IndexedDB.
|
3289
|
+
*/
|
3290
|
+
trackIndexedDBForStorageKey(params: Protocol.Storage.TrackIndexedDBForStorageKeyRequest): Promise<void>;
|
3291
|
+
|
3287
3292
|
/**
|
3288
3293
|
* Unregisters origin from receiving notifications for cache storage.
|
3289
3294
|
*/
|
@@ -3294,6 +3299,11 @@ export namespace ProtocolProxyApi {
|
|
3294
3299
|
*/
|
3295
3300
|
untrackIndexedDBForOrigin(params: Protocol.Storage.UntrackIndexedDBForOriginRequest): Promise<void>;
|
3296
3301
|
|
3302
|
+
/**
|
3303
|
+
* Unregisters storage key from receiving notifications for IndexedDB.
|
3304
|
+
*/
|
3305
|
+
untrackIndexedDBForStorageKey(params: Protocol.Storage.UntrackIndexedDBForStorageKeyRequest): Promise<void>;
|
3306
|
+
|
3297
3307
|
/**
|
3298
3308
|
* Returns the number of stored Trust Tokens per issuer for the
|
3299
3309
|
* current browsing context.
|
@@ -3424,7 +3434,7 @@ export namespace ProtocolProxyApi {
|
|
3424
3434
|
/**
|
3425
3435
|
* Retrieves a list of available targets.
|
3426
3436
|
*/
|
3427
|
-
getTargets(): Promise<Protocol.Target.GetTargetsResponse>;
|
3437
|
+
getTargets(params: Protocol.Target.GetTargetsRequest): Promise<Protocol.Target.GetTargetsResponse>;
|
3428
3438
|
|
3429
3439
|
/**
|
3430
3440
|
* Sends protocol message over session with given id.
|
package/types/protocol.d.ts
CHANGED
@@ -3423,7 +3423,7 @@ export namespace Protocol {
|
|
3423
3423
|
clientSecurityState?: Network.ClientSecurityState;
|
3424
3424
|
}
|
3425
3425
|
|
3426
|
-
export type AttributionReportingIssueType = ('PermissionPolicyDisabled' | '
|
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;
|
@@ -8163,9 +8159,14 @@ export namespace Protocol {
|
|
8163
8159
|
|
8164
8160
|
export interface RequestDataRequest {
|
8165
8161
|
/**
|
8162
|
+
* At least and at most one of securityOrigin, storageKey must be specified.
|
8166
8163
|
* Security origin.
|
8167
8164
|
*/
|
8168
|
-
securityOrigin
|
8165
|
+
securityOrigin?: string;
|
8166
|
+
/**
|
8167
|
+
* Storage key.
|
8168
|
+
*/
|
8169
|
+
storageKey?: string;
|
8169
8170
|
/**
|
8170
8171
|
* Database name.
|
8171
8172
|
*/
|
@@ -8238,9 +8239,14 @@ export namespace Protocol {
|
|
8238
8239
|
|
8239
8240
|
export interface RequestDatabaseRequest {
|
8240
8241
|
/**
|
8242
|
+
* At least and at most one of securityOrigin, storageKey must be specified.
|
8241
8243
|
* Security origin.
|
8242
8244
|
*/
|
8243
|
-
securityOrigin
|
8245
|
+
securityOrigin?: string;
|
8246
|
+
/**
|
8247
|
+
* Storage key.
|
8248
|
+
*/
|
8249
|
+
storageKey?: string;
|
8244
8250
|
/**
|
8245
8251
|
* Database name.
|
8246
8252
|
*/
|
@@ -14684,6 +14690,13 @@ export namespace Protocol {
|
|
14684
14690
|
origin: string;
|
14685
14691
|
}
|
14686
14692
|
|
14693
|
+
export interface TrackIndexedDBForStorageKeyRequest {
|
14694
|
+
/**
|
14695
|
+
* Storage key.
|
14696
|
+
*/
|
14697
|
+
storageKey: string;
|
14698
|
+
}
|
14699
|
+
|
14687
14700
|
export interface UntrackCacheStorageForOriginRequest {
|
14688
14701
|
/**
|
14689
14702
|
* Security origin.
|
@@ -14698,6 +14711,13 @@ export namespace Protocol {
|
|
14698
14711
|
origin: string;
|
14699
14712
|
}
|
14700
14713
|
|
14714
|
+
export interface UntrackIndexedDBForStorageKeyRequest {
|
14715
|
+
/**
|
14716
|
+
* Storage key.
|
14717
|
+
*/
|
14718
|
+
storageKey: string;
|
14719
|
+
}
|
14720
|
+
|
14701
14721
|
export interface GetTrustTokensResponse {
|
14702
14722
|
tokens: TrustTokens[];
|
14703
14723
|
}
|
@@ -14758,6 +14778,10 @@ export namespace Protocol {
|
|
14758
14778
|
* Origin to update.
|
14759
14779
|
*/
|
14760
14780
|
origin: string;
|
14781
|
+
/**
|
14782
|
+
* Storage key to update.
|
14783
|
+
*/
|
14784
|
+
storageKey: string;
|
14761
14785
|
/**
|
14762
14786
|
* Database to update.
|
14763
14787
|
*/
|
@@ -14776,6 +14800,10 @@ export namespace Protocol {
|
|
14776
14800
|
* Origin to update.
|
14777
14801
|
*/
|
14778
14802
|
origin: string;
|
14803
|
+
/**
|
14804
|
+
* Storage key to update.
|
14805
|
+
*/
|
14806
|
+
storageKey: string;
|
14779
14807
|
}
|
14780
14808
|
|
14781
14809
|
/**
|
@@ -15039,6 +15067,30 @@ export namespace Protocol {
|
|
15039
15067
|
browserContextId?: Browser.BrowserContextID;
|
15040
15068
|
}
|
15041
15069
|
|
15070
|
+
/**
|
15071
|
+
* A filter used by target query/discovery/auto-attach operations.
|
15072
|
+
*/
|
15073
|
+
export interface FilterEntry {
|
15074
|
+
/**
|
15075
|
+
* If set, causes exclusion of mathcing targets from the list.
|
15076
|
+
*/
|
15077
|
+
exclude?: boolean;
|
15078
|
+
/**
|
15079
|
+
* If not present, matches any type.
|
15080
|
+
*/
|
15081
|
+
type?: string;
|
15082
|
+
}
|
15083
|
+
|
15084
|
+
/**
|
15085
|
+
* The entries in TargetFilter are matched sequentially against targets and
|
15086
|
+
* the first entry that matches determines if the target is included or not,
|
15087
|
+
* depending on the value of `exclude` field in the entry.
|
15088
|
+
* If filter is not specified, the one assumed is
|
15089
|
+
* [{type: "browser", exclude: true}, {type: "tab", exclude: true}, {}]
|
15090
|
+
* (i.e. include everything but `browser` and `tab`).
|
15091
|
+
*/
|
15092
|
+
export type TargetFilter = FilterEntry[];
|
15093
|
+
|
15042
15094
|
export interface RemoteLocation {
|
15043
15095
|
host: string;
|
15044
15096
|
port: integer;
|
@@ -15188,6 +15240,15 @@ export namespace Protocol {
|
|
15188
15240
|
targetInfo: TargetInfo;
|
15189
15241
|
}
|
15190
15242
|
|
15243
|
+
export interface GetTargetsRequest {
|
15244
|
+
/**
|
15245
|
+
* Only targets matching filter will be reported. If filter is not specified
|
15246
|
+
* and target discovery is currently enabled, a filter used for target discovery
|
15247
|
+
* is used for consistency.
|
15248
|
+
*/
|
15249
|
+
filter?: TargetFilter;
|
15250
|
+
}
|
15251
|
+
|
15191
15252
|
export interface GetTargetsResponse {
|
15192
15253
|
/**
|
15193
15254
|
* The list of targets.
|
@@ -15223,6 +15284,10 @@ export namespace Protocol {
|
|
15223
15284
|
* and eventually retire it. See crbug.com/991325.
|
15224
15285
|
*/
|
15225
15286
|
flatten?: boolean;
|
15287
|
+
/**
|
15288
|
+
* Only targets matching filter will be attached.
|
15289
|
+
*/
|
15290
|
+
filter?: TargetFilter;
|
15226
15291
|
}
|
15227
15292
|
|
15228
15293
|
export interface AutoAttachRelatedRequest {
|
@@ -15232,6 +15297,10 @@ export namespace Protocol {
|
|
15232
15297
|
* to run paused targets.
|
15233
15298
|
*/
|
15234
15299
|
waitForDebuggerOnStart: boolean;
|
15300
|
+
/**
|
15301
|
+
* Only targets matching filter will be attached.
|
15302
|
+
*/
|
15303
|
+
filter?: TargetFilter;
|
15235
15304
|
}
|
15236
15305
|
|
15237
15306
|
export interface SetDiscoverTargetsRequest {
|
@@ -15239,6 +15308,11 @@ export namespace Protocol {
|
|
15239
15308
|
* Whether to discover available targets.
|
15240
15309
|
*/
|
15241
15310
|
discover: boolean;
|
15311
|
+
/**
|
15312
|
+
* Only targets matching filter will be attached. If `discover` is false,
|
15313
|
+
* `filter` must be omitted or empty.
|
15314
|
+
*/
|
15315
|
+
filter?: TargetFilter;
|
15242
15316
|
}
|
15243
15317
|
|
15244
15318
|
export interface SetRemoteLocationsRequest {
|