devtools-protocol 0.0.952438 → 0.0.953752

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.
@@ -15722,6 +15722,34 @@
15722
15722
  "$ref": "BackForwardCacheNotRestoredReason"
15723
15723
  }
15724
15724
  ]
15725
+ },
15726
+ {
15727
+ "id": "BackForwardCacheNotRestoredExplanationTree",
15728
+ "experimental": true,
15729
+ "type": "object",
15730
+ "properties": [
15731
+ {
15732
+ "name": "url",
15733
+ "description": "URL of each frame",
15734
+ "type": "string"
15735
+ },
15736
+ {
15737
+ "name": "explanations",
15738
+ "description": "Not restored reasons of each frame",
15739
+ "type": "array",
15740
+ "items": {
15741
+ "$ref": "BackForwardCacheNotRestoredExplanation"
15742
+ }
15743
+ },
15744
+ {
15745
+ "name": "children",
15746
+ "description": "Array of children frame",
15747
+ "type": "array",
15748
+ "items": {
15749
+ "$ref": "BackForwardCacheNotRestoredExplanationTree"
15750
+ }
15751
+ }
15752
+ ]
15725
15753
  }
15726
15754
  ],
15727
15755
  "commands": [
@@ -17250,6 +17278,12 @@
17250
17278
  "items": {
17251
17279
  "$ref": "BackForwardCacheNotRestoredExplanation"
17252
17280
  }
17281
+ },
17282
+ {
17283
+ "name": "notRestoredExplanationsTree",
17284
+ "description": "Tree structure of reasons why the page could not be cached for each frame.",
17285
+ "optional": true,
17286
+ "$ref": "BackForwardCacheNotRestoredExplanationTree"
17253
17287
  }
17254
17288
  ]
17255
17289
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devtools-protocol",
3
- "version": "0.0.952438",
3
+ "version": "0.0.953752",
4
4
  "description": "The Chrome DevTools Protocol JSON",
5
5
  "repository": "https://github.com/ChromeDevTools/devtools-protocol",
6
6
  "author": "The Chromium Authors",
@@ -8100,6 +8100,15 @@ domain Page
8100
8100
  # Not restored reason
8101
8101
  BackForwardCacheNotRestoredReason reason
8102
8102
 
8103
+ experimental type BackForwardCacheNotRestoredExplanationTree extends object
8104
+ properties
8105
+ # URL of each frame
8106
+ string url
8107
+ # Not restored reasons of each frame
8108
+ array of BackForwardCacheNotRestoredExplanation explanations
8109
+ # Array of children frame
8110
+ array of BackForwardCacheNotRestoredExplanationTree children
8111
+
8103
8112
  # Fired for failed bfcache history navigations if BackForwardCache feature is enabled. Do
8104
8113
  # not assume any ordering with the Page.frameNavigated event. This event is fired only for
8105
8114
  # main-frame history navigation where the document changes (non-same-document navigations),
@@ -8112,6 +8121,8 @@ domain Page
8112
8121
  FrameId frameId
8113
8122
  # Array of reasons why the page could not be cached. This must not be empty.
8114
8123
  array of BackForwardCacheNotRestoredExplanation notRestoredExplanations
8124
+ # Tree structure of reasons why the page could not be cached for each frame.
8125
+ optional BackForwardCacheNotRestoredExplanationTree notRestoredExplanationsTree
8115
8126
 
8116
8127
  event loadEventFired
8117
8128
  parameters
@@ -12387,6 +12387,21 @@ export namespace Protocol {
12387
12387
  reason: BackForwardCacheNotRestoredReason;
12388
12388
  }
12389
12389
 
12390
+ export interface BackForwardCacheNotRestoredExplanationTree {
12391
+ /**
12392
+ * URL of each frame
12393
+ */
12394
+ url: string;
12395
+ /**
12396
+ * Not restored reasons of each frame
12397
+ */
12398
+ explanations: BackForwardCacheNotRestoredExplanation[];
12399
+ /**
12400
+ * Array of children frame
12401
+ */
12402
+ children: BackForwardCacheNotRestoredExplanationTree[];
12403
+ }
12404
+
12390
12405
  export interface AddScriptToEvaluateOnLoadRequest {
12391
12406
  scriptSource: string;
12392
12407
  }
@@ -13382,6 +13397,10 @@ export namespace Protocol {
13382
13397
  * Array of reasons why the page could not be cached. This must not be empty.
13383
13398
  */
13384
13399
  notRestoredExplanations: BackForwardCacheNotRestoredExplanation[];
13400
+ /**
13401
+ * Tree structure of reasons why the page could not be cached for each frame.
13402
+ */
13403
+ notRestoredExplanationsTree?: BackForwardCacheNotRestoredExplanationTree;
13385
13404
  }
13386
13405
 
13387
13406
  export interface LoadEventFiredEvent {