devtools-protocol 0.0.1136950 → 0.0.1137730

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.
@@ -8810,7 +8810,8 @@
8810
8810
  "domain": "IndexedDB",
8811
8811
  "experimental": true,
8812
8812
  "dependencies": [
8813
- "Runtime"
8813
+ "Runtime",
8814
+ "Storage"
8814
8815
  ],
8815
8816
  "types": [
8816
8817
  {
@@ -9031,7 +9032,7 @@
9031
9032
  "parameters": [
9032
9033
  {
9033
9034
  "name": "securityOrigin",
9034
- "description": "At least and at most one of securityOrigin, storageKey must be specified.\nSecurity origin.",
9035
+ "description": "At least and at most one of securityOrigin, storageKey, or storageBucket must be specified.\nSecurity origin.",
9035
9036
  "optional": true,
9036
9037
  "type": "string"
9037
9038
  },
@@ -9041,6 +9042,12 @@
9041
9042
  "optional": true,
9042
9043
  "type": "string"
9043
9044
  },
9045
+ {
9046
+ "name": "storageBucket",
9047
+ "description": "Storage bucket. If not specified, it uses the default bucket.",
9048
+ "optional": true,
9049
+ "$ref": "Storage.StorageBucket"
9050
+ },
9044
9051
  {
9045
9052
  "name": "databaseName",
9046
9053
  "description": "Database name.",
@@ -9059,7 +9066,7 @@
9059
9066
  "parameters": [
9060
9067
  {
9061
9068
  "name": "securityOrigin",
9062
- "description": "At least and at most one of securityOrigin, storageKey must be specified.\nSecurity origin.",
9069
+ "description": "At least and at most one of securityOrigin, storageKey, or storageBucket must be specified.\nSecurity origin.",
9063
9070
  "optional": true,
9064
9071
  "type": "string"
9065
9072
  },
@@ -9069,6 +9076,12 @@
9069
9076
  "optional": true,
9070
9077
  "type": "string"
9071
9078
  },
9079
+ {
9080
+ "name": "storageBucket",
9081
+ "description": "Storage bucket. If not specified, it uses the default bucket.",
9082
+ "optional": true,
9083
+ "$ref": "Storage.StorageBucket"
9084
+ },
9072
9085
  {
9073
9086
  "name": "databaseName",
9074
9087
  "description": "Database name.",
@@ -9082,7 +9095,7 @@
9082
9095
  "parameters": [
9083
9096
  {
9084
9097
  "name": "securityOrigin",
9085
- "description": "At least and at most one of securityOrigin, storageKey must be specified.\nSecurity origin.",
9098
+ "description": "At least and at most one of securityOrigin, storageKey, or storageBucket must be specified.\nSecurity origin.",
9086
9099
  "optional": true,
9087
9100
  "type": "string"
9088
9101
  },
@@ -9092,6 +9105,12 @@
9092
9105
  "optional": true,
9093
9106
  "type": "string"
9094
9107
  },
9108
+ {
9109
+ "name": "storageBucket",
9110
+ "description": "Storage bucket. If not specified, it uses the default bucket.",
9111
+ "optional": true,
9112
+ "$ref": "Storage.StorageBucket"
9113
+ },
9095
9114
  {
9096
9115
  "name": "databaseName",
9097
9116
  "type": "string"
@@ -9121,7 +9140,7 @@
9121
9140
  "parameters": [
9122
9141
  {
9123
9142
  "name": "securityOrigin",
9124
- "description": "At least and at most one of securityOrigin, storageKey must be specified.\nSecurity origin.",
9143
+ "description": "At least and at most one of securityOrigin, storageKey, or storageBucket must be specified.\nSecurity origin.",
9125
9144
  "optional": true,
9126
9145
  "type": "string"
9127
9146
  },
@@ -9131,6 +9150,12 @@
9131
9150
  "optional": true,
9132
9151
  "type": "string"
9133
9152
  },
9153
+ {
9154
+ "name": "storageBucket",
9155
+ "description": "Storage bucket. If not specified, it uses the default bucket.",
9156
+ "optional": true,
9157
+ "$ref": "Storage.StorageBucket"
9158
+ },
9134
9159
  {
9135
9160
  "name": "databaseName",
9136
9161
  "description": "Database name.",
@@ -9185,7 +9210,7 @@
9185
9210
  "parameters": [
9186
9211
  {
9187
9212
  "name": "securityOrigin",
9188
- "description": "At least and at most one of securityOrigin, storageKey must be specified.\nSecurity origin.",
9213
+ "description": "At least and at most one of securityOrigin, storageKey, or storageBucket must be specified.\nSecurity origin.",
9189
9214
  "optional": true,
9190
9215
  "type": "string"
9191
9216
  },
@@ -9195,6 +9220,12 @@
9195
9220
  "optional": true,
9196
9221
  "type": "string"
9197
9222
  },
9223
+ {
9224
+ "name": "storageBucket",
9225
+ "description": "Storage bucket. If not specified, it uses the default bucket.",
9226
+ "optional": true,
9227
+ "$ref": "Storage.StorageBucket"
9228
+ },
9198
9229
  {
9199
9230
  "name": "databaseName",
9200
9231
  "description": "Database name.",
@@ -9225,7 +9256,7 @@
9225
9256
  "parameters": [
9226
9257
  {
9227
9258
  "name": "securityOrigin",
9228
- "description": "At least and at most one of securityOrigin, storageKey must be specified.\nSecurity origin.",
9259
+ "description": "At least and at most one of securityOrigin, storageKey, or storageBucket must be specified.\nSecurity origin.",
9229
9260
  "optional": true,
9230
9261
  "type": "string"
9231
9262
  },
@@ -9235,6 +9266,12 @@
9235
9266
  "optional": true,
9236
9267
  "type": "string"
9237
9268
  },
9269
+ {
9270
+ "name": "storageBucket",
9271
+ "description": "Storage bucket. If not specified, it uses the default bucket.",
9272
+ "optional": true,
9273
+ "$ref": "Storage.StorageBucket"
9274
+ },
9238
9275
  {
9239
9276
  "name": "databaseName",
9240
9277
  "description": "Database name.",
@@ -9255,7 +9292,7 @@
9255
9292
  "parameters": [
9256
9293
  {
9257
9294
  "name": "securityOrigin",
9258
- "description": "At least and at most one of securityOrigin, storageKey must be specified.\nSecurity origin.",
9295
+ "description": "At least and at most one of securityOrigin, storageKey, or storageBucket must be specified.\nSecurity origin.",
9259
9296
  "optional": true,
9260
9297
  "type": "string"
9261
9298
  },
@@ -9264,6 +9301,12 @@
9264
9301
  "description": "Storage key.",
9265
9302
  "optional": true,
9266
9303
  "type": "string"
9304
+ },
9305
+ {
9306
+ "name": "storageBucket",
9307
+ "description": "Storage bucket. If not specified, it uses the default bucket.",
9308
+ "optional": true,
9309
+ "$ref": "Storage.StorageBucket"
9267
9310
  }
9268
9311
  ],
9269
9312
  "returns": [
@@ -19461,24 +19504,32 @@
19461
19504
  ]
19462
19505
  },
19463
19506
  {
19464
- "id": "StorageBucketInfo",
19507
+ "id": "StorageBucket",
19465
19508
  "type": "object",
19466
19509
  "properties": [
19467
19510
  {
19468
19511
  "name": "storageKey",
19469
19512
  "$ref": "SerializedStorageKey"
19470
19513
  },
19471
- {
19472
- "name": "id",
19473
- "type": "string"
19474
- },
19475
19514
  {
19476
19515
  "name": "name",
19516
+ "description": "If not specified, it is the default bucket of the storageKey.",
19517
+ "optional": true,
19477
19518
  "type": "string"
19519
+ }
19520
+ ]
19521
+ },
19522
+ {
19523
+ "id": "StorageBucketInfo",
19524
+ "type": "object",
19525
+ "properties": [
19526
+ {
19527
+ "name": "bucket",
19528
+ "$ref": "StorageBucket"
19478
19529
  },
19479
19530
  {
19480
- "name": "isDefault",
19481
- "type": "boolean"
19531
+ "name": "id",
19532
+ "type": "string"
19482
19533
  },
19483
19534
  {
19484
19535
  "name": "expiration",
@@ -19940,12 +19991,8 @@
19940
19991
  "experimental": true,
19941
19992
  "parameters": [
19942
19993
  {
19943
- "name": "storageKey",
19944
- "type": "string"
19945
- },
19946
- {
19947
- "name": "bucketName",
19948
- "type": "string"
19994
+ "name": "bucket",
19995
+ "$ref": "StorageBucket"
19949
19996
  }
19950
19997
  ]
19951
19998
  },
@@ -20016,6 +20063,11 @@
20016
20063
  "description": "Storage key to update.",
20017
20064
  "type": "string"
20018
20065
  },
20066
+ {
20067
+ "name": "bucketId",
20068
+ "description": "Storage bucket to update.",
20069
+ "type": "string"
20070
+ },
20019
20071
  {
20020
20072
  "name": "databaseName",
20021
20073
  "description": "Database to update.",
@@ -20041,6 +20093,11 @@
20041
20093
  "name": "storageKey",
20042
20094
  "description": "Storage key to update.",
20043
20095
  "type": "string"
20096
+ },
20097
+ {
20098
+ "name": "bucketId",
20099
+ "description": "Storage bucket to update.",
20100
+ "type": "string"
20044
20101
  }
20045
20102
  ]
20046
20103
  },
@@ -20101,7 +20158,7 @@
20101
20158
  "name": "storageBucketCreatedOrUpdated",
20102
20159
  "parameters": [
20103
20160
  {
20104
- "name": "bucket",
20161
+ "name": "bucketInfo",
20105
20162
  "$ref": "StorageBucketInfo"
20106
20163
  }
20107
20164
  ]
@@ -23001,6 +23058,22 @@
23001
23058
  "description": "Source text of JSON representing the rule set. If it comes from\n<script> tag, it is the textContent of the node. Note that it is\na JSON for valid case.\n\nSee also:\n- https://wicg.github.io/nav-speculation/speculation-rules.html\n- https://github.com/WICG/nav-speculation/blob/main/triggers.md",
23002
23059
  "type": "string"
23003
23060
  },
23061
+ {
23062
+ "name": "backendNodeId",
23063
+ "description": "A speculation rule set is either added through an inline\n<script> tag or through an external resource via the\n'Speculation-Rules' HTTP header. For the first case, we include\nthe BackendNodeId of the relevant <script> tag. For the second\ncase, we include the external URL where the rule set was loaded\nfrom, and also RequestId if Network domain is enabled.\n\nSee also:\n- https://wicg.github.io/nav-speculation/speculation-rules.html#speculation-rules-script\n- https://wicg.github.io/nav-speculation/speculation-rules.html#speculation-rules-header",
23064
+ "optional": true,
23065
+ "$ref": "DOM.BackendNodeId"
23066
+ },
23067
+ {
23068
+ "name": "url",
23069
+ "optional": true,
23070
+ "type": "string"
23071
+ },
23072
+ {
23073
+ "name": "requestId",
23074
+ "optional": true,
23075
+ "$ref": "Network.RequestId"
23076
+ },
23004
23077
  {
23005
23078
  "name": "errorType",
23006
23079
  "description": "Error information\n`errorMessage` is null iff `errorType` is null.",
@@ -2204,6 +2204,12 @@
2204
2204
  "name": "objectId",
2205
2205
  "optional": true,
2206
2206
  "type": "string"
2207
+ },
2208
+ {
2209
+ "name": "weakLocalObjectReference",
2210
+ "description": "Set if value reference met more then once during serialization. In such\ncase, value is provided only to one of the serialized values. Unique\nper value in the scope of one CDP call.",
2211
+ "optional": true,
2212
+ "type": "integer"
2207
2213
  }
2208
2214
  ]
2209
2215
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devtools-protocol",
3
- "version": "0.0.1136950",
3
+ "version": "0.0.1137730",
4
4
  "description": "The Chrome DevTools Protocol JSON",
5
5
  "repository": "https://github.com/ChromeDevTools/devtools-protocol",
6
6
  "author": "The Chromium Authors",
@@ -4028,6 +4028,7 @@ domain IO
4028
4028
 
4029
4029
  experimental domain IndexedDB
4030
4030
  depends on Runtime
4031
+ depends on Storage
4031
4032
 
4032
4033
  # Database with an array of object stores.
4033
4034
  type DatabaseWithObjectStores extends object
@@ -4120,11 +4121,13 @@ experimental domain IndexedDB
4120
4121
  # Clears all entries from an object store.
4121
4122
  command clearObjectStore
4122
4123
  parameters
4123
- # At least and at most one of securityOrigin, storageKey must be specified.
4124
+ # At least and at most one of securityOrigin, storageKey, or storageBucket must be specified.
4124
4125
  # Security origin.
4125
4126
  optional string securityOrigin
4126
4127
  # Storage key.
4127
4128
  optional string storageKey
4129
+ # Storage bucket. If not specified, it uses the default bucket.
4130
+ optional Storage.StorageBucket storageBucket
4128
4131
  # Database name.
4129
4132
  string databaseName
4130
4133
  # Object store name.
@@ -4133,22 +4136,26 @@ experimental domain IndexedDB
4133
4136
  # Deletes a database.
4134
4137
  command deleteDatabase
4135
4138
  parameters
4136
- # At least and at most one of securityOrigin, storageKey must be specified.
4139
+ # At least and at most one of securityOrigin, storageKey, or storageBucket must be specified.
4137
4140
  # Security origin.
4138
4141
  optional string securityOrigin
4139
4142
  # Storage key.
4140
4143
  optional string storageKey
4144
+ # Storage bucket. If not specified, it uses the default bucket.
4145
+ optional Storage.StorageBucket storageBucket
4141
4146
  # Database name.
4142
4147
  string databaseName
4143
4148
 
4144
4149
  # Delete a range of entries from an object store
4145
4150
  command deleteObjectStoreEntries
4146
4151
  parameters
4147
- # At least and at most one of securityOrigin, storageKey must be specified.
4152
+ # At least and at most one of securityOrigin, storageKey, or storageBucket must be specified.
4148
4153
  # Security origin.
4149
4154
  optional string securityOrigin
4150
4155
  # Storage key.
4151
4156
  optional string storageKey
4157
+ # Storage bucket. If not specified, it uses the default bucket.
4158
+ optional Storage.StorageBucket storageBucket
4152
4159
  string databaseName
4153
4160
  string objectStoreName
4154
4161
  # Range of entry keys to delete
@@ -4163,11 +4170,13 @@ experimental domain IndexedDB
4163
4170
  # Requests data from object store or index.
4164
4171
  command requestData
4165
4172
  parameters
4166
- # At least and at most one of securityOrigin, storageKey must be specified.
4173
+ # At least and at most one of securityOrigin, storageKey, or storageBucket must be specified.
4167
4174
  # Security origin.
4168
4175
  optional string securityOrigin
4169
4176
  # Storage key.
4170
4177
  optional string storageKey
4178
+ # Storage bucket. If not specified, it uses the default bucket.
4179
+ optional Storage.StorageBucket storageBucket
4171
4180
  # Database name.
4172
4181
  string databaseName
4173
4182
  # Object store name.
@@ -4189,11 +4198,13 @@ experimental domain IndexedDB
4189
4198
  # Gets metadata of an object store.
4190
4199
  command getMetadata
4191
4200
  parameters
4192
- # At least and at most one of securityOrigin, storageKey must be specified.
4201
+ # At least and at most one of securityOrigin, storageKey, or storageBucket must be specified.
4193
4202
  # Security origin.
4194
4203
  optional string securityOrigin
4195
4204
  # Storage key.
4196
4205
  optional string storageKey
4206
+ # Storage bucket. If not specified, it uses the default bucket.
4207
+ optional Storage.StorageBucket storageBucket
4197
4208
  # Database name.
4198
4209
  string databaseName
4199
4210
  # Object store name.
@@ -4209,11 +4220,13 @@ experimental domain IndexedDB
4209
4220
  # Requests database with given name in given frame.
4210
4221
  command requestDatabase
4211
4222
  parameters
4212
- # At least and at most one of securityOrigin, storageKey must be specified.
4223
+ # At least and at most one of securityOrigin, storageKey, or storageBucket must be specified.
4213
4224
  # Security origin.
4214
4225
  optional string securityOrigin
4215
4226
  # Storage key.
4216
4227
  optional string storageKey
4228
+ # Storage bucket. If not specified, it uses the default bucket.
4229
+ optional Storage.StorageBucket storageBucket
4217
4230
  # Database name.
4218
4231
  string databaseName
4219
4232
  returns
@@ -4223,11 +4236,13 @@ experimental domain IndexedDB
4223
4236
  # Requests database names for given security origin.
4224
4237
  command requestDatabaseNames
4225
4238
  parameters
4226
- # At least and at most one of securityOrigin, storageKey must be specified.
4239
+ # At least and at most one of securityOrigin, storageKey, or storageBucket must be specified.
4227
4240
  # Security origin.
4228
4241
  optional string securityOrigin
4229
4242
  # Storage key.
4230
4243
  optional string storageKey
4244
+ # Storage bucket. If not specified, it uses the default bucket.
4245
+ optional Storage.StorageBucket storageBucket
4231
4246
  returns
4232
4247
  # Database names for origin.
4233
4248
  array of string databaseNames
@@ -9166,12 +9181,16 @@ experimental domain Storage
9166
9181
  relaxed
9167
9182
  strict
9168
9183
 
9169
- type StorageBucketInfo extends object
9184
+ type StorageBucket extends object
9170
9185
  properties
9171
9186
  SerializedStorageKey storageKey
9187
+ # If not specified, it is the default bucket of the storageKey.
9188
+ optional string name
9189
+
9190
+ type StorageBucketInfo extends object
9191
+ properties
9192
+ StorageBucket bucket
9172
9193
  string id
9173
- string name
9174
- boolean isDefault
9175
9194
  Network.TimeSinceEpoch expiration
9176
9195
  # Storage quota (bytes).
9177
9196
  number quota
@@ -9383,8 +9402,7 @@ experimental domain Storage
9383
9402
  # Deletes the Storage Bucket with the given storage key and bucket name.
9384
9403
  experimental command deleteStorageBucket
9385
9404
  parameters
9386
- string storageKey
9387
- string bucketName
9405
+ StorageBucket bucket
9388
9406
 
9389
9407
  # Deletes state for sites identified as potential bounce trackers, immediately.
9390
9408
  experimental command runBounceTrackingMitigations
@@ -9416,6 +9434,8 @@ experimental domain Storage
9416
9434
  string origin
9417
9435
  # Storage key to update.
9418
9436
  string storageKey
9437
+ # Storage bucket to update.
9438
+ string bucketId
9419
9439
  # Database to update.
9420
9440
  string databaseName
9421
9441
  # ObjectStore to update.
@@ -9428,6 +9448,8 @@ experimental domain Storage
9428
9448
  string origin
9429
9449
  # Storage key to update.
9430
9450
  string storageKey
9451
+ # Storage bucket to update.
9452
+ string bucketId
9431
9453
 
9432
9454
  # One of the interest groups was accessed by the associated page.
9433
9455
  event interestGroupAccessed
@@ -9455,7 +9477,7 @@ experimental domain Storage
9455
9477
 
9456
9478
  event storageBucketCreatedOrUpdated
9457
9479
  parameters
9458
- StorageBucketInfo bucket
9480
+ StorageBucketInfo bucketInfo
9459
9481
 
9460
9482
  event storageBucketDeleted
9461
9483
  parameters
@@ -10832,6 +10854,19 @@ experimental domain Preload
10832
10854
  # - https://wicg.github.io/nav-speculation/speculation-rules.html
10833
10855
  # - https://github.com/WICG/nav-speculation/blob/main/triggers.md
10834
10856
  string sourceText
10857
+ # A speculation rule set is either added through an inline
10858
+ # <script> tag or through an external resource via the
10859
+ # 'Speculation-Rules' HTTP header. For the first case, we include
10860
+ # the BackendNodeId of the relevant <script> tag. For the second
10861
+ # case, we include the external URL where the rule set was loaded
10862
+ # from, and also RequestId if Network domain is enabled.
10863
+ #
10864
+ # See also:
10865
+ # - https://wicg.github.io/nav-speculation/speculation-rules.html#speculation-rules-script
10866
+ # - https://wicg.github.io/nav-speculation/speculation-rules.html#speculation-rules-header
10867
+ optional DOM.BackendNodeId backendNodeId
10868
+ optional string url
10869
+ optional Network.RequestId requestId
10835
10870
  # Error information
10836
10871
  # `errorMessage` is null iff `errorType` is null.
10837
10872
  optional RuleSetErrorType errorType
@@ -1044,6 +1044,10 @@ domain Runtime
1044
1044
  window
1045
1045
  optional any value
1046
1046
  optional string objectId
1047
+ # Set if value reference met more then once during serialization. In such
1048
+ # case, value is provided only to one of the serialized values. Unique
1049
+ # per value in the scope of one CDP call.
1050
+ optional integer weakLocalObjectReference
1047
1051
 
1048
1052
  # Unique object identifier.
1049
1053
  type RemoteObjectId extends string
@@ -1527,6 +1527,12 @@ export namespace Protocol {
1527
1527
  type: ('undefined' | 'null' | 'string' | 'number' | 'boolean' | 'bigint' | 'regexp' | 'date' | 'symbol' | 'array' | 'object' | 'function' | 'map' | 'set' | 'weakmap' | 'weakset' | 'error' | 'proxy' | 'promise' | 'typedarray' | 'arraybuffer' | 'node' | 'window');
1528
1528
  value?: any;
1529
1529
  objectId?: string;
1530
+ /**
1531
+ * Set if value reference met more then once during serialization. In such
1532
+ * case, value is provided only to one of the serialized values. Unique
1533
+ * per value in the scope of one CDP call.
1534
+ */
1535
+ weakLocalObjectReference?: integer;
1530
1536
  }
1531
1537
 
1532
1538
  /**
@@ -8188,7 +8194,7 @@ export namespace Protocol {
8188
8194
 
8189
8195
  export interface ClearObjectStoreRequest {
8190
8196
  /**
8191
- * At least and at most one of securityOrigin, storageKey must be specified.
8197
+ * At least and at most one of securityOrigin, storageKey, or storageBucket must be specified.
8192
8198
  * Security origin.
8193
8199
  */
8194
8200
  securityOrigin?: string;
@@ -8196,6 +8202,10 @@ export namespace Protocol {
8196
8202
  * Storage key.
8197
8203
  */
8198
8204
  storageKey?: string;
8205
+ /**
8206
+ * Storage bucket. If not specified, it uses the default bucket.
8207
+ */
8208
+ storageBucket?: Storage.StorageBucket;
8199
8209
  /**
8200
8210
  * Database name.
8201
8211
  */
@@ -8208,7 +8218,7 @@ export namespace Protocol {
8208
8218
 
8209
8219
  export interface DeleteDatabaseRequest {
8210
8220
  /**
8211
- * At least and at most one of securityOrigin, storageKey must be specified.
8221
+ * At least and at most one of securityOrigin, storageKey, or storageBucket must be specified.
8212
8222
  * Security origin.
8213
8223
  */
8214
8224
  securityOrigin?: string;
@@ -8216,6 +8226,10 @@ export namespace Protocol {
8216
8226
  * Storage key.
8217
8227
  */
8218
8228
  storageKey?: string;
8229
+ /**
8230
+ * Storage bucket. If not specified, it uses the default bucket.
8231
+ */
8232
+ storageBucket?: Storage.StorageBucket;
8219
8233
  /**
8220
8234
  * Database name.
8221
8235
  */
@@ -8224,7 +8238,7 @@ export namespace Protocol {
8224
8238
 
8225
8239
  export interface DeleteObjectStoreEntriesRequest {
8226
8240
  /**
8227
- * At least and at most one of securityOrigin, storageKey must be specified.
8241
+ * At least and at most one of securityOrigin, storageKey, or storageBucket must be specified.
8228
8242
  * Security origin.
8229
8243
  */
8230
8244
  securityOrigin?: string;
@@ -8232,6 +8246,10 @@ export namespace Protocol {
8232
8246
  * Storage key.
8233
8247
  */
8234
8248
  storageKey?: string;
8249
+ /**
8250
+ * Storage bucket. If not specified, it uses the default bucket.
8251
+ */
8252
+ storageBucket?: Storage.StorageBucket;
8235
8253
  databaseName: string;
8236
8254
  objectStoreName: string;
8237
8255
  /**
@@ -8242,7 +8260,7 @@ export namespace Protocol {
8242
8260
 
8243
8261
  export interface RequestDataRequest {
8244
8262
  /**
8245
- * At least and at most one of securityOrigin, storageKey must be specified.
8263
+ * At least and at most one of securityOrigin, storageKey, or storageBucket must be specified.
8246
8264
  * Security origin.
8247
8265
  */
8248
8266
  securityOrigin?: string;
@@ -8250,6 +8268,10 @@ export namespace Protocol {
8250
8268
  * Storage key.
8251
8269
  */
8252
8270
  storageKey?: string;
8271
+ /**
8272
+ * Storage bucket. If not specified, it uses the default bucket.
8273
+ */
8274
+ storageBucket?: Storage.StorageBucket;
8253
8275
  /**
8254
8276
  * Database name.
8255
8277
  */
@@ -8289,7 +8311,7 @@ export namespace Protocol {
8289
8311
 
8290
8312
  export interface GetMetadataRequest {
8291
8313
  /**
8292
- * At least and at most one of securityOrigin, storageKey must be specified.
8314
+ * At least and at most one of securityOrigin, storageKey, or storageBucket must be specified.
8293
8315
  * Security origin.
8294
8316
  */
8295
8317
  securityOrigin?: string;
@@ -8297,6 +8319,10 @@ export namespace Protocol {
8297
8319
  * Storage key.
8298
8320
  */
8299
8321
  storageKey?: string;
8322
+ /**
8323
+ * Storage bucket. If not specified, it uses the default bucket.
8324
+ */
8325
+ storageBucket?: Storage.StorageBucket;
8300
8326
  /**
8301
8327
  * Database name.
8302
8328
  */
@@ -8322,7 +8348,7 @@ export namespace Protocol {
8322
8348
 
8323
8349
  export interface RequestDatabaseRequest {
8324
8350
  /**
8325
- * At least and at most one of securityOrigin, storageKey must be specified.
8351
+ * At least and at most one of securityOrigin, storageKey, or storageBucket must be specified.
8326
8352
  * Security origin.
8327
8353
  */
8328
8354
  securityOrigin?: string;
@@ -8330,6 +8356,10 @@ export namespace Protocol {
8330
8356
  * Storage key.
8331
8357
  */
8332
8358
  storageKey?: string;
8359
+ /**
8360
+ * Storage bucket. If not specified, it uses the default bucket.
8361
+ */
8362
+ storageBucket?: Storage.StorageBucket;
8333
8363
  /**
8334
8364
  * Database name.
8335
8365
  */
@@ -8345,7 +8375,7 @@ export namespace Protocol {
8345
8375
 
8346
8376
  export interface RequestDatabaseNamesRequest {
8347
8377
  /**
8348
- * At least and at most one of securityOrigin, storageKey must be specified.
8378
+ * At least and at most one of securityOrigin, storageKey, or storageBucket must be specified.
8349
8379
  * Security origin.
8350
8380
  */
8351
8381
  securityOrigin?: string;
@@ -8353,6 +8383,10 @@ export namespace Protocol {
8353
8383
  * Storage key.
8354
8384
  */
8355
8385
  storageKey?: string;
8386
+ /**
8387
+ * Storage bucket. If not specified, it uses the default bucket.
8388
+ */
8389
+ storageBucket?: Storage.StorageBucket;
8356
8390
  }
8357
8391
 
8358
8392
  export interface RequestDatabaseNamesResponse {
@@ -14776,11 +14810,17 @@ export namespace Protocol {
14776
14810
 
14777
14811
  export type StorageBucketsDurability = ('relaxed' | 'strict');
14778
14812
 
14779
- export interface StorageBucketInfo {
14813
+ export interface StorageBucket {
14780
14814
  storageKey: SerializedStorageKey;
14815
+ /**
14816
+ * If not specified, it is the default bucket of the storageKey.
14817
+ */
14818
+ name?: string;
14819
+ }
14820
+
14821
+ export interface StorageBucketInfo {
14822
+ bucket: StorageBucket;
14781
14823
  id: string;
14782
- name: string;
14783
- isDefault: boolean;
14784
14824
  expiration: Network.TimeSinceEpoch;
14785
14825
  /**
14786
14826
  * Storage quota (bytes).
@@ -15029,8 +15069,7 @@ export namespace Protocol {
15029
15069
  }
15030
15070
 
15031
15071
  export interface DeleteStorageBucketRequest {
15032
- storageKey: string;
15033
- bucketName: string;
15072
+ bucket: StorageBucket;
15034
15073
  }
15035
15074
 
15036
15075
  export interface RunBounceTrackingMitigationsResponse {
@@ -15081,6 +15120,10 @@ export namespace Protocol {
15081
15120
  * Storage key to update.
15082
15121
  */
15083
15122
  storageKey: string;
15123
+ /**
15124
+ * Storage bucket to update.
15125
+ */
15126
+ bucketId: string;
15084
15127
  /**
15085
15128
  * Database to update.
15086
15129
  */
@@ -15103,6 +15146,10 @@ export namespace Protocol {
15103
15146
  * Storage key to update.
15104
15147
  */
15105
15148
  storageKey: string;
15149
+ /**
15150
+ * Storage bucket to update.
15151
+ */
15152
+ bucketId: string;
15106
15153
  }
15107
15154
 
15108
15155
  /**
@@ -15144,7 +15191,7 @@ export namespace Protocol {
15144
15191
  }
15145
15192
 
15146
15193
  export interface StorageBucketCreatedOrUpdatedEvent {
15147
- bucket: StorageBucketInfo;
15194
+ bucketInfo: StorageBucketInfo;
15148
15195
  }
15149
15196
 
15150
15197
  export interface StorageBucketDeletedEvent {
@@ -16976,6 +17023,21 @@ export namespace Protocol {
16976
17023
  * - https://github.com/WICG/nav-speculation/blob/main/triggers.md
16977
17024
  */
16978
17025
  sourceText: string;
17026
+ /**
17027
+ * A speculation rule set is either added through an inline
17028
+ * <script> tag or through an external resource via the
17029
+ * 'Speculation-Rules' HTTP header. For the first case, we include
17030
+ * the BackendNodeId of the relevant <script> tag. For the second
17031
+ * case, we include the external URL where the rule set was loaded
17032
+ * from, and also RequestId if Network domain is enabled.
17033
+ *
17034
+ * See also:
17035
+ * - https://wicg.github.io/nav-speculation/speculation-rules.html#speculation-rules-script
17036
+ * - https://wicg.github.io/nav-speculation/speculation-rules.html#speculation-rules-header
17037
+ */
17038
+ backendNodeId?: DOM.BackendNodeId;
17039
+ url?: string;
17040
+ requestId?: Network.RequestId;
16979
17041
  /**
16980
17042
  * Error information
16981
17043
  * `errorMessage` is null iff `errorType` is null.