devtools-protocol 0.0.1136950 → 0.0.1137505

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.",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devtools-protocol",
3
- "version": "0.0.1136950",
3
+ "version": "0.0.1137505",
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
@@ -8188,7 +8188,7 @@ export namespace Protocol {
8188
8188
 
8189
8189
  export interface ClearObjectStoreRequest {
8190
8190
  /**
8191
- * At least and at most one of securityOrigin, storageKey must be specified.
8191
+ * At least and at most one of securityOrigin, storageKey, or storageBucket must be specified.
8192
8192
  * Security origin.
8193
8193
  */
8194
8194
  securityOrigin?: string;
@@ -8196,6 +8196,10 @@ export namespace Protocol {
8196
8196
  * Storage key.
8197
8197
  */
8198
8198
  storageKey?: string;
8199
+ /**
8200
+ * Storage bucket. If not specified, it uses the default bucket.
8201
+ */
8202
+ storageBucket?: Storage.StorageBucket;
8199
8203
  /**
8200
8204
  * Database name.
8201
8205
  */
@@ -8208,7 +8212,7 @@ export namespace Protocol {
8208
8212
 
8209
8213
  export interface DeleteDatabaseRequest {
8210
8214
  /**
8211
- * At least and at most one of securityOrigin, storageKey must be specified.
8215
+ * At least and at most one of securityOrigin, storageKey, or storageBucket must be specified.
8212
8216
  * Security origin.
8213
8217
  */
8214
8218
  securityOrigin?: string;
@@ -8216,6 +8220,10 @@ export namespace Protocol {
8216
8220
  * Storage key.
8217
8221
  */
8218
8222
  storageKey?: string;
8223
+ /**
8224
+ * Storage bucket. If not specified, it uses the default bucket.
8225
+ */
8226
+ storageBucket?: Storage.StorageBucket;
8219
8227
  /**
8220
8228
  * Database name.
8221
8229
  */
@@ -8224,7 +8232,7 @@ export namespace Protocol {
8224
8232
 
8225
8233
  export interface DeleteObjectStoreEntriesRequest {
8226
8234
  /**
8227
- * At least and at most one of securityOrigin, storageKey must be specified.
8235
+ * At least and at most one of securityOrigin, storageKey, or storageBucket must be specified.
8228
8236
  * Security origin.
8229
8237
  */
8230
8238
  securityOrigin?: string;
@@ -8232,6 +8240,10 @@ export namespace Protocol {
8232
8240
  * Storage key.
8233
8241
  */
8234
8242
  storageKey?: string;
8243
+ /**
8244
+ * Storage bucket. If not specified, it uses the default bucket.
8245
+ */
8246
+ storageBucket?: Storage.StorageBucket;
8235
8247
  databaseName: string;
8236
8248
  objectStoreName: string;
8237
8249
  /**
@@ -8242,7 +8254,7 @@ export namespace Protocol {
8242
8254
 
8243
8255
  export interface RequestDataRequest {
8244
8256
  /**
8245
- * At least and at most one of securityOrigin, storageKey must be specified.
8257
+ * At least and at most one of securityOrigin, storageKey, or storageBucket must be specified.
8246
8258
  * Security origin.
8247
8259
  */
8248
8260
  securityOrigin?: string;
@@ -8250,6 +8262,10 @@ export namespace Protocol {
8250
8262
  * Storage key.
8251
8263
  */
8252
8264
  storageKey?: string;
8265
+ /**
8266
+ * Storage bucket. If not specified, it uses the default bucket.
8267
+ */
8268
+ storageBucket?: Storage.StorageBucket;
8253
8269
  /**
8254
8270
  * Database name.
8255
8271
  */
@@ -8289,7 +8305,7 @@ export namespace Protocol {
8289
8305
 
8290
8306
  export interface GetMetadataRequest {
8291
8307
  /**
8292
- * At least and at most one of securityOrigin, storageKey must be specified.
8308
+ * At least and at most one of securityOrigin, storageKey, or storageBucket must be specified.
8293
8309
  * Security origin.
8294
8310
  */
8295
8311
  securityOrigin?: string;
@@ -8297,6 +8313,10 @@ export namespace Protocol {
8297
8313
  * Storage key.
8298
8314
  */
8299
8315
  storageKey?: string;
8316
+ /**
8317
+ * Storage bucket. If not specified, it uses the default bucket.
8318
+ */
8319
+ storageBucket?: Storage.StorageBucket;
8300
8320
  /**
8301
8321
  * Database name.
8302
8322
  */
@@ -8322,7 +8342,7 @@ export namespace Protocol {
8322
8342
 
8323
8343
  export interface RequestDatabaseRequest {
8324
8344
  /**
8325
- * At least and at most one of securityOrigin, storageKey must be specified.
8345
+ * At least and at most one of securityOrigin, storageKey, or storageBucket must be specified.
8326
8346
  * Security origin.
8327
8347
  */
8328
8348
  securityOrigin?: string;
@@ -8330,6 +8350,10 @@ export namespace Protocol {
8330
8350
  * Storage key.
8331
8351
  */
8332
8352
  storageKey?: string;
8353
+ /**
8354
+ * Storage bucket. If not specified, it uses the default bucket.
8355
+ */
8356
+ storageBucket?: Storage.StorageBucket;
8333
8357
  /**
8334
8358
  * Database name.
8335
8359
  */
@@ -8345,7 +8369,7 @@ export namespace Protocol {
8345
8369
 
8346
8370
  export interface RequestDatabaseNamesRequest {
8347
8371
  /**
8348
- * At least and at most one of securityOrigin, storageKey must be specified.
8372
+ * At least and at most one of securityOrigin, storageKey, or storageBucket must be specified.
8349
8373
  * Security origin.
8350
8374
  */
8351
8375
  securityOrigin?: string;
@@ -8353,6 +8377,10 @@ export namespace Protocol {
8353
8377
  * Storage key.
8354
8378
  */
8355
8379
  storageKey?: string;
8380
+ /**
8381
+ * Storage bucket. If not specified, it uses the default bucket.
8382
+ */
8383
+ storageBucket?: Storage.StorageBucket;
8356
8384
  }
8357
8385
 
8358
8386
  export interface RequestDatabaseNamesResponse {
@@ -14776,11 +14804,17 @@ export namespace Protocol {
14776
14804
 
14777
14805
  export type StorageBucketsDurability = ('relaxed' | 'strict');
14778
14806
 
14779
- export interface StorageBucketInfo {
14807
+ export interface StorageBucket {
14780
14808
  storageKey: SerializedStorageKey;
14809
+ /**
14810
+ * If not specified, it is the default bucket of the storageKey.
14811
+ */
14812
+ name?: string;
14813
+ }
14814
+
14815
+ export interface StorageBucketInfo {
14816
+ bucket: StorageBucket;
14781
14817
  id: string;
14782
- name: string;
14783
- isDefault: boolean;
14784
14818
  expiration: Network.TimeSinceEpoch;
14785
14819
  /**
14786
14820
  * Storage quota (bytes).
@@ -15029,8 +15063,7 @@ export namespace Protocol {
15029
15063
  }
15030
15064
 
15031
15065
  export interface DeleteStorageBucketRequest {
15032
- storageKey: string;
15033
- bucketName: string;
15066
+ bucket: StorageBucket;
15034
15067
  }
15035
15068
 
15036
15069
  export interface RunBounceTrackingMitigationsResponse {
@@ -15081,6 +15114,10 @@ export namespace Protocol {
15081
15114
  * Storage key to update.
15082
15115
  */
15083
15116
  storageKey: string;
15117
+ /**
15118
+ * Storage bucket to update.
15119
+ */
15120
+ bucketId: string;
15084
15121
  /**
15085
15122
  * Database to update.
15086
15123
  */
@@ -15103,6 +15140,10 @@ export namespace Protocol {
15103
15140
  * Storage key to update.
15104
15141
  */
15105
15142
  storageKey: string;
15143
+ /**
15144
+ * Storage bucket to update.
15145
+ */
15146
+ bucketId: string;
15106
15147
  }
15107
15148
 
15108
15149
  /**
@@ -15144,7 +15185,7 @@ export namespace Protocol {
15144
15185
  }
15145
15186
 
15146
15187
  export interface StorageBucketCreatedOrUpdatedEvent {
15147
- bucket: StorageBucketInfo;
15188
+ bucketInfo: StorageBucketInfo;
15148
15189
  }
15149
15190
 
15150
15191
  export interface StorageBucketDeletedEvent {
@@ -16976,6 +17017,21 @@ export namespace Protocol {
16976
17017
  * - https://github.com/WICG/nav-speculation/blob/main/triggers.md
16977
17018
  */
16978
17019
  sourceText: string;
17020
+ /**
17021
+ * A speculation rule set is either added through an inline
17022
+ * <script> tag or through an external resource via the
17023
+ * 'Speculation-Rules' HTTP header. For the first case, we include
17024
+ * the BackendNodeId of the relevant <script> tag. For the second
17025
+ * case, we include the external URL where the rule set was loaded
17026
+ * from, and also RequestId if Network domain is enabled.
17027
+ *
17028
+ * See also:
17029
+ * - https://wicg.github.io/nav-speculation/speculation-rules.html#speculation-rules-script
17030
+ * - https://wicg.github.io/nav-speculation/speculation-rules.html#speculation-rules-header
17031
+ */
17032
+ backendNodeId?: DOM.BackendNodeId;
17033
+ url?: string;
17034
+ requestId?: Network.RequestId;
16979
17035
  /**
16980
17036
  * Error information
16981
17037
  * `errorMessage` is null iff `errorType` is null.