devtools-protocol 0.0.1647336 → 0.0.1648812

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.
@@ -4432,6 +4432,34 @@
4432
4432
  }
4433
4433
  ]
4434
4434
  },
4435
+ {
4436
+ "id": "SpecificityComponent",
4437
+ "description": "Contribution of an individual simple selector to specificity.",
4438
+ "experimental": true,
4439
+ "type": "object",
4440
+ "properties": [
4441
+ {
4442
+ "name": "text",
4443
+ "description": "The simple selector text that contributes to specificity.",
4444
+ "type": "string"
4445
+ },
4446
+ {
4447
+ "name": "a",
4448
+ "description": "The a component contribution.",
4449
+ "type": "integer"
4450
+ },
4451
+ {
4452
+ "name": "b",
4453
+ "description": "The b component contribution.",
4454
+ "type": "integer"
4455
+ },
4456
+ {
4457
+ "name": "c",
4458
+ "description": "The c component contribution.",
4459
+ "type": "integer"
4460
+ }
4461
+ ]
4462
+ },
4435
4463
  {
4436
4464
  "id": "Specificity",
4437
4465
  "description": "Specificity:\nhttps://drafts.csswg.org/selectors/#specificity-rules",
@@ -4452,6 +4480,16 @@
4452
4480
  "name": "c",
4453
4481
  "description": "The c component, which represents the number of type selectors and pseudo-elements.",
4454
4482
  "type": "integer"
4483
+ },
4484
+ {
4485
+ "name": "components",
4486
+ "description": "Per-simple-selector contributions used to explain this specificity.",
4487
+ "experimental": true,
4488
+ "optional": true,
4489
+ "type": "array",
4490
+ "items": {
4491
+ "$ref": "SpecificityComponent"
4492
+ }
4455
4493
  }
4456
4494
  ]
4457
4495
  },
@@ -16759,10 +16797,6 @@
16759
16797
  "enum": [
16760
16798
  "None",
16761
16799
  "UserSetting",
16762
- "TPCDMetadata",
16763
- "TPCDDeprecationTrial",
16764
- "TopLevelTPCDDeprecationTrial",
16765
- "TPCDHeuristics",
16766
16800
  "EnterprisePolicy",
16767
16801
  "StorageAccess",
16768
16802
  "TopLevelStorageAccess",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devtools-protocol",
3
- "version": "0.0.1647336",
3
+ "version": "0.0.1648812",
4
4
  "description": "The Chrome DevTools Protocol JSON",
5
5
  "repository": "https://github.com/ChromeDevTools/devtools-protocol",
6
6
  "author": "The Chromium Authors",
@@ -82,6 +82,18 @@ experimental domain CSS
82
82
  # Specificity of the selector.
83
83
  experimental optional Specificity specificity
84
84
 
85
+ # Contribution of an individual simple selector to specificity.
86
+ experimental type SpecificityComponent extends object
87
+ properties
88
+ # The simple selector text that contributes to specificity.
89
+ string text
90
+ # The a component contribution.
91
+ integer a
92
+ # The b component contribution.
93
+ integer b
94
+ # The c component contribution.
95
+ integer c
96
+
85
97
  # Specificity:
86
98
  # https://drafts.csswg.org/selectors/#specificity-rules
87
99
  experimental type Specificity extends object
@@ -93,6 +105,8 @@ experimental domain CSS
93
105
  integer b
94
106
  # The c component, which represents the number of type selectors and pseudo-elements.
95
107
  integer c
108
+ # Per-simple-selector contributions used to explain this specificity.
109
+ experimental optional array of SpecificityComponent components
96
110
 
97
111
  # Selector list data.
98
112
  type SelectorList extends object
@@ -738,14 +738,6 @@ domain Network
738
738
  None
739
739
  # The cookie should have been blocked by 3PCD but is exempted by explicit user setting.
740
740
  UserSetting
741
- # The cookie should have been blocked by 3PCD but is exempted by metadata mitigation.
742
- TPCDMetadata
743
- # The cookie should have been blocked by 3PCD but is exempted by Deprecation Trial mitigation.
744
- TPCDDeprecationTrial
745
- # The cookie should have been blocked by 3PCD but is exempted by Top-level Deprecation Trial mitigation.
746
- TopLevelTPCDDeprecationTrial
747
- # The cookie should have been blocked by 3PCD but is exempted by heuristics mitigation.
748
- TPCDHeuristics
749
741
  # The cookie should have been blocked by 3PCD but is exempted by Enterprise Policy.
750
742
  EnterprisePolicy
751
743
  # The cookie should have been blocked by 3PCD but is exempted by Storage Access API.
@@ -5153,6 +5153,29 @@ export namespace Protocol {
5153
5153
  specificity?: Specificity;
5154
5154
  }
5155
5155
 
5156
+ /**
5157
+ * Contribution of an individual simple selector to specificity.
5158
+ * @experimental
5159
+ */
5160
+ export interface SpecificityComponent {
5161
+ /**
5162
+ * The simple selector text that contributes to specificity.
5163
+ */
5164
+ text: string;
5165
+ /**
5166
+ * The a component contribution.
5167
+ */
5168
+ a: integer;
5169
+ /**
5170
+ * The b component contribution.
5171
+ */
5172
+ b: integer;
5173
+ /**
5174
+ * The c component contribution.
5175
+ */
5176
+ c: integer;
5177
+ }
5178
+
5156
5179
  /**
5157
5180
  * Specificity:
5158
5181
  * https://drafts.csswg.org/selectors/#specificity-rules
@@ -5172,6 +5195,11 @@ export namespace Protocol {
5172
5195
  * The c component, which represents the number of type selectors and pseudo-elements.
5173
5196
  */
5174
5197
  c: integer;
5198
+ /**
5199
+ * Per-simple-selector contributions used to explain this specificity.
5200
+ * @experimental
5201
+ */
5202
+ components?: SpecificityComponent[];
5175
5203
  }
5176
5204
 
5177
5205
  /**
@@ -13240,7 +13268,7 @@ export namespace Protocol {
13240
13268
  * Types of reasons why a cookie should have been blocked by 3PCD but is exempted for the request.
13241
13269
  * @experimental
13242
13270
  */
13243
- export type CookieExemptionReason = ('None' | 'UserSetting' | 'TPCDMetadata' | 'TPCDDeprecationTrial' | 'TopLevelTPCDDeprecationTrial' | 'TPCDHeuristics' | 'EnterprisePolicy' | 'StorageAccess' | 'TopLevelStorageAccess' | 'Scheme' | 'SameSiteNoneCookiesInSandbox');
13271
+ export type CookieExemptionReason = ('None' | 'UserSetting' | 'EnterprisePolicy' | 'StorageAccess' | 'TopLevelStorageAccess' | 'Scheme' | 'SameSiteNoneCookiesInSandbox');
13244
13272
 
13245
13273
  /**
13246
13274
  * A cookie which was not stored from a response with the corresponding reason.