devtools-protocol 0.0.1146363 → 0.0.1146845

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.
@@ -4390,6 +4390,9 @@
4390
4390
  {
4391
4391
  "domain": "CacheStorage",
4392
4392
  "experimental": true,
4393
+ "dependencies": [
4394
+ "Storage"
4395
+ ],
4393
4396
  "types": [
4394
4397
  {
4395
4398
  "id": "CacheId",
@@ -4482,6 +4485,12 @@
4482
4485
  "description": "Storage key of the cache.",
4483
4486
  "type": "string"
4484
4487
  },
4488
+ {
4489
+ "name": "storageBucket",
4490
+ "description": "Storage bucket of the cache.",
4491
+ "optional": true,
4492
+ "$ref": "Storage.StorageBucket"
4493
+ },
4485
4494
  {
4486
4495
  "name": "cacheName",
4487
4496
  "description": "The name of the cache.",
@@ -4550,7 +4559,7 @@
4550
4559
  "parameters": [
4551
4560
  {
4552
4561
  "name": "securityOrigin",
4553
- "description": "At least and at most one of securityOrigin, storageKey must be specified.\nSecurity origin.",
4562
+ "description": "At least and at most one of securityOrigin, storageKey, storageBucket must be specified.\nSecurity origin.",
4554
4563
  "optional": true,
4555
4564
  "type": "string"
4556
4565
  },
@@ -4559,6 +4568,12 @@
4559
4568
  "description": "Storage key.",
4560
4569
  "optional": true,
4561
4570
  "type": "string"
4571
+ },
4572
+ {
4573
+ "name": "storageBucket",
4574
+ "description": "Storage bucket. If not specified, it uses the default bucket.",
4575
+ "optional": true,
4576
+ "$ref": "Storage.StorageBucket"
4562
4577
  }
4563
4578
  ],
4564
4579
  "returns": [
@@ -20064,6 +20079,11 @@
20064
20079
  "description": "Storage key to update.",
20065
20080
  "type": "string"
20066
20081
  },
20082
+ {
20083
+ "name": "bucketId",
20084
+ "description": "Storage bucket to update.",
20085
+ "type": "string"
20086
+ },
20067
20087
  {
20068
20088
  "name": "cacheName",
20069
20089
  "description": "Name of cache in origin.",
@@ -20084,6 +20104,11 @@
20084
20104
  "name": "storageKey",
20085
20105
  "description": "Storage key to update.",
20086
20106
  "type": "string"
20107
+ },
20108
+ {
20109
+ "name": "bucketId",
20110
+ "description": "Storage bucket to update.",
20111
+ "type": "string"
20087
20112
  }
20088
20113
  ]
20089
20114
  },
@@ -23269,17 +23294,6 @@
23269
23294
  "MemoryPressureAfterTriggered"
23270
23295
  ]
23271
23296
  },
23272
- {
23273
- "id": "PreloadEnabledState",
23274
- "type": "string",
23275
- "enum": [
23276
- "Enabled",
23277
- "DisabledByDataSaver",
23278
- "DisabledByBatterySaver",
23279
- "DisabledByPreference",
23280
- "NotSupported"
23281
- ]
23282
- },
23283
23297
  {
23284
23298
  "id": "PreloadingStatus",
23285
23299
  "description": "Preloading status values, see also PreloadingTriggeringOutcome. This\nstatus is shared by prefetchStatusUpdated and prerenderStatusUpdated.",
@@ -23393,8 +23407,16 @@
23393
23407
  "description": "Fired when a preload enabled state is updated.",
23394
23408
  "parameters": [
23395
23409
  {
23396
- "name": "state",
23397
- "$ref": "PreloadEnabledState"
23410
+ "name": "disabledByPreference",
23411
+ "type": "boolean"
23412
+ },
23413
+ {
23414
+ "name": "disabledByDataSaver",
23415
+ "type": "boolean"
23416
+ },
23417
+ {
23418
+ "name": "disabledByBatterySaver",
23419
+ "type": "boolean"
23398
23420
  }
23399
23421
  ]
23400
23422
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devtools-protocol",
3
- "version": "0.0.1146363",
3
+ "version": "0.0.1146845",
4
4
  "description": "The Chrome DevTools Protocol JSON",
5
5
  "repository": "https://github.com/ChromeDevTools/devtools-protocol",
6
6
  "author": "The Chromium Authors",
@@ -2047,6 +2047,7 @@ experimental domain CSS
2047
2047
  StyleSheetId styleSheetId
2048
2048
 
2049
2049
  experimental domain CacheStorage
2050
+ depends on Storage
2050
2051
 
2051
2052
  # Unique identifier of the Cache object.
2052
2053
  type CacheId extends string
@@ -2090,6 +2091,8 @@ experimental domain CacheStorage
2090
2091
  string securityOrigin
2091
2092
  # Storage key of the cache.
2092
2093
  string storageKey
2094
+ # Storage bucket of the cache.
2095
+ optional Storage.StorageBucket storageBucket
2093
2096
  # The name of the cache.
2094
2097
  string cacheName
2095
2098
 
@@ -2121,11 +2124,13 @@ experimental domain CacheStorage
2121
2124
  # Requests cache names.
2122
2125
  command requestCacheNames
2123
2126
  parameters
2124
- # At least and at most one of securityOrigin, storageKey must be specified.
2127
+ # At least and at most one of securityOrigin, storageKey, storageBucket must be specified.
2125
2128
  # Security origin.
2126
2129
  optional string securityOrigin
2127
2130
  # Storage key.
2128
2131
  optional string storageKey
2132
+ # Storage bucket. If not specified, it uses the default bucket.
2133
+ optional Storage.StorageBucket storageBucket
2129
2134
  returns
2130
2135
  # Caches for the security origin.
2131
2136
  array of Cache caches
@@ -9432,6 +9437,8 @@ experimental domain Storage
9432
9437
  string origin
9433
9438
  # Storage key to update.
9434
9439
  string storageKey
9440
+ # Storage bucket to update.
9441
+ string bucketId
9435
9442
  # Name of cache in origin.
9436
9443
  string cacheName
9437
9444
 
@@ -9442,6 +9449,8 @@ experimental domain Storage
9442
9449
  string origin
9443
9450
  # Storage key to update.
9444
9451
  string storageKey
9452
+ # Storage bucket to update.
9453
+ string bucketId
9445
9454
 
9446
9455
  # The origin's IndexedDB object store has been modified.
9447
9456
  event indexedDBContentUpdated
@@ -11024,19 +11033,12 @@ experimental domain Preload
11024
11033
  # that is incompatible with prerender and has caused the cancellation of the attempt
11025
11034
  optional string disallowedApiMethod
11026
11035
 
11027
- type PreloadEnabledState extends string
11028
- enum
11029
- Enabled
11030
- DisabledByDataSaver
11031
- DisabledByBatterySaver
11032
- DisabledByPreference
11033
- # Service not available.
11034
- NotSupported
11035
-
11036
11036
  # Fired when a preload enabled state is updated.
11037
11037
  event preloadEnabledStateUpdated
11038
11038
  parameters
11039
- PreloadEnabledState state
11039
+ boolean disabledByPreference
11040
+ boolean disabledByDataSaver
11041
+ boolean disabledByBatterySaver
11040
11042
 
11041
11043
  # Preloading status values, see also PreloadingTriggeringOutcome. This
11042
11044
  # status is shared by prefetchStatusUpdated and prerenderStatusUpdated.
@@ -5329,6 +5329,10 @@ export namespace Protocol {
5329
5329
  * Storage key of the cache.
5330
5330
  */
5331
5331
  storageKey: string;
5332
+ /**
5333
+ * Storage bucket of the cache.
5334
+ */
5335
+ storageBucket?: Storage.StorageBucket;
5332
5336
  /**
5333
5337
  * The name of the cache.
5334
5338
  */
@@ -5370,7 +5374,7 @@ export namespace Protocol {
5370
5374
 
5371
5375
  export interface RequestCacheNamesRequest {
5372
5376
  /**
5373
- * At least and at most one of securityOrigin, storageKey must be specified.
5377
+ * At least and at most one of securityOrigin, storageKey, storageBucket must be specified.
5374
5378
  * Security origin.
5375
5379
  */
5376
5380
  securityOrigin?: string;
@@ -5378,6 +5382,10 @@ export namespace Protocol {
5378
5382
  * Storage key.
5379
5383
  */
5380
5384
  storageKey?: string;
5385
+ /**
5386
+ * Storage bucket. If not specified, it uses the default bucket.
5387
+ */
5388
+ storageBucket?: Storage.StorageBucket;
5381
5389
  }
5382
5390
 
5383
5391
  export interface RequestCacheNamesResponse {
@@ -15158,6 +15166,10 @@ export namespace Protocol {
15158
15166
  * Storage key to update.
15159
15167
  */
15160
15168
  storageKey: string;
15169
+ /**
15170
+ * Storage bucket to update.
15171
+ */
15172
+ bucketId: string;
15161
15173
  /**
15162
15174
  * Name of cache in origin.
15163
15175
  */
@@ -15176,6 +15188,10 @@ export namespace Protocol {
15176
15188
  * Storage key to update.
15177
15189
  */
15178
15190
  storageKey: string;
15191
+ /**
15192
+ * Storage bucket to update.
15193
+ */
15194
+ bucketId: string;
15179
15195
  }
15180
15196
 
15181
15197
  /**
@@ -17167,8 +17183,6 @@ export namespace Protocol {
17167
17183
  */
17168
17184
  export type PrerenderFinalStatus = ('Activated' | 'Destroyed' | 'LowEndDevice' | 'InvalidSchemeRedirect' | 'InvalidSchemeNavigation' | 'InProgressNavigation' | 'NavigationRequestBlockedByCsp' | 'MainFrameNavigation' | 'MojoBinderPolicy' | 'RendererProcessCrashed' | 'RendererProcessKilled' | 'Download' | 'TriggerDestroyed' | 'NavigationNotCommitted' | 'NavigationBadHttpStatus' | 'ClientCertRequested' | 'NavigationRequestNetworkError' | 'MaxNumOfRunningPrerendersExceeded' | 'CancelAllHostsForTesting' | 'DidFailLoad' | 'Stop' | 'SslCertificateError' | 'LoginAuthRequested' | 'UaChangeRequiresReload' | 'BlockedByClient' | 'AudioOutputDeviceRequested' | 'MixedContent' | 'TriggerBackgrounded' | 'EmbedderTriggeredAndCrossOriginRedirected' | 'MemoryLimitExceeded' | 'FailToGetMemoryUsage' | 'DataSaverEnabled' | 'HasEffectiveUrl' | 'ActivatedBeforeStarted' | 'InactivePageRestriction' | 'StartFailed' | 'TimeoutBackgrounded' | 'CrossSiteRedirectInInitialNavigation' | 'CrossSiteNavigationInInitialNavigation' | 'SameSiteCrossOriginRedirectNotOptInInInitialNavigation' | 'SameSiteCrossOriginNavigationNotOptInInInitialNavigation' | 'ActivationNavigationParameterMismatch' | 'ActivatedInBackground' | 'EmbedderHostDisallowed' | 'ActivationNavigationDestroyedBeforeSuccess' | 'TabClosedByUserGesture' | 'TabClosedWithoutUserGesture' | 'PrimaryMainFrameRendererProcessCrashed' | 'PrimaryMainFrameRendererProcessKilled' | 'ActivationFramePolicyNotCompatible' | 'PreloadingDisabled' | 'BatterySaverEnabled' | 'ActivatedDuringMainFrameNavigation' | 'PreloadingUnsupportedByWebContents' | 'CrossSiteRedirectInMainFrameNavigation' | 'CrossSiteNavigationInMainFrameNavigation' | 'SameSiteCrossOriginRedirectNotOptInInMainFrameNavigation' | 'SameSiteCrossOriginNavigationNotOptInInMainFrameNavigation' | 'MemoryPressureOnTrigger' | 'MemoryPressureAfterTriggered');
17169
17185
 
17170
- export type PreloadEnabledState = ('Enabled' | 'DisabledByDataSaver' | 'DisabledByBatterySaver' | 'DisabledByPreference' | 'NotSupported');
17171
-
17172
17186
  /**
17173
17187
  * Preloading status values, see also PreloadingTriggeringOutcome. This
17174
17188
  * status is shared by prefetchStatusUpdated and prerenderStatusUpdated.
@@ -17214,7 +17228,9 @@ export namespace Protocol {
17214
17228
  * Fired when a preload enabled state is updated.
17215
17229
  */
17216
17230
  export interface PreloadEnabledStateUpdatedEvent {
17217
- state: PreloadEnabledState;
17231
+ disabledByPreference: boolean;
17232
+ disabledByDataSaver: boolean;
17233
+ disabledByBatterySaver: boolean;
17218
17234
  }
17219
17235
 
17220
17236
  /**