devtools-protocol 0.0.1073708 → 0.0.1075032

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.
@@ -4446,7 +4446,14 @@
4446
4446
  "parameters": [
4447
4447
  {
4448
4448
  "name": "securityOrigin",
4449
- "description": "Security origin.",
4449
+ "description": "At least and at most one of securityOrigin, storageKey must be specified.\nSecurity origin.",
4450
+ "optional": true,
4451
+ "type": "string"
4452
+ },
4453
+ {
4454
+ "name": "storageKey",
4455
+ "description": "Storage key.",
4456
+ "optional": true,
4450
4457
  "type": "string"
4451
4458
  }
4452
4459
  ],
@@ -19582,6 +19589,17 @@
19582
19589
  }
19583
19590
  ]
19584
19591
  },
19592
+ {
19593
+ "name": "trackCacheStorageForStorageKey",
19594
+ "description": "Registers storage key to be notified when an update occurs to its cache storage list.",
19595
+ "parameters": [
19596
+ {
19597
+ "name": "storageKey",
19598
+ "description": "Storage key.",
19599
+ "type": "string"
19600
+ }
19601
+ ]
19602
+ },
19585
19603
  {
19586
19604
  "name": "trackIndexedDBForOrigin",
19587
19605
  "description": "Registers origin to be notified when an update occurs to its IndexedDB.",
@@ -19615,6 +19633,17 @@
19615
19633
  }
19616
19634
  ]
19617
19635
  },
19636
+ {
19637
+ "name": "untrackCacheStorageForStorageKey",
19638
+ "description": "Unregisters storage key from receiving notifications for cache storage.",
19639
+ "parameters": [
19640
+ {
19641
+ "name": "storageKey",
19642
+ "description": "Storage key.",
19643
+ "type": "string"
19644
+ }
19645
+ ]
19646
+ },
19618
19647
  {
19619
19648
  "name": "untrackIndexedDBForOrigin",
19620
19649
  "description": "Unregisters origin from receiving notifications for IndexedDB.",
@@ -19811,6 +19840,11 @@
19811
19840
  "description": "Origin to update.",
19812
19841
  "type": "string"
19813
19842
  },
19843
+ {
19844
+ "name": "storageKey",
19845
+ "description": "Storage key to update.",
19846
+ "type": "string"
19847
+ },
19814
19848
  {
19815
19849
  "name": "cacheName",
19816
19850
  "description": "Name of cache in origin.",
@@ -19826,6 +19860,11 @@
19826
19860
  "name": "origin",
19827
19861
  "description": "Origin to update.",
19828
19862
  "type": "string"
19863
+ },
19864
+ {
19865
+ "name": "storageKey",
19866
+ "description": "Storage key to update.",
19867
+ "type": "string"
19829
19868
  }
19830
19869
  ]
19831
19870
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devtools-protocol",
3
- "version": "0.0.1073708",
3
+ "version": "0.0.1075032",
4
4
  "description": "The Chrome DevTools Protocol JSON",
5
5
  "repository": "https://github.com/ChromeDevTools/devtools-protocol",
6
6
  "author": "The Chromium Authors",
@@ -2099,8 +2099,11 @@ experimental domain CacheStorage
2099
2099
  # Requests cache names.
2100
2100
  command requestCacheNames
2101
2101
  parameters
2102
+ # At least and at most one of securityOrigin, storageKey must be specified.
2102
2103
  # Security origin.
2103
- string securityOrigin
2104
+ optional string securityOrigin
2105
+ # Storage key.
2106
+ optional string storageKey
2104
2107
  returns
2105
2108
  # Caches for the security origin.
2106
2109
  array of Cache caches
@@ -9262,6 +9265,12 @@ experimental domain Storage
9262
9265
  # Security origin.
9263
9266
  string origin
9264
9267
 
9268
+ # Registers storage key to be notified when an update occurs to its cache storage list.
9269
+ command trackCacheStorageForStorageKey
9270
+ parameters
9271
+ # Storage key.
9272
+ string storageKey
9273
+
9265
9274
  # Registers origin to be notified when an update occurs to its IndexedDB.
9266
9275
  command trackIndexedDBForOrigin
9267
9276
  parameters
@@ -9280,6 +9289,12 @@ experimental domain Storage
9280
9289
  # Security origin.
9281
9290
  string origin
9282
9291
 
9292
+ # Unregisters storage key from receiving notifications for cache storage.
9293
+ command untrackCacheStorageForStorageKey
9294
+ parameters
9295
+ # Storage key.
9296
+ string storageKey
9297
+
9283
9298
  # Unregisters origin from receiving notifications for IndexedDB.
9284
9299
  command untrackIndexedDBForOrigin
9285
9300
  parameters
@@ -9365,6 +9380,8 @@ experimental domain Storage
9365
9380
  parameters
9366
9381
  # Origin to update.
9367
9382
  string origin
9383
+ # Storage key to update.
9384
+ string storageKey
9368
9385
  # Name of cache in origin.
9369
9386
  string cacheName
9370
9387
 
@@ -9373,6 +9390,8 @@ experimental domain Storage
9373
9390
  parameters
9374
9391
  # Origin to update.
9375
9392
  string origin
9393
+ # Storage key to update.
9394
+ string storageKey
9376
9395
 
9377
9396
  # The origin's IndexedDB object store has been modified.
9378
9397
  event indexedDBContentUpdated
@@ -1804,7 +1804,7 @@ export namespace ProtocolMapping {
1804
1804
  * Requests cache names.
1805
1805
  */
1806
1806
  'CacheStorage.requestCacheNames': {
1807
- paramsType: [Protocol.CacheStorage.RequestCacheNamesRequest];
1807
+ paramsType: [Protocol.CacheStorage.RequestCacheNamesRequest?];
1808
1808
  returnType: Protocol.CacheStorage.RequestCacheNamesResponse;
1809
1809
  };
1810
1810
  /**
@@ -4029,6 +4029,13 @@ export namespace ProtocolMapping {
4029
4029
  paramsType: [Protocol.Storage.TrackCacheStorageForOriginRequest];
4030
4030
  returnType: void;
4031
4031
  };
4032
+ /**
4033
+ * Registers storage key to be notified when an update occurs to its cache storage list.
4034
+ */
4035
+ 'Storage.trackCacheStorageForStorageKey': {
4036
+ paramsType: [Protocol.Storage.TrackCacheStorageForStorageKeyRequest];
4037
+ returnType: void;
4038
+ };
4032
4039
  /**
4033
4040
  * Registers origin to be notified when an update occurs to its IndexedDB.
4034
4041
  */
@@ -4050,6 +4057,13 @@ export namespace ProtocolMapping {
4050
4057
  paramsType: [Protocol.Storage.UntrackCacheStorageForOriginRequest];
4051
4058
  returnType: void;
4052
4059
  };
4060
+ /**
4061
+ * Unregisters storage key from receiving notifications for cache storage.
4062
+ */
4063
+ 'Storage.untrackCacheStorageForStorageKey': {
4064
+ paramsType: [Protocol.Storage.UntrackCacheStorageForStorageKeyRequest];
4065
+ returnType: void;
4066
+ };
4053
4067
  /**
4054
4068
  * Unregisters origin from receiving notifications for IndexedDB.
4055
4069
  */
@@ -3261,6 +3261,11 @@ export namespace ProtocolProxyApi {
3261
3261
  */
3262
3262
  trackCacheStorageForOrigin(params: Protocol.Storage.TrackCacheStorageForOriginRequest): Promise<void>;
3263
3263
 
3264
+ /**
3265
+ * Registers storage key to be notified when an update occurs to its cache storage list.
3266
+ */
3267
+ trackCacheStorageForStorageKey(params: Protocol.Storage.TrackCacheStorageForStorageKeyRequest): Promise<void>;
3268
+
3264
3269
  /**
3265
3270
  * Registers origin to be notified when an update occurs to its IndexedDB.
3266
3271
  */
@@ -3276,6 +3281,11 @@ export namespace ProtocolProxyApi {
3276
3281
  */
3277
3282
  untrackCacheStorageForOrigin(params: Protocol.Storage.UntrackCacheStorageForOriginRequest): Promise<void>;
3278
3283
 
3284
+ /**
3285
+ * Unregisters storage key from receiving notifications for cache storage.
3286
+ */
3287
+ untrackCacheStorageForStorageKey(params: Protocol.Storage.UntrackCacheStorageForStorageKeyRequest): Promise<void>;
3288
+
3279
3289
  /**
3280
3290
  * Unregisters origin from receiving notifications for IndexedDB.
3281
3291
  */
@@ -5218,9 +5218,14 @@ export namespace Protocol {
5218
5218
 
5219
5219
  export interface RequestCacheNamesRequest {
5220
5220
  /**
5221
+ * At least and at most one of securityOrigin, storageKey must be specified.
5221
5222
  * Security origin.
5222
5223
  */
5223
- securityOrigin: string;
5224
+ securityOrigin?: string;
5225
+ /**
5226
+ * Storage key.
5227
+ */
5228
+ storageKey?: string;
5224
5229
  }
5225
5230
 
5226
5231
  export interface RequestCacheNamesResponse {
@@ -14810,6 +14815,13 @@ export namespace Protocol {
14810
14815
  origin: string;
14811
14816
  }
14812
14817
 
14818
+ export interface TrackCacheStorageForStorageKeyRequest {
14819
+ /**
14820
+ * Storage key.
14821
+ */
14822
+ storageKey: string;
14823
+ }
14824
+
14813
14825
  export interface TrackIndexedDBForOriginRequest {
14814
14826
  /**
14815
14827
  * Security origin.
@@ -14831,6 +14843,13 @@ export namespace Protocol {
14831
14843
  origin: string;
14832
14844
  }
14833
14845
 
14846
+ export interface UntrackCacheStorageForStorageKeyRequest {
14847
+ /**
14848
+ * Storage key.
14849
+ */
14850
+ storageKey: string;
14851
+ }
14852
+
14834
14853
  export interface UntrackIndexedDBForOriginRequest {
14835
14854
  /**
14836
14855
  * Security origin.
@@ -14921,6 +14940,10 @@ export namespace Protocol {
14921
14940
  * Origin to update.
14922
14941
  */
14923
14942
  origin: string;
14943
+ /**
14944
+ * Storage key to update.
14945
+ */
14946
+ storageKey: string;
14924
14947
  /**
14925
14948
  * Name of cache in origin.
14926
14949
  */
@@ -14935,6 +14958,10 @@ export namespace Protocol {
14935
14958
  * Origin to update.
14936
14959
  */
14937
14960
  origin: string;
14961
+ /**
14962
+ * Storage key to update.
14963
+ */
14964
+ storageKey: string;
14938
14965
  }
14939
14966
 
14940
14967
  /**