Skip to content

Commit

Permalink
Roll protocol to r1402790
Browse files Browse the repository at this point in the history
  • Loading branch information
devtools-bot committed Jan 7, 2025
1 parent 9d48b99 commit 7757e29
Show file tree
Hide file tree
Showing 8 changed files with 82 additions and 4 deletions.
30 changes: 29 additions & 1 deletion changelog.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,35 @@


## Roll protocol to r1402790 — _2025-01-07T04:28:42.000Z_
###### Diff: [`9d48b99...efa121f`](https://github.com/ChromeDevTools/devtools-protocol/compare/9d48b99...efa121f)

```diff
@@ browser_protocol.pdl:2327 @@ experimental domain CSS
returns
array of string results

+ experimental command getLonghandProperties
+ parameters
+ string shorthandName
+ string value
+ returns
+ array of CSSProperty longhandProperties
+
# Returns the styles defined inline (explicitly in the "style" attribute and implicitly, using DOM
# attributes) for a DOM node identified by `nodeId`.
command getInlineStylesForNode
@@ -7429,6 +7436,7 @@ domain Network
InternalError
UnknownError
FulfilledLocally
+ SiteIssuerLimit
TrustTokenOperationType type
RequestId requestId
# Top level origin. The context in which the operation was attempted.
```

## Roll protocol to r1402036 — _2025-01-04T04:28:29.000Z_
###### Diff: [`1f97d3a...a10871b`](https://github.com/ChromeDevTools/devtools-protocol/compare/1f97d3a...a10871b)
###### Diff: [`1f97d3a...9d48b99`](https://github.com/ChromeDevTools/devtools-protocol/compare/1f97d3a...9d48b99)

```diff
@@ browser_protocol.pdl:7639 @@ domain Network
Expand Down
26 changes: 25 additions & 1 deletion json/browser_protocol.json
Original file line number Diff line number Diff line change
Expand Up @@ -4837,6 +4837,29 @@
}
]
},
{
"name": "getLonghandProperties",
"experimental": true,
"parameters": [
{
"name": "shorthandName",
"type": "string"
},
{
"name": "value",
"type": "string"
}
],
"returns": [
{
"name": "longhandProperties",
"type": "array",
"items": {
"$ref": "CSSProperty"
}
}
]
},
{
"name": "getInlineStylesForNode",
"description": "Returns the styles defined inline (explicitly in the \"style\" attribute and implicitly, using DOM\nattributes) for a DOM node identified by `nodeId`.",
Expand Down Expand Up @@ -16052,7 +16075,8 @@
"BadResponse",
"InternalError",
"UnknownError",
"FulfilledLocally"
"FulfilledLocally",
"SiteIssuerLimit"
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "devtools-protocol",
"version": "0.0.1402036",
"version": "0.0.1402790",
"description": "The Chrome DevTools Protocol JSON",
"repository": "https://github.com/ChromeDevTools/devtools-protocol",
"author": "The Chromium Authors",
Expand Down
8 changes: 8 additions & 0 deletions pdl/browser_protocol.pdl
Original file line number Diff line number Diff line change
Expand Up @@ -2327,6 +2327,13 @@ experimental domain CSS
returns
array of string results

experimental command getLonghandProperties
parameters
string shorthandName
string value
returns
array of CSSProperty longhandProperties

# Returns the styles defined inline (explicitly in the "style" attribute and implicitly, using DOM
# attributes) for a DOM node identified by `nodeId`.
command getInlineStylesForNode
Expand Down Expand Up @@ -7429,6 +7436,7 @@ domain Network
InternalError
UnknownError
FulfilledLocally
SiteIssuerLimit
TrustTokenOperationType type
RequestId requestId
# Top level origin. The context in which the operation was attempted.
Expand Down
4 changes: 4 additions & 0 deletions types/protocol-mapping.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1835,6 +1835,10 @@ export namespace ProtocolMapping {
paramsType: [Protocol.CSS.ResolveValuesRequest];
returnType: Protocol.CSS.ResolveValuesResponse;
};
'CSS.getLonghandProperties': {
paramsType: [Protocol.CSS.GetLonghandPropertiesRequest];
returnType: Protocol.CSS.GetLonghandPropertiesResponse;
};
/**
* Returns the styles defined inline (explicitly in the "style" attribute and implicitly, using DOM
* attributes) for a DOM node identified by `nodeId`.
Expand Down
2 changes: 2 additions & 0 deletions types/protocol-proxy-api.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1074,6 +1074,8 @@ export namespace ProtocolProxyApi {
*/
resolveValues(params: Protocol.CSS.ResolveValuesRequest): Promise<Protocol.CSS.ResolveValuesResponse>;

getLonghandProperties(params: Protocol.CSS.GetLonghandPropertiesRequest): Promise<Protocol.CSS.GetLonghandPropertiesResponse>;

/**
* Returns the styles defined inline (explicitly in the "style" attribute and implicitly, using DOM
* attributes) for a DOM node identified by `nodeId`.
Expand Down
2 changes: 2 additions & 0 deletions types/protocol-tests-proxy-api.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1142,6 +1142,8 @@ export namespace ProtocolTestsProxyApi {
*/
resolveValues(params: Protocol.CSS.ResolveValuesRequest): Promise<{id: number, result: Protocol.CSS.ResolveValuesResponse, sessionId: string}>;

getLonghandProperties(params: Protocol.CSS.GetLonghandPropertiesRequest): Promise<{id: number, result: Protocol.CSS.GetLonghandPropertiesResponse, sessionId: string}>;

/**
* Returns the styles defined inline (explicitly in the "style" attribute and implicitly, using DOM
* attributes) for a DOM node identified by `nodeId`.
Expand Down
12 changes: 11 additions & 1 deletion types/protocol.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5564,6 +5564,15 @@ export namespace Protocol {
results: string[];
}

export interface GetLonghandPropertiesRequest {
shorthandName: string;
value: string;
}

export interface GetLonghandPropertiesResponse {
longhandProperties: CSSProperty[];
}

export interface GetInlineStylesForNodeRequest {
nodeId: DOM.NodeId;
}
Expand Down Expand Up @@ -12703,6 +12712,7 @@ export namespace Protocol {
InternalError = 'InternalError',
UnknownError = 'UnknownError',
FulfilledLocally = 'FulfilledLocally',
SiteIssuerLimit = 'SiteIssuerLimit',
}

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

0 comments on commit 7757e29

Please sign in to comment.