Skip to content

Commit 7757e29

Browse files
committed
Roll protocol to r1402790
1 parent 9d48b99 commit 7757e29

File tree

8 files changed

+82
-4
lines changed

8 files changed

+82
-4
lines changed

changelog.md

Lines changed: 29 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,35 @@
11

22

3+
## Roll protocol to r1402790 — _2025-01-07T04:28:42.000Z_
4+
###### Diff: [`9d48b99...efa121f`](https://github.com/ChromeDevTools/devtools-protocol/compare/9d48b99...efa121f)
5+
6+
```diff
7+
@@ browser_protocol.pdl:2327 @@ experimental domain CSS
8+
returns
9+
array of string results
10+
11+
+ experimental command getLonghandProperties
12+
+ parameters
13+
+ string shorthandName
14+
+ string value
15+
+ returns
16+
+ array of CSSProperty longhandProperties
17+
+
18+
# Returns the styles defined inline (explicitly in the "style" attribute and implicitly, using DOM
19+
# attributes) for a DOM node identified by `nodeId`.
20+
command getInlineStylesForNode
21+
@@ -7429,6 +7436,7 @@ domain Network
22+
InternalError
23+
UnknownError
24+
FulfilledLocally
25+
+ SiteIssuerLimit
26+
TrustTokenOperationType type
27+
RequestId requestId
28+
# Top level origin. The context in which the operation was attempted.
29+
```
30+
331
## Roll protocol to r1402036 — _2025-01-04T04:28:29.000Z_
4-
###### Diff: [`1f97d3a...a10871b`](https://github.com/ChromeDevTools/devtools-protocol/compare/1f97d3a...a10871b)
32+
###### Diff: [`1f97d3a...9d48b99`](https://github.com/ChromeDevTools/devtools-protocol/compare/1f97d3a...9d48b99)
533

634
```diff
735
@@ browser_protocol.pdl:7639 @@ domain Network

json/browser_protocol.json

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4837,6 +4837,29 @@
48374837
}
48384838
]
48394839
},
4840+
{
4841+
"name": "getLonghandProperties",
4842+
"experimental": true,
4843+
"parameters": [
4844+
{
4845+
"name": "shorthandName",
4846+
"type": "string"
4847+
},
4848+
{
4849+
"name": "value",
4850+
"type": "string"
4851+
}
4852+
],
4853+
"returns": [
4854+
{
4855+
"name": "longhandProperties",
4856+
"type": "array",
4857+
"items": {
4858+
"$ref": "CSSProperty"
4859+
}
4860+
}
4861+
]
4862+
},
48404863
{
48414864
"name": "getInlineStylesForNode",
48424865
"description": "Returns the styles defined inline (explicitly in the \"style\" attribute and implicitly, using DOM\nattributes) for a DOM node identified by `nodeId`.",
@@ -16052,7 +16075,8 @@
1605216075
"BadResponse",
1605316076
"InternalError",
1605416077
"UnknownError",
16055-
"FulfilledLocally"
16078+
"FulfilledLocally",
16079+
"SiteIssuerLimit"
1605616080
]
1605716081
},
1605816082
{

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "devtools-protocol",
3-
"version": "0.0.1402036",
3+
"version": "0.0.1402790",
44
"description": "The Chrome DevTools Protocol JSON",
55
"repository": "https://github.com/ChromeDevTools/devtools-protocol",
66
"author": "The Chromium Authors",

pdl/browser_protocol.pdl

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2327,6 +2327,13 @@ experimental domain CSS
23272327
returns
23282328
array of string results
23292329

2330+
experimental command getLonghandProperties
2331+
parameters
2332+
string shorthandName
2333+
string value
2334+
returns
2335+
array of CSSProperty longhandProperties
2336+
23302337
# Returns the styles defined inline (explicitly in the "style" attribute and implicitly, using DOM
23312338
# attributes) for a DOM node identified by `nodeId`.
23322339
command getInlineStylesForNode
@@ -7429,6 +7436,7 @@ domain Network
74297436
InternalError
74307437
UnknownError
74317438
FulfilledLocally
7439+
SiteIssuerLimit
74327440
TrustTokenOperationType type
74337441
RequestId requestId
74347442
# Top level origin. The context in which the operation was attempted.

types/protocol-mapping.d.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1835,6 +1835,10 @@ export namespace ProtocolMapping {
18351835
paramsType: [Protocol.CSS.ResolveValuesRequest];
18361836
returnType: Protocol.CSS.ResolveValuesResponse;
18371837
};
1838+
'CSS.getLonghandProperties': {
1839+
paramsType: [Protocol.CSS.GetLonghandPropertiesRequest];
1840+
returnType: Protocol.CSS.GetLonghandPropertiesResponse;
1841+
};
18381842
/**
18391843
* Returns the styles defined inline (explicitly in the "style" attribute and implicitly, using DOM
18401844
* attributes) for a DOM node identified by `nodeId`.

types/protocol-proxy-api.d.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1074,6 +1074,8 @@ export namespace ProtocolProxyApi {
10741074
*/
10751075
resolveValues(params: Protocol.CSS.ResolveValuesRequest): Promise<Protocol.CSS.ResolveValuesResponse>;
10761076

1077+
getLonghandProperties(params: Protocol.CSS.GetLonghandPropertiesRequest): Promise<Protocol.CSS.GetLonghandPropertiesResponse>;
1078+
10771079
/**
10781080
* Returns the styles defined inline (explicitly in the "style" attribute and implicitly, using DOM
10791081
* attributes) for a DOM node identified by `nodeId`.

types/protocol-tests-proxy-api.d.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1142,6 +1142,8 @@ export namespace ProtocolTestsProxyApi {
11421142
*/
11431143
resolveValues(params: Protocol.CSS.ResolveValuesRequest): Promise<{id: number, result: Protocol.CSS.ResolveValuesResponse, sessionId: string}>;
11441144

1145+
getLonghandProperties(params: Protocol.CSS.GetLonghandPropertiesRequest): Promise<{id: number, result: Protocol.CSS.GetLonghandPropertiesResponse, sessionId: string}>;
1146+
11451147
/**
11461148
* Returns the styles defined inline (explicitly in the "style" attribute and implicitly, using DOM
11471149
* attributes) for a DOM node identified by `nodeId`.

types/protocol.d.ts

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5564,6 +5564,15 @@ export namespace Protocol {
55645564
results: string[];
55655565
}
55665566

5567+
export interface GetLonghandPropertiesRequest {
5568+
shorthandName: string;
5569+
value: string;
5570+
}
5571+
5572+
export interface GetLonghandPropertiesResponse {
5573+
longhandProperties: CSSProperty[];
5574+
}
5575+
55675576
export interface GetInlineStylesForNodeRequest {
55685577
nodeId: DOM.NodeId;
55695578
}
@@ -12703,6 +12712,7 @@ export namespace Protocol {
1270312712
InternalError = 'InternalError',
1270412713
UnknownError = 'UnknownError',
1270512714
FulfilledLocally = 'FulfilledLocally',
12715+
SiteIssuerLimit = 'SiteIssuerLimit',
1270612716
}
1270712717

1270812718
/**
@@ -12718,7 +12728,7 @@ export namespace Protocol {
1271812728
* of the operation already exists und thus, the operation was abort
1271912729
* preemptively (e.g. a cache hit). (TrustTokenOperationDoneEventStatus enum)
1272012730
*/
12721-
status: ('Ok' | 'InvalidArgument' | 'MissingIssuerKeys' | 'FailedPrecondition' | 'ResourceExhausted' | 'AlreadyExists' | 'ResourceLimited' | 'Unauthorized' | 'BadResponse' | 'InternalError' | 'UnknownError' | 'FulfilledLocally');
12731+
status: ('Ok' | 'InvalidArgument' | 'MissingIssuerKeys' | 'FailedPrecondition' | 'ResourceExhausted' | 'AlreadyExists' | 'ResourceLimited' | 'Unauthorized' | 'BadResponse' | 'InternalError' | 'UnknownError' | 'FulfilledLocally' | 'SiteIssuerLimit');
1272212732
type: TrustTokenOperationType;
1272312733
requestId: RequestId;
1272412734
/**

0 commit comments

Comments
 (0)