Skip to content

Commit 19078ce

Browse files
committed
Roll protocol to r1574117
1 parent 878c563 commit 19078ce

File tree

10 files changed

+73
-20
lines changed

10 files changed

+73
-20
lines changed

changelog.md

Lines changed: 35 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,41 @@
11

22

3+
## Roll protocol to r1574117 — _2026-01-24T04:34:09.000Z_
4+
###### Diff: [`878c563...9848d8a`](https://github.com/ChromeDevTools/devtools-protocol/compare/878c563...9848d8a)
5+
6+
```diff
7+
@@ domains/CSS.pdl:708 @@ experimental domain CSS
8+
# to the provided property syntax, the value is parsed using combined
9+
# syntax as if null `propertyName` was provided. If the value cannot be
10+
# resolved even then, return the provided value without any changes.
11+
+ # Note: this function currently does not resolve CSS random() function,
12+
+ # it returns unmodified random() function parts.`
13+
experimental command resolveValues
14+
parameters
15+
# Cascade-dependent keywords (revert/revert-layer) do not work.
16+
diff --git a/pdl/domains/Target.pdl b/pdl/domains/Target.pdl
17+
index 8d8ead63..e8380799 100644
18+
--- a/pdl/domains/Target.pdl
19+
+++ b/pdl/domains/Target.pdl
20+
@@ -167,6 +167,14 @@ domain Target
21+
# present in the tab UI strip. Cannot be created with `forTab: true`, `newWindow: true` or
22+
# `background: false`. The life-time of the tab is limited to the life-time of the session.
23+
experimental optional boolean hidden
24+
+ # If specified, the option is used to determine if the new target should
25+
+ # be focused or not. By default, the focus behavior depends on the
26+
+ # value of the background field. For example, background=false and focus=false
27+
+ # will result in the target tab being opened but the browser window remain
28+
+ # unchanged (if it was in the background, it will remain in the background)
29+
+ # and background=false with focus=undefined will result in the window being focused.
30+
+ # Using background: true and focus: true is not supported and will result in an error.
31+
+ experimental optional boolean focus
32+
returns
33+
# The id of the page opened.
34+
TargetID targetId
35+
```
36+
337
## Roll protocol to r1573491 — _2026-01-23T04:35:32.000Z_
4-
###### Diff: [`9e24285...f9c7e21`](https://github.com/ChromeDevTools/devtools-protocol/compare/9e24285...f9c7e21)
38+
###### Diff: [`9e24285...878c563`](https://github.com/ChromeDevTools/devtools-protocol/compare/9e24285...878c563)
539

640
```diff
741
@@ domains/Network.pdl:1812 @@ domain Network
@@ -42301,19 +42335,4 @@ index 0dbdc01d..7a3c772c 100644
4230142335
SourceAndTriggerHeaders
4230242336
SourceIgnored
4230342337
TriggerIgnored
42304-
```
42305-
42306-
## Roll protocol to r1129085 — _2023-04-12T04:26:50.000Z_
42307-
###### Diff: [`22ae458...d7c1808`](https://github.com/ChromeDevTools/devtools-protocol/compare/22ae458...d7c1808)
42308-
42309-
```diff
42310-
@@ browser_protocol.pdl:708 @@ experimental domain Audits
42311-
InvalidHeader
42312-
InvalidRegisterTriggerHeader
42313-
InvalidEligibleHeader
42314-
+ # TODO(crbug.com/1431942): Remove this issue once DevTools stops
42315-
+ # referencing it
42316-
TooManyConcurrentRequests
42317-
SourceAndTriggerHeaders
42318-
SourceIgnored
4231942338
```

json/browser_protocol.json

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5664,7 +5664,7 @@
56645664
},
56655665
{
56665666
"name": "resolveValues",
5667-
"description": "Resolve the specified values in the context of the provided element.\nFor example, a value of '1em' is evaluated according to the computed\n'font-size' of the element and a value 'calc(1px + 2px)' will be\nresolved to '3px'.\nIf the `propertyName` was specified the `values` are resolved as if\nthey were property's declaration. If a value cannot be parsed according\nto the provided property syntax, the value is parsed using combined\nsyntax as if null `propertyName` was provided. If the value cannot be\nresolved even then, return the provided value without any changes.",
5667+
"description": "Resolve the specified values in the context of the provided element.\nFor example, a value of '1em' is evaluated according to the computed\n'font-size' of the element and a value 'calc(1px + 2px)' will be\nresolved to '3px'.\nIf the `propertyName` was specified the `values` are resolved as if\nthey were property's declaration. If a value cannot be parsed according\nto the provided property syntax, the value is parsed using combined\nsyntax as if null `propertyName` was provided. If the value cannot be\nresolved even then, return the provided value without any changes.\nNote: this function currently does not resolve CSS random() function,\nit returns unmodified random() function parts.`",
56685668
"experimental": true,
56695669
"parameters": [
56705670
{
@@ -28622,6 +28622,13 @@
2862228622
"experimental": true,
2862328623
"optional": true,
2862428624
"type": "boolean"
28625+
},
28626+
{
28627+
"name": "focus",
28628+
"description": "If specified, the option is used to determine if the new target should\nbe focused or not. By default, the focus behavior depends on the\nvalue of the background field. For example, background=false and focus=false\nwill result in the target tab being opened but the browser window remain\nunchanged (if it was in the background, it will remain in the background)\nand background=false with focus=undefined will result in the window being focused.\nUsing background: true and focus: true is not supported and will result in an error.",
28629+
"experimental": true,
28630+
"optional": true,
28631+
"type": "boolean"
2862528632
}
2862628633
],
2862728634
"returns": [

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

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.1573491",
3+
"version": "0.0.1574117",
44
"description": "The Chrome DevTools Protocol JSON",
55
"repository": "https://github.com/ChromeDevTools/devtools-protocol",
66
"author": "The Chromium Authors",

pdl/domains/CSS.pdl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -708,6 +708,8 @@ experimental domain CSS
708708
# to the provided property syntax, the value is parsed using combined
709709
# syntax as if null `propertyName` was provided. If the value cannot be
710710
# resolved even then, return the provided value without any changes.
711+
# Note: this function currently does not resolve CSS random() function,
712+
# it returns unmodified random() function parts.`
711713
experimental command resolveValues
712714
parameters
713715
# Cascade-dependent keywords (revert/revert-layer) do not work.

pdl/domains/Target.pdl

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,14 @@ domain Target
167167
# present in the tab UI strip. Cannot be created with `forTab: true`, `newWindow: true` or
168168
# `background: false`. The life-time of the tab is limited to the life-time of the session.
169169
experimental optional boolean hidden
170+
# If specified, the option is used to determine if the new target should
171+
# be focused or not. By default, the focus behavior depends on the
172+
# value of the background field. For example, background=false and focus=false
173+
# will result in the target tab being opened but the browser window remain
174+
# unchanged (if it was in the background, it will remain in the background)
175+
# and background=false with focus=undefined will result in the window being focused.
176+
# Using background: true and focus: true is not supported and will result in an error.
177+
experimental optional boolean focus
170178
returns
171179
# The id of the page opened.
172180
TargetID targetId

types/protocol-mapping.d.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2168,6 +2168,8 @@ export namespace ProtocolMapping {
21682168
* to the provided property syntax, the value is parsed using combined
21692169
* syntax as if null `propertyName` was provided. If the value cannot be
21702170
* resolved even then, return the provided value without any changes.
2171+
* Note: this function currently does not resolve CSS random() function,
2172+
* it returns unmodified random() function parts.`
21712173
* @experimental
21722174
*/
21732175
'CSS.resolveValues': {

types/protocol-proxy-api.d.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1226,6 +1226,8 @@ export namespace ProtocolProxyApi {
12261226
* to the provided property syntax, the value is parsed using combined
12271227
* syntax as if null `propertyName` was provided. If the value cannot be
12281228
* resolved even then, return the provided value without any changes.
1229+
* Note: this function currently does not resolve CSS random() function,
1230+
* it returns unmodified random() function parts.`
12291231
* @experimental
12301232
*/
12311233
resolveValues(params: Protocol.CSS.ResolveValuesRequest): Promise<Protocol.CSS.ResolveValuesResponse>;

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1300,6 +1300,8 @@ export namespace ProtocolTestsProxyApi {
13001300
* to the provided property syntax, the value is parsed using combined
13011301
* syntax as if null `propertyName` was provided. If the value cannot be
13021302
* resolved even then, return the provided value without any changes.
1303+
* Note: this function currently does not resolve CSS random() function,
1304+
* it returns unmodified random() function parts.`
13031305
* @experimental
13041306
*/
13051307
resolveValues(params: Protocol.CSS.ResolveValuesRequest): Promise<{id: number, result: Protocol.CSS.ResolveValuesResponse, sessionId: string}>;

types/protocol.d.ts

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20646,6 +20646,17 @@ export namespace Protocol {
2064620646
* @experimental
2064720647
*/
2064820648
hidden?: boolean;
20649+
/**
20650+
* If specified, the option is used to determine if the new target should
20651+
* be focused or not. By default, the focus behavior depends on the
20652+
* value of the background field. For example, background=false and focus=false
20653+
* will result in the target tab being opened but the browser window remain
20654+
* unchanged (if it was in the background, it will remain in the background)
20655+
* and background=false with focus=undefined will result in the window being focused.
20656+
* Using background: true and focus: true is not supported and will result in an error.
20657+
* @experimental
20658+
*/
20659+
focus?: boolean;
2064920660
}
2065020661

2065120662
export interface CreateTargetResponse {

0 commit comments

Comments
 (0)