devtools-protocol 0.0.973690 → 0.0.975298

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.
@@ -977,7 +977,7 @@
977
977
  ]
978
978
  },
979
979
  {
980
- "id": "SameSiteCookieExclusionReason",
980
+ "id": "CookieExclusionReason",
981
981
  "type": "string",
982
982
  "enum": [
983
983
  "ExcludeSameSiteUnspecifiedTreatedAsLax",
@@ -989,7 +989,7 @@
989
989
  ]
990
990
  },
991
991
  {
992
- "id": "SameSiteCookieWarningReason",
992
+ "id": "CookieWarningReason",
993
993
  "type": "string",
994
994
  "enum": [
995
995
  "WarnSameSiteUnspecifiedCrossSiteContext",
@@ -1003,7 +1003,7 @@
1003
1003
  ]
1004
1004
  },
1005
1005
  {
1006
- "id": "SameSiteCookieOperation",
1006
+ "id": "CookieOperation",
1007
1007
  "type": "string",
1008
1008
  "enum": [
1009
1009
  "SetCookie",
@@ -1011,7 +1011,7 @@
1011
1011
  ]
1012
1012
  },
1013
1013
  {
1014
- "id": "SameSiteCookieIssueDetails",
1014
+ "id": "CookieIssueDetails",
1015
1015
  "description": "This information is currently necessary, as the front-end has a difficult\ntime finding a specific cookie. With this, we can convey specific error\ninformation without the cookie.",
1016
1016
  "type": "object",
1017
1017
  "properties": [
@@ -1030,20 +1030,20 @@
1030
1030
  "name": "cookieWarningReasons",
1031
1031
  "type": "array",
1032
1032
  "items": {
1033
- "$ref": "SameSiteCookieWarningReason"
1033
+ "$ref": "CookieWarningReason"
1034
1034
  }
1035
1035
  },
1036
1036
  {
1037
1037
  "name": "cookieExclusionReasons",
1038
1038
  "type": "array",
1039
1039
  "items": {
1040
- "$ref": "SameSiteCookieExclusionReason"
1040
+ "$ref": "CookieExclusionReason"
1041
1041
  }
1042
1042
  },
1043
1043
  {
1044
1044
  "name": "operation",
1045
1045
  "description": "Optionally identifies the site-for-cookies and the cookie url, which\nmay be used by the front-end as additional context.",
1046
- "$ref": "SameSiteCookieOperation"
1046
+ "$ref": "CookieOperation"
1047
1047
  },
1048
1048
  {
1049
1049
  "name": "siteForCookies",
@@ -1641,7 +1641,7 @@
1641
1641
  "description": "A unique identifier for the type of issue. Each type may use one of the\noptional fields in InspectorIssueDetails to convey more specific\ninformation about the kind of issue.",
1642
1642
  "type": "string",
1643
1643
  "enum": [
1644
- "SameSiteCookieIssue",
1644
+ "CookieIssue",
1645
1645
  "MixedContentIssue",
1646
1646
  "BlockedByResponseIssue",
1647
1647
  "HeavyAdIssue",
@@ -1665,9 +1665,9 @@
1665
1665
  "type": "object",
1666
1666
  "properties": [
1667
1667
  {
1668
- "name": "sameSiteCookieIssueDetails",
1668
+ "name": "cookieIssueDetails",
1669
1669
  "optional": true,
1670
- "$ref": "SameSiteCookieIssueDetails"
1670
+ "$ref": "CookieIssueDetails"
1671
1671
  },
1672
1672
  {
1673
1673
  "name": "mixedContentIssueDetails",
@@ -2877,6 +2877,16 @@
2877
2877
  "items": {
2878
2878
  "$ref": "CSSSupports"
2879
2879
  }
2880
+ },
2881
+ {
2882
+ "name": "layers",
2883
+ "description": "Cascade layer array. Contains the layer hierarchy that this rule belongs to starting\nwith the innermost layer and going outwards.",
2884
+ "experimental": true,
2885
+ "optional": true,
2886
+ "type": "array",
2887
+ "items": {
2888
+ "$ref": "CSSLayer"
2889
+ }
2880
2890
  }
2881
2891
  ]
2882
2892
  },
@@ -3226,6 +3236,58 @@
3226
3236
  }
3227
3237
  ]
3228
3238
  },
3239
+ {
3240
+ "id": "CSSLayer",
3241
+ "description": "CSS Layer at-rule descriptor.",
3242
+ "experimental": true,
3243
+ "type": "object",
3244
+ "properties": [
3245
+ {
3246
+ "name": "text",
3247
+ "description": "Layer name.",
3248
+ "type": "string"
3249
+ },
3250
+ {
3251
+ "name": "range",
3252
+ "description": "The associated rule header range in the enclosing stylesheet (if\navailable).",
3253
+ "optional": true,
3254
+ "$ref": "SourceRange"
3255
+ },
3256
+ {
3257
+ "name": "styleSheetId",
3258
+ "description": "Identifier of the stylesheet containing this object (if exists).",
3259
+ "optional": true,
3260
+ "$ref": "StyleSheetId"
3261
+ }
3262
+ ]
3263
+ },
3264
+ {
3265
+ "id": "CSSLayerData",
3266
+ "description": "CSS Layer data.",
3267
+ "experimental": true,
3268
+ "type": "object",
3269
+ "properties": [
3270
+ {
3271
+ "name": "name",
3272
+ "description": "Layer name.",
3273
+ "type": "string"
3274
+ },
3275
+ {
3276
+ "name": "subLayers",
3277
+ "description": "Direct sub-layers",
3278
+ "optional": true,
3279
+ "type": "array",
3280
+ "items": {
3281
+ "$ref": "CSSLayerData"
3282
+ }
3283
+ },
3284
+ {
3285
+ "name": "order",
3286
+ "description": "Layer order. The order determines the order of the layer in the cascade order.\nA higher number has higher priority in the cascade order.",
3287
+ "type": "number"
3288
+ }
3289
+ ]
3290
+ },
3229
3291
  {
3230
3292
  "id": "PlatformFontUsage",
3231
3293
  "description": "Information about amount of glyphs that were rendered with given font.",
@@ -3688,6 +3750,23 @@
3688
3750
  }
3689
3751
  ]
3690
3752
  },
3753
+ {
3754
+ "name": "getLayersForNode",
3755
+ "description": "Returns all layers parsed by the rendering engine for the tree scope of a node.\nGiven a DOM element identified by nodeId, getLayersForNode returns the root\nlayer for the nearest ancestor document or shadow root. The layer root contains\nthe full layer tree for the tree scope and their ordering.",
3756
+ "experimental": true,
3757
+ "parameters": [
3758
+ {
3759
+ "name": "nodeId",
3760
+ "$ref": "DOM.NodeId"
3761
+ }
3762
+ ],
3763
+ "returns": [
3764
+ {
3765
+ "name": "rootLayer",
3766
+ "$ref": "CSSLayerData"
3767
+ }
3768
+ ]
3769
+ },
3691
3770
  {
3692
3771
  "name": "trackComputedStyleUpdates",
3693
3772
  "description": "Starts tracking the given computed styles for updates. The specified array of properties\nreplaces the one previously specified. Pass empty array to disable tracking.\nUse takeComputedStyleUpdates to retrieve the list of nodes that had properties modified.\nThe changes to computed style properties are only tracked for nodes pushed to the front-end\nby the DOM agent. If no changes to the tracked properties occur after the node has been pushed\nto the front-end, no updates will be issued for the node.",
@@ -15836,6 +15915,12 @@
15836
15915
  "name": "reason",
15837
15916
  "description": "Not restored reason",
15838
15917
  "$ref": "BackForwardCacheNotRestoredReason"
15918
+ },
15919
+ {
15920
+ "name": "context",
15921
+ "description": "Context associated with the reason. The meaning of this context is\ndependent on the reason:\n- EmbedderExtensionSentMessageToCachedFrame: the extension ID.",
15922
+ "optional": true,
15923
+ "type": "string"
15839
15924
  }
15840
15925
  ]
15841
15926
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devtools-protocol",
3
- "version": "0.0.973690",
3
+ "version": "0.0.975298",
4
4
  "description": "The Chrome DevTools Protocol JSON",
5
5
  "repository": "https://github.com/ChromeDevTools/devtools-protocol",
6
6
  "author": "The Chromium Authors",
@@ -471,7 +471,7 @@ experimental domain Audits
471
471
  properties
472
472
  Page.FrameId frameId
473
473
 
474
- type SameSiteCookieExclusionReason extends string
474
+ type CookieExclusionReason extends string
475
475
  enum
476
476
  ExcludeSameSiteUnspecifiedTreatedAsLax
477
477
  ExcludeSameSiteNoneInsecure
@@ -480,7 +480,7 @@ experimental domain Audits
480
480
  ExcludeInvalidSameParty
481
481
  ExcludeSamePartyCrossPartyContext
482
482
 
483
- type SameSiteCookieWarningReason extends string
483
+ type CookieWarningReason extends string
484
484
  enum
485
485
  WarnSameSiteUnspecifiedCrossSiteContext
486
486
  WarnSameSiteNoneInsecure
@@ -491,7 +491,7 @@ experimental domain Audits
491
491
  WarnSameSiteLaxCrossDowngradeStrict
492
492
  WarnSameSiteLaxCrossDowngradeLax
493
493
 
494
- type SameSiteCookieOperation extends string
494
+ type CookieOperation extends string
495
495
  enum
496
496
  SetCookie
497
497
  ReadCookie
@@ -499,7 +499,7 @@ experimental domain Audits
499
499
  # This information is currently necessary, as the front-end has a difficult
500
500
  # time finding a specific cookie. With this, we can convey specific error
501
501
  # information without the cookie.
502
- type SameSiteCookieIssueDetails extends object
502
+ type CookieIssueDetails extends object
503
503
  properties
504
504
  # If AffectedCookie is not set then rawCookieLine contains the raw
505
505
  # Set-Cookie header string. This hints at a problem where the
@@ -507,11 +507,11 @@ experimental domain Audits
507
507
  # that no valid cookie could be created.
508
508
  optional AffectedCookie cookie
509
509
  optional string rawCookieLine
510
- array of SameSiteCookieWarningReason cookieWarningReasons
511
- array of SameSiteCookieExclusionReason cookieExclusionReasons
510
+ array of CookieWarningReason cookieWarningReasons
511
+ array of CookieExclusionReason cookieExclusionReasons
512
512
  # Optionally identifies the site-for-cookies and the cookie url, which
513
513
  # may be used by the front-end as additional context.
514
- SameSiteCookieOperation operation
514
+ CookieOperation operation
515
515
  optional string siteForCookies
516
516
  optional string cookieUrl
517
517
  optional AffectedRequest request
@@ -814,7 +814,7 @@ experimental domain Audits
814
814
  # information about the kind of issue.
815
815
  type InspectorIssueCode extends string
816
816
  enum
817
- SameSiteCookieIssue
817
+ CookieIssue
818
818
  MixedContentIssue
819
819
  BlockedByResponseIssue
820
820
  HeavyAdIssue
@@ -836,7 +836,7 @@ experimental domain Audits
836
836
  # add a new optional field to this type.
837
837
  type InspectorIssueDetails extends object
838
838
  properties
839
- optional SameSiteCookieIssueDetails sameSiteCookieIssueDetails
839
+ optional CookieIssueDetails cookieIssueDetails
840
840
  optional MixedContentIssueDetails mixedContentIssueDetails
841
841
  optional BlockedByResponseIssueDetails blockedByResponseIssueDetails
842
842
  optional HeavyAdIssueDetails heavyAdIssueDetails
@@ -1388,6 +1388,9 @@ experimental domain CSS
1388
1388
  # @supports CSS at-rule array.
1389
1389
  # The array enumerates @supports at-rules starting with the innermost one, going outwards.
1390
1390
  experimental optional array of CSSSupports supports
1391
+ # Cascade layer array. Contains the layer hierarchy that this rule belongs to starting
1392
+ # with the innermost layer and going outwards.
1393
+ experimental optional array of CSSLayer layers
1391
1394
 
1392
1395
  # CSS coverage information.
1393
1396
  type RuleUsage extends object
@@ -1535,6 +1538,28 @@ experimental domain CSS
1535
1538
  # Identifier of the stylesheet containing this object (if exists).
1536
1539
  optional StyleSheetId styleSheetId
1537
1540
 
1541
+ # CSS Layer at-rule descriptor.
1542
+ experimental type CSSLayer extends object
1543
+ properties
1544
+ # Layer name.
1545
+ string text
1546
+ # The associated rule header range in the enclosing stylesheet (if
1547
+ # available).
1548
+ optional SourceRange range
1549
+ # Identifier of the stylesheet containing this object (if exists).
1550
+ optional StyleSheetId styleSheetId
1551
+
1552
+ # CSS Layer data.
1553
+ experimental type CSSLayerData extends object
1554
+ properties
1555
+ # Layer name.
1556
+ string name
1557
+ # Direct sub-layers
1558
+ optional array of CSSLayerData subLayers
1559
+ # Layer order. The order determines the order of the layer in the cascade order.
1560
+ # A higher number has higher priority in the cascade order.
1561
+ number order
1562
+
1538
1563
  # Information about amount of glyphs that were rendered with given font.
1539
1564
  type PlatformFontUsage extends object
1540
1565
  properties
@@ -1736,6 +1761,16 @@ experimental domain CSS
1736
1761
  # The stylesheet text.
1737
1762
  string text
1738
1763
 
1764
+ # Returns all layers parsed by the rendering engine for the tree scope of a node.
1765
+ # Given a DOM element identified by nodeId, getLayersForNode returns the root
1766
+ # layer for the nearest ancestor document or shadow root. The layer root contains
1767
+ # the full layer tree for the tree scope and their ordering.
1768
+ experimental command getLayersForNode
1769
+ parameters
1770
+ DOM.NodeId nodeId
1771
+ returns
1772
+ CSSLayerData rootLayer
1773
+
1739
1774
  # Starts tracking the given computed styles for updates. The specified array of properties
1740
1775
  # replaces the one previously specified. Pass empty array to disable tracking.
1741
1776
  # Use takeComputedStyleUpdates to retrieve the list of nodes that had properties modified.
@@ -8172,6 +8207,11 @@ domain Page
8172
8207
  BackForwardCacheNotRestoredReasonType type
8173
8208
  # Not restored reason
8174
8209
  BackForwardCacheNotRestoredReason reason
8210
+ # Context associated with the reason. The meaning of this context is
8211
+ # dependent on the reason:
8212
+ # - EmbedderExtensionSentMessageToCachedFrame: the extension ID.
8213
+ #
8214
+ optional string context
8175
8215
 
8176
8216
  experimental type BackForwardCacheNotRestoredExplanationTree extends object
8177
8217
  properties
@@ -1634,6 +1634,16 @@ export namespace ProtocolMapping {
1634
1634
  paramsType: [Protocol.CSS.GetStyleSheetTextRequest];
1635
1635
  returnType: Protocol.CSS.GetStyleSheetTextResponse;
1636
1636
  };
1637
+ /**
1638
+ * Returns all layers parsed by the rendering engine for the tree scope of a node.
1639
+ * Given a DOM element identified by nodeId, getLayersForNode returns the root
1640
+ * layer for the nearest ancestor document or shadow root. The layer root contains
1641
+ * the full layer tree for the tree scope and their ordering.
1642
+ */
1643
+ 'CSS.getLayersForNode': {
1644
+ paramsType: [Protocol.CSS.GetLayersForNodeRequest];
1645
+ returnType: Protocol.CSS.GetLayersForNodeResponse;
1646
+ };
1637
1647
  /**
1638
1648
  * Starts tracking the given computed styles for updates. The specified array of properties
1639
1649
  * replaces the one previously specified. Pass empty array to disable tracking.
@@ -963,6 +963,14 @@ export namespace ProtocolProxyApi {
963
963
  */
964
964
  getStyleSheetText(params: Protocol.CSS.GetStyleSheetTextRequest): Promise<Protocol.CSS.GetStyleSheetTextResponse>;
965
965
 
966
+ /**
967
+ * Returns all layers parsed by the rendering engine for the tree scope of a node.
968
+ * Given a DOM element identified by nodeId, getLayersForNode returns the root
969
+ * layer for the nearest ancestor document or shadow root. The layer root contains
970
+ * the full layer tree for the tree scope and their ordering.
971
+ */
972
+ getLayersForNode(params: Protocol.CSS.GetLayersForNodeRequest): Promise<Protocol.CSS.GetLayersForNodeResponse>;
973
+
966
974
  /**
967
975
  * Starts tracking the given computed styles for updates. The specified array of properties
968
976
  * replaces the one previously specified. Pass empty array to disable tracking.
@@ -3071,18 +3071,18 @@ export namespace Protocol {
3071
3071
  frameId: Page.FrameId;
3072
3072
  }
3073
3073
 
3074
- export type SameSiteCookieExclusionReason = ('ExcludeSameSiteUnspecifiedTreatedAsLax' | 'ExcludeSameSiteNoneInsecure' | 'ExcludeSameSiteLax' | 'ExcludeSameSiteStrict' | 'ExcludeInvalidSameParty' | 'ExcludeSamePartyCrossPartyContext');
3074
+ export type CookieExclusionReason = ('ExcludeSameSiteUnspecifiedTreatedAsLax' | 'ExcludeSameSiteNoneInsecure' | 'ExcludeSameSiteLax' | 'ExcludeSameSiteStrict' | 'ExcludeInvalidSameParty' | 'ExcludeSamePartyCrossPartyContext');
3075
3075
 
3076
- export type SameSiteCookieWarningReason = ('WarnSameSiteUnspecifiedCrossSiteContext' | 'WarnSameSiteNoneInsecure' | 'WarnSameSiteUnspecifiedLaxAllowUnsafe' | 'WarnSameSiteStrictLaxDowngradeStrict' | 'WarnSameSiteStrictCrossDowngradeStrict' | 'WarnSameSiteStrictCrossDowngradeLax' | 'WarnSameSiteLaxCrossDowngradeStrict' | 'WarnSameSiteLaxCrossDowngradeLax');
3076
+ export type CookieWarningReason = ('WarnSameSiteUnspecifiedCrossSiteContext' | 'WarnSameSiteNoneInsecure' | 'WarnSameSiteUnspecifiedLaxAllowUnsafe' | 'WarnSameSiteStrictLaxDowngradeStrict' | 'WarnSameSiteStrictCrossDowngradeStrict' | 'WarnSameSiteStrictCrossDowngradeLax' | 'WarnSameSiteLaxCrossDowngradeStrict' | 'WarnSameSiteLaxCrossDowngradeLax');
3077
3077
 
3078
- export type SameSiteCookieOperation = ('SetCookie' | 'ReadCookie');
3078
+ export type CookieOperation = ('SetCookie' | 'ReadCookie');
3079
3079
 
3080
3080
  /**
3081
3081
  * This information is currently necessary, as the front-end has a difficult
3082
3082
  * time finding a specific cookie. With this, we can convey specific error
3083
3083
  * information without the cookie.
3084
3084
  */
3085
- export interface SameSiteCookieIssueDetails {
3085
+ export interface CookieIssueDetails {
3086
3086
  /**
3087
3087
  * If AffectedCookie is not set then rawCookieLine contains the raw
3088
3088
  * Set-Cookie header string. This hints at a problem where the
@@ -3091,13 +3091,13 @@ export namespace Protocol {
3091
3091
  */
3092
3092
  cookie?: AffectedCookie;
3093
3093
  rawCookieLine?: string;
3094
- cookieWarningReasons: SameSiteCookieWarningReason[];
3095
- cookieExclusionReasons: SameSiteCookieExclusionReason[];
3094
+ cookieWarningReasons: CookieWarningReason[];
3095
+ cookieExclusionReasons: CookieExclusionReason[];
3096
3096
  /**
3097
3097
  * Optionally identifies the site-for-cookies and the cookie url, which
3098
3098
  * may be used by the front-end as additional context.
3099
3099
  */
3100
- operation: SameSiteCookieOperation;
3100
+ operation: CookieOperation;
3101
3101
  siteForCookies?: string;
3102
3102
  cookieUrl?: string;
3103
3103
  request?: AffectedRequest;
@@ -3354,7 +3354,7 @@ export namespace Protocol {
3354
3354
  * optional fields in InspectorIssueDetails to convey more specific
3355
3355
  * information about the kind of issue.
3356
3356
  */
3357
- export type InspectorIssueCode = ('SameSiteCookieIssue' | 'MixedContentIssue' | 'BlockedByResponseIssue' | 'HeavyAdIssue' | 'ContentSecurityPolicyIssue' | 'SharedArrayBufferIssue' | 'TrustedWebActivityIssue' | 'LowTextContrastIssue' | 'CorsIssue' | 'AttributionReportingIssue' | 'QuirksModeIssue' | 'NavigatorUserAgentIssue' | 'GenericIssue' | 'DeprecationIssue' | 'ClientHintIssue' | 'FederatedAuthRequestIssue');
3357
+ export type InspectorIssueCode = ('CookieIssue' | 'MixedContentIssue' | 'BlockedByResponseIssue' | 'HeavyAdIssue' | 'ContentSecurityPolicyIssue' | 'SharedArrayBufferIssue' | 'TrustedWebActivityIssue' | 'LowTextContrastIssue' | 'CorsIssue' | 'AttributionReportingIssue' | 'QuirksModeIssue' | 'NavigatorUserAgentIssue' | 'GenericIssue' | 'DeprecationIssue' | 'ClientHintIssue' | 'FederatedAuthRequestIssue');
3358
3358
 
3359
3359
  /**
3360
3360
  * This struct holds a list of optional fields with additional information
@@ -3362,7 +3362,7 @@ export namespace Protocol {
3362
3362
  * add a new optional field to this type.
3363
3363
  */
3364
3364
  export interface InspectorIssueDetails {
3365
- sameSiteCookieIssueDetails?: SameSiteCookieIssueDetails;
3365
+ cookieIssueDetails?: CookieIssueDetails;
3366
3366
  mixedContentIssueDetails?: MixedContentIssueDetails;
3367
3367
  blockedByResponseIssueDetails?: BlockedByResponseIssueDetails;
3368
3368
  heavyAdIssueDetails?: HeavyAdIssueDetails;
@@ -4115,6 +4115,11 @@ export namespace Protocol {
4115
4115
  * The array enumerates @supports at-rules starting with the innermost one, going outwards.
4116
4116
  */
4117
4117
  supports?: CSSSupports[];
4118
+ /**
4119
+ * Cascade layer array. Contains the layer hierarchy that this rule belongs to starting
4120
+ * with the innermost layer and going outwards.
4121
+ */
4122
+ layers?: CSSLayer[];
4118
4123
  }
4119
4124
 
4120
4125
  /**
@@ -4376,6 +4381,44 @@ export namespace Protocol {
4376
4381
  styleSheetId?: StyleSheetId;
4377
4382
  }
4378
4383
 
4384
+ /**
4385
+ * CSS Layer at-rule descriptor.
4386
+ */
4387
+ export interface CSSLayer {
4388
+ /**
4389
+ * Layer name.
4390
+ */
4391
+ text: string;
4392
+ /**
4393
+ * The associated rule header range in the enclosing stylesheet (if
4394
+ * available).
4395
+ */
4396
+ range?: SourceRange;
4397
+ /**
4398
+ * Identifier of the stylesheet containing this object (if exists).
4399
+ */
4400
+ styleSheetId?: StyleSheetId;
4401
+ }
4402
+
4403
+ /**
4404
+ * CSS Layer data.
4405
+ */
4406
+ export interface CSSLayerData {
4407
+ /**
4408
+ * Layer name.
4409
+ */
4410
+ name: string;
4411
+ /**
4412
+ * Direct sub-layers
4413
+ */
4414
+ subLayers?: CSSLayerData[];
4415
+ /**
4416
+ * Layer order. The order determines the order of the layer in the cascade order.
4417
+ * A higher number has higher priority in the cascade order.
4418
+ */
4419
+ order: number;
4420
+ }
4421
+
4379
4422
  /**
4380
4423
  * Information about amount of glyphs that were rendered with given font.
4381
4424
  */
@@ -4686,6 +4729,14 @@ export namespace Protocol {
4686
4729
  text: string;
4687
4730
  }
4688
4731
 
4732
+ export interface GetLayersForNodeRequest {
4733
+ nodeId: DOM.NodeId;
4734
+ }
4735
+
4736
+ export interface GetLayersForNodeResponse {
4737
+ rootLayer: CSSLayerData;
4738
+ }
4739
+
4689
4740
  export interface TrackComputedStyleUpdatesRequest {
4690
4741
  propertiesToTrack: CSSComputedStyleProperty[];
4691
4742
  }
@@ -12452,6 +12503,12 @@ export namespace Protocol {
12452
12503
  * Not restored reason
12453
12504
  */
12454
12505
  reason: BackForwardCacheNotRestoredReason;
12506
+ /**
12507
+ * Context associated with the reason. The meaning of this context is
12508
+ * dependent on the reason:
12509
+ * - EmbedderExtensionSentMessageToCachedFrame: the extension ID.
12510
+ */
12511
+ context?: string;
12455
12512
  }
12456
12513
 
12457
12514
  export interface BackForwardCacheNotRestoredExplanationTree {