Skip to content

Commit 1103fe1

Browse files
committed
Roll protocol to r1488040
1 parent 15a4967 commit 1103fe1

File tree

9 files changed

+80
-73
lines changed

9 files changed

+80
-73
lines changed

changelog.md

Lines changed: 28 additions & 71 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,34 @@
11

22

3+
## Roll protocol to r1488040 — _2025-07-17T04:33:47.000Z_
4+
###### Diff: [`15a4967...5c01b39`](https://github.com/ChromeDevTools/devtools-protocol/compare/15a4967...5c01b39)
5+
6+
```diff
7+
@@ browser_protocol.pdl:2559 @@ experimental domain CSS
8+
# A list of CSS at-function rules referenced by styles of this node.
9+
experimental optional array of CSSFunctionRule cssFunctionRules
10+
11+
+ # Returns the values of the default UA-defined environment variables used in env()
12+
+ experimental command getEnvironmentVariables
13+
+ returns
14+
+ object environmentVariables
15+
+
16+
# Returns all media queries parsed by the rendering engine.
17+
command getMediaQueries
18+
returns
19+
@@ -9447,6 +9452,8 @@ domain Page
20+
optional Network.LoaderId loaderId
21+
# User friendly error message, present if and only if navigation has failed.
22+
optional string errorText
23+
+ # Whether the navigation resulted in a download.
24+
+ experimental optional boolean isDownload
25+
26+
# Navigates current page to the given history entry.
27+
command navigateToHistoryEntry
28+
```
29+
330
## Roll protocol to r1487398 — _2025-07-16T04:33:49.000Z_
4-
###### Diff: [`9d397ca...af429b0`](https://github.com/ChromeDevTools/devtools-protocol/compare/9d397ca...af429b0)
31+
###### Diff: [`9d397ca...15a4967`](https://github.com/ChromeDevTools/devtools-protocol/compare/9d397ca...15a4967)
532

633
```diff
734
@@ browser_protocol.pdl:3751 @@ domain DOM
@@ -14021,74 +14048,4 @@ index b3b97fa..6efcf78 100644
1402114048
optional array of HeaderEntry headers
1402214049
# If set, overrides response interception behavior for this request.
1402314050
experimental optional boolean interceptResponse
14024-
```
14025-
14026-
## Roll protocol to r1057312 — _2022-10-11T04:55:46.000Z_
14027-
###### Diff: [`02af7d8...366164c`](https://github.com/ChromeDevTools/devtools-protocol/compare/02af7d8...366164c)
14028-
14029-
```diff
14030-
@@ js_protocol.pdl:918 @@ domain Profiler
14031-
# Functions contained in the script that has coverage data.
14032-
array of FunctionCoverage functions
14033-
14034-
- # Describes a type collected during runtime.
14035-
- experimental type TypeObject extends object
14036-
- properties
14037-
- # Name of a type collected with type profiling.
14038-
- string name
14039-
-
14040-
- # Source offset and types for a parameter or return value.
14041-
- experimental type TypeProfileEntry extends object
14042-
- properties
14043-
- # Source offset of the parameter or end of function for return values.
14044-
- integer offset
14045-
- # The types for this parameter or return value.
14046-
- array of TypeObject types
14047-
-
14048-
- # Type profile data collected during runtime for a JavaScript script.
14049-
- experimental type ScriptTypeProfile extends object
14050-
- properties
14051-
- # JavaScript script id.
14052-
- Runtime.ScriptId scriptId
14053-
- # JavaScript script name or url.
14054-
- string url
14055-
- # Type profile entries for parameters and return values of the functions in the script.
14056-
- array of TypeProfileEntry entries
14057-
-
14058-
command disable
14059-
14060-
command enable
14061-
@@ -976,9 +952,6 @@ domain Profiler
14062-
# Monotonically increasing time (in seconds) when the coverage update was taken in the backend.
14063-
number timestamp
14064-
14065-
- # Enable type profile.
14066-
- experimental command startTypeProfile
14067-
-
14068-
command stop
14069-
returns
14070-
# Recorded profile.
14071-
@@ -988,9 +961,6 @@ domain Profiler
14072-
# executing optimized code.
14073-
command stopPreciseCoverage
14074-
14075-
- # Disable type profile. Disabling releases type profile data collected so far.
14076-
- experimental command stopTypeProfile
14077-
-
14078-
# Collect coverage data for the current isolate, and resets execution counters. Precise code
14079-
# coverage needs to have started.
14080-
command takePreciseCoverage
14081-
@@ -1000,12 +970,6 @@ domain Profiler
14082-
# Monotonically increasing time (in seconds) when the coverage update was taken in the backend.
14083-
number timestamp
14084-
14085-
- # Collect type profile.
14086-
- experimental command takeTypeProfile
14087-
- returns
14088-
- # Type profile for all scripts since startTypeProfile() was turned on.
14089-
- array of ScriptTypeProfile result
14090-
-
14091-
event consoleProfileFinished
14092-
parameters
14093-
string id
1409414051
```

json/browser_protocol.json

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5365,6 +5365,17 @@
53655365
}
53665366
]
53675367
},
5368+
{
5369+
"name": "getEnvironmentVariables",
5370+
"description": "Returns the values of the default UA-defined environment variables used in env()",
5371+
"experimental": true,
5372+
"returns": [
5373+
{
5374+
"name": "environmentVariables",
5375+
"type": "object"
5376+
}
5377+
]
5378+
},
53685379
{
53695380
"name": "getMediaQueries",
53705381
"description": "Returns all media queries parsed by the rendering engine.",
@@ -20400,6 +20411,13 @@
2040020411
"description": "User friendly error message, present if and only if navigation has failed.",
2040120412
"optional": true,
2040220413
"type": "string"
20414+
},
20415+
{
20416+
"name": "isDownload",
20417+
"description": "Whether the navigation resulted in a download.",
20418+
"experimental": true,
20419+
"optional": true,
20420+
"type": "boolean"
2040320421
}
2040420422
]
2040520423
},

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.1487398",
3+
"version": "0.0.1488040",
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: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2559,6 +2559,11 @@ experimental domain CSS
25592559
# A list of CSS at-function rules referenced by styles of this node.
25602560
experimental optional array of CSSFunctionRule cssFunctionRules
25612561

2562+
# Returns the values of the default UA-defined environment variables used in env()
2563+
experimental command getEnvironmentVariables
2564+
returns
2565+
object environmentVariables
2566+
25622567
# Returns all media queries parsed by the rendering engine.
25632568
command getMediaQueries
25642569
returns
@@ -9447,6 +9452,8 @@ domain Page
94479452
optional Network.LoaderId loaderId
94489453
# User friendly error message, present if and only if navigation has failed.
94499454
optional string errorText
9455+
# Whether the navigation resulted in a download.
9456+
experimental optional boolean isDownload
94509457

94519458
# Navigates current page to the given history entry.
94529459
command navigateToHistoryEntry

scripts/inspector_protocol

Submodule inspector_protocol updated from 6d1ae0f to bdc11c1

types/protocol-mapping.d.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1975,6 +1975,13 @@ export namespace ProtocolMapping {
19751975
paramsType: [Protocol.CSS.GetMatchedStylesForNodeRequest];
19761976
returnType: Protocol.CSS.GetMatchedStylesForNodeResponse;
19771977
};
1978+
/**
1979+
* Returns the values of the default UA-defined environment variables used in env()
1980+
*/
1981+
'CSS.getEnvironmentVariables': {
1982+
paramsType: [];
1983+
returnType: Protocol.CSS.GetEnvironmentVariablesResponse;
1984+
};
19781985
/**
19791986
* Returns all media queries parsed by the rendering engine.
19801987
*/

types/protocol-proxy-api.d.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1117,6 +1117,11 @@ export namespace ProtocolProxyApi {
11171117
*/
11181118
getMatchedStylesForNode(params: Protocol.CSS.GetMatchedStylesForNodeRequest): Promise<Protocol.CSS.GetMatchedStylesForNodeResponse>;
11191119

1120+
/**
1121+
* Returns the values of the default UA-defined environment variables used in env()
1122+
*/
1123+
getEnvironmentVariables(): Promise<Protocol.CSS.GetEnvironmentVariablesResponse>;
1124+
11201125
/**
11211126
* Returns all media queries parsed by the rendering engine.
11221127
*/

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1185,6 +1185,11 @@ export namespace ProtocolTestsProxyApi {
11851185
*/
11861186
getMatchedStylesForNode(params: Protocol.CSS.GetMatchedStylesForNodeRequest): Promise<{id: number, result: Protocol.CSS.GetMatchedStylesForNodeResponse, sessionId: string}>;
11871187

1188+
/**
1189+
* Returns the values of the default UA-defined environment variables used in env()
1190+
*/
1191+
getEnvironmentVariables(): Promise<{id: number, result: Protocol.CSS.GetEnvironmentVariablesResponse, sessionId: string}>;
1192+
11881193
/**
11891194
* Returns all media queries parsed by the rendering engine.
11901195
*/

types/protocol.d.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5868,6 +5868,10 @@ export namespace Protocol {
58685868
cssFunctionRules?: CSSFunctionRule[];
58695869
}
58705870

5871+
export interface GetEnvironmentVariablesResponse {
5872+
environmentVariables: any;
5873+
}
5874+
58715875
export interface GetMediaQueriesResponse {
58725876
medias: CSSMedia[];
58735877
}
@@ -15118,6 +15122,10 @@ export namespace Protocol {
1511815122
* User friendly error message, present if and only if navigation has failed.
1511915123
*/
1512015124
errorText?: string;
15125+
/**
15126+
* Whether the navigation resulted in a download.
15127+
*/
15128+
isDownload?: boolean;
1512115129
}
1512215130

1512315131
export interface NavigateToHistoryEntryRequest {

0 commit comments

Comments
 (0)