devtools-protocol 0.0.1146845 → 0.0.1148337
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.
- package/json/browser_protocol.json +36 -0
- package/package.json +1 -1
- package/pdl/browser_protocol.pdl +16 -0
- package/types/protocol.d.ts +28 -0
@@ -2829,6 +2829,36 @@
|
|
2829
2829
|
"description": "Value range in the underlying resource (if available).",
|
2830
2830
|
"optional": true,
|
2831
2831
|
"$ref": "SourceRange"
|
2832
|
+
},
|
2833
|
+
{
|
2834
|
+
"name": "specificity",
|
2835
|
+
"description": "Specificity of the selector.",
|
2836
|
+
"experimental": true,
|
2837
|
+
"optional": true,
|
2838
|
+
"$ref": "Specificity"
|
2839
|
+
}
|
2840
|
+
]
|
2841
|
+
},
|
2842
|
+
{
|
2843
|
+
"id": "Specificity",
|
2844
|
+
"description": "Specificity:\nhttps://drafts.csswg.org/selectors/#specificity-rules",
|
2845
|
+
"experimental": true,
|
2846
|
+
"type": "object",
|
2847
|
+
"properties": [
|
2848
|
+
{
|
2849
|
+
"name": "a",
|
2850
|
+
"description": "The a component, which represents the number of ID selectors.",
|
2851
|
+
"type": "integer"
|
2852
|
+
},
|
2853
|
+
{
|
2854
|
+
"name": "b",
|
2855
|
+
"description": "The b component, which represents the number of class selectors, attributes selectors, and\npseudo-classes.",
|
2856
|
+
"type": "integer"
|
2857
|
+
},
|
2858
|
+
{
|
2859
|
+
"name": "c",
|
2860
|
+
"description": "The c component, which represents the number of type selectors and pseudo-elements.",
|
2861
|
+
"type": "integer"
|
2832
2862
|
}
|
2833
2863
|
]
|
2834
2864
|
},
|
@@ -11169,6 +11199,12 @@
|
|
11169
11199
|
"experimental": true,
|
11170
11200
|
"type": "number"
|
11171
11201
|
},
|
11202
|
+
{
|
11203
|
+
"name": "receiveHeadersStart",
|
11204
|
+
"description": "Started receiving response headers.",
|
11205
|
+
"experimental": true,
|
11206
|
+
"type": "number"
|
11207
|
+
},
|
11172
11208
|
{
|
11173
11209
|
"name": "receiveHeadersEnd",
|
11174
11210
|
"description": "Finished receiving response headers.",
|
package/package.json
CHANGED
package/pdl/browser_protocol.pdl
CHANGED
@@ -1382,6 +1382,20 @@ experimental domain CSS
|
|
1382
1382
|
string text
|
1383
1383
|
# Value range in the underlying resource (if available).
|
1384
1384
|
optional SourceRange range
|
1385
|
+
# Specificity of the selector.
|
1386
|
+
experimental optional Specificity specificity
|
1387
|
+
|
1388
|
+
# Specificity:
|
1389
|
+
# https://drafts.csswg.org/selectors/#specificity-rules
|
1390
|
+
experimental type Specificity extends object
|
1391
|
+
properties
|
1392
|
+
# The a component, which represents the number of ID selectors.
|
1393
|
+
integer a
|
1394
|
+
# The b component, which represents the number of class selectors, attributes selectors, and
|
1395
|
+
# pseudo-classes.
|
1396
|
+
integer b
|
1397
|
+
# The c component, which represents the number of type selectors and pseudo-elements.
|
1398
|
+
integer c
|
1385
1399
|
|
1386
1400
|
# Selector list data.
|
1387
1401
|
type SelectorList extends object
|
@@ -5107,6 +5121,8 @@ domain Network
|
|
5107
5121
|
experimental number pushStart
|
5108
5122
|
# Time the server finished pushing request.
|
5109
5123
|
experimental number pushEnd
|
5124
|
+
# Started receiving response headers.
|
5125
|
+
experimental number receiveHeadersStart
|
5110
5126
|
# Finished receiving response headers.
|
5111
5127
|
number receiveHeadersEnd
|
5112
5128
|
|
package/types/protocol.d.ts
CHANGED
@@ -4234,6 +4234,30 @@ export namespace Protocol {
|
|
4234
4234
|
* Value range in the underlying resource (if available).
|
4235
4235
|
*/
|
4236
4236
|
range?: SourceRange;
|
4237
|
+
/**
|
4238
|
+
* Specificity of the selector.
|
4239
|
+
*/
|
4240
|
+
specificity?: Specificity;
|
4241
|
+
}
|
4242
|
+
|
4243
|
+
/**
|
4244
|
+
* Specificity:
|
4245
|
+
* https://drafts.csswg.org/selectors/#specificity-rules
|
4246
|
+
*/
|
4247
|
+
export interface Specificity {
|
4248
|
+
/**
|
4249
|
+
* The a component, which represents the number of ID selectors.
|
4250
|
+
*/
|
4251
|
+
a: integer;
|
4252
|
+
/**
|
4253
|
+
* The b component, which represents the number of class selectors, attributes selectors, and
|
4254
|
+
* pseudo-classes.
|
4255
|
+
*/
|
4256
|
+
b: integer;
|
4257
|
+
/**
|
4258
|
+
* The c component, which represents the number of type selectors and pseudo-elements.
|
4259
|
+
*/
|
4260
|
+
c: integer;
|
4237
4261
|
}
|
4238
4262
|
|
4239
4263
|
/**
|
@@ -9652,6 +9676,10 @@ export namespace Protocol {
|
|
9652
9676
|
* Time the server finished pushing request.
|
9653
9677
|
*/
|
9654
9678
|
pushEnd: number;
|
9679
|
+
/**
|
9680
|
+
* Started receiving response headers.
|
9681
|
+
*/
|
9682
|
+
receiveHeadersStart: number;
|
9655
9683
|
/**
|
9656
9684
|
* Finished receiving response headers.
|
9657
9685
|
*/
|