Skip to content

Commit 6c86810

Browse files
committed
Roll protocol to r1585077
1 parent b328fc2 commit 6c86810

File tree

10 files changed

+120
-41
lines changed

10 files changed

+120
-41
lines changed

changelog.md

Lines changed: 54 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,60 @@
11

22

3+
## Roll protocol to r1585077 — _2026-02-14T04:53:53.000Z_
4+
###### Diff: [`b328fc2...a4836b4`](https://github.com/ChromeDevTools/devtools-protocol/compare/b328fc2...a4836b4)
5+
6+
```diff
7+
@@ domains/Audits.pdl:105 @@ experimental domain Audits
8+
# The recommended solution to the issue.
9+
optional CookieIssueInsight insight
10+
11+
+ type PerformanceIssueType extends string
12+
+ enum
13+
+ DocumentCookie
14+
+
15+
+ # Details for a performance issue.
16+
+ type PerformanceIssueDetails extends object
17+
+ properties
18+
+ PerformanceIssueType performanceIssueType
19+
+ optional SourceCodeLocation sourceCodeLocation
20+
+
21+
type MixedContentResolutionStatus extends string
22+
enum
23+
MixedContentBlocked
24+
@@ -720,6 +730,7 @@ experimental domain Audits
25+
ConnectionAllowlistIssue
26+
UserReidentificationIssue
27+
PermissionElementIssue
28+
+ PerformanceIssue
29+
30+
# This struct holds a list of optional fields with additional information
31+
# specific to the kind of issue. When adding a new issue code, please also
32+
@@ -754,6 +765,7 @@ experimental domain Audits
33+
optional ConnectionAllowlistIssueDetails connectionAllowlistIssueDetails
34+
optional UserReidentificationIssueDetails userReidentificationIssueDetails
35+
optional PermissionElementIssueDetails permissionElementIssueDetails
36+
+ optional PerformanceIssueDetails performanceIssueDetails
37+
38+
# A unique id for a DevTools inspector issue. Allows other entities (e.g.
39+
# exceptions, CDP message, console messages, etc.) to reference an issue.
40+
diff --git a/pdl/domains/Emulation.pdl b/pdl/domains/Emulation.pdl
41+
index 13daa510..d4cff0d7 100644
42+
--- a/pdl/domains/Emulation.pdl
43+
+++ b/pdl/domains/Emulation.pdl
44+
@@ -571,7 +571,8 @@ domain Emulation
45+
# of size 100lvh.
46+
integer difference
47+
48+
- # Returns device's screen configuration.
49+
+ # Returns device's screen configuration. In headful mode, the physical screens configuration is returned,
50+
+ # whereas in headless mode, a virtual headless screen configuration is provided instead.
51+
experimental command getScreenInfos
52+
returns
53+
array of ScreenInfo screenInfos
54+
```
55+
356
## Roll protocol to r1583009 — _2026-02-11T05:03:45.000Z_
4-
###### Diff: [`17024e1...a5acb9a`](https://github.com/ChromeDevTools/devtools-protocol/compare/17024e1...a5acb9a)
57+
###### Diff: [`17024e1...b328fc2`](https://github.com/ChromeDevTools/devtools-protocol/compare/17024e1...b328fc2)
558

659
```diff
760
@@ domains/Audits.pdl:500 @@ experimental domain Audits
@@ -42344,34 +42397,4 @@ index 0dbdc01d..7a3c772c 100644
4234442397
# A cache's contents have been modified.
4234542398
event cacheStorageContentUpdated
4234642399
parameters
42347-
```
42348-
42349-
## Roll protocol to r1135028 — _2023-04-25T04:27:09.000Z_
42350-
###### Diff: [`4e41c0d...72f4d4e`](https://github.com/ChromeDevTools/devtools-protocol/compare/4e41c0d...72f4d4e)
42351-
42352-
```diff
42353-
@@ browser_protocol.pdl:716 @@ experimental domain Audits
42354-
InvalidRegisterOsSourceHeader
42355-
InvalidRegisterOsTriggerHeader
42356-
WebAndOsHeaders
42357-
+ NoWebOrOsSupport
42358-
42359-
# Details for issues around "Attribution Reporting API" usage.
42360-
# Explainer: https://github.com/WICG/attribution-reporting-api
42361-
@@ -7227,6 +7228,7 @@ domain Page
42362-
payment
42363-
picture-in-picture
42364-
private-aggregation
42365-
+ private-state-token-redemption
42366-
publickey-credentials-get
42367-
run-ad-auction
42368-
screen-wake-lock
42369-
@@ -7237,7 +7239,6 @@ domain Page
42370-
smart-card
42371-
storage-access
42372-
sync-xhr
42373-
- trust-token-redemption
42374-
unload
42375-
usb
42376-
vertical-scroll
4237742400
```

json/browser_protocol.json

Lines changed: 31 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1183,6 +1183,29 @@
11831183
}
11841184
]
11851185
},
1186+
{
1187+
"id": "PerformanceIssueType",
1188+
"type": "string",
1189+
"enum": [
1190+
"DocumentCookie"
1191+
]
1192+
},
1193+
{
1194+
"id": "PerformanceIssueDetails",
1195+
"description": "Details for a performance issue.",
1196+
"type": "object",
1197+
"properties": [
1198+
{
1199+
"name": "performanceIssueType",
1200+
"$ref": "PerformanceIssueType"
1201+
},
1202+
{
1203+
"name": "sourceCodeLocation",
1204+
"optional": true,
1205+
"$ref": "SourceCodeLocation"
1206+
}
1207+
]
1208+
},
11861209
{
11871210
"id": "MixedContentResolutionStatus",
11881211
"type": "string",
@@ -2270,7 +2293,8 @@
22702293
"UnencodedDigestIssue",
22712294
"ConnectionAllowlistIssue",
22722295
"UserReidentificationIssue",
2273-
"PermissionElementIssue"
2296+
"PermissionElementIssue",
2297+
"PerformanceIssue"
22742298
]
22752299
},
22762300
{
@@ -2418,6 +2442,11 @@
24182442
"name": "permissionElementIssueDetails",
24192443
"optional": true,
24202444
"$ref": "PermissionElementIssueDetails"
2445+
},
2446+
{
2447+
"name": "performanceIssueDetails",
2448+
"optional": true,
2449+
"$ref": "PerformanceIssueDetails"
24212450
}
24222451
]
24232452
},
@@ -11463,7 +11492,7 @@
1146311492
},
1146411493
{
1146511494
"name": "getScreenInfos",
11466-
"description": "Returns device's screen configuration.",
11495+
"description": "Returns device's screen configuration. In headful mode, the physical screens configuration is returned,\nwhereas in headless mode, a virtual headless screen configuration is provided instead.",
1146711496
"experimental": true,
1146811497
"returns": [
1146911498
{

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

pdl/domains/Audits.pdl

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,16 @@ experimental domain Audits
105105
# The recommended solution to the issue.
106106
optional CookieIssueInsight insight
107107

108+
type PerformanceIssueType extends string
109+
enum
110+
DocumentCookie
111+
112+
# Details for a performance issue.
113+
type PerformanceIssueDetails extends object
114+
properties
115+
PerformanceIssueType performanceIssueType
116+
optional SourceCodeLocation sourceCodeLocation
117+
108118
type MixedContentResolutionStatus extends string
109119
enum
110120
MixedContentBlocked
@@ -720,6 +730,7 @@ experimental domain Audits
720730
ConnectionAllowlistIssue
721731
UserReidentificationIssue
722732
PermissionElementIssue
733+
PerformanceIssue
723734

724735
# This struct holds a list of optional fields with additional information
725736
# specific to the kind of issue. When adding a new issue code, please also
@@ -754,6 +765,7 @@ experimental domain Audits
754765
optional ConnectionAllowlistIssueDetails connectionAllowlistIssueDetails
755766
optional UserReidentificationIssueDetails userReidentificationIssueDetails
756767
optional PermissionElementIssueDetails permissionElementIssueDetails
768+
optional PerformanceIssueDetails performanceIssueDetails
757769

758770
# A unique id for a DevTools inspector issue. Allows other entities (e.g.
759771
# exceptions, CDP message, console messages, etc.) to reference an issue.

pdl/domains/Emulation.pdl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -571,7 +571,8 @@ domain Emulation
571571
# of size 100lvh.
572572
integer difference
573573

574-
# Returns device's screen configuration.
574+
# Returns device's screen configuration. In headful mode, the physical screens configuration is returned,
575+
# whereas in headless mode, a virtual headless screen configuration is provided instead.
575576
experimental command getScreenInfos
576577
returns
577578
array of ScreenInfo screenInfos

types/protocol-mapping.d.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3562,7 +3562,8 @@ export namespace ProtocolMapping {
35623562
returnType: void;
35633563
};
35643564
/**
3565-
* Returns device's screen configuration.
3565+
* Returns device's screen configuration. In headful mode, the physical screens configuration is returned,
3566+
* whereas in headless mode, a virtual headless screen configuration is provided instead.
35663567
* @experimental
35673568
*/
35683569
'Emulation.getScreenInfos': {

types/protocol-proxy-api.d.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2366,7 +2366,8 @@ export namespace ProtocolProxyApi {
23662366
setSmallViewportHeightDifferenceOverride(params: Protocol.Emulation.SetSmallViewportHeightDifferenceOverrideRequest): Promise<void>;
23672367

23682368
/**
2369-
* Returns device's screen configuration.
2369+
* Returns device's screen configuration. In headful mode, the physical screens configuration is returned,
2370+
* whereas in headless mode, a virtual headless screen configuration is provided instead.
23702371
* @experimental
23712372
*/
23722373
getScreenInfos(): Promise<Protocol.Emulation.GetScreenInfosResponse>;

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2502,7 +2502,8 @@ export namespace ProtocolTestsProxyApi {
25022502
setSmallViewportHeightDifferenceOverride(params: Protocol.Emulation.SetSmallViewportHeightDifferenceOverrideRequest): Promise<{id: number, result: void, sessionId: string}>;
25032503

25042504
/**
2505-
* Returns device's screen configuration.
2505+
* Returns device's screen configuration. In headful mode, the physical screens configuration is returned,
2506+
* whereas in headless mode, a virtual headless screen configuration is provided instead.
25062507
* @experimental
25072508
*/
25082509
getScreenInfos(): Promise<{id: number, result: Protocol.Emulation.GetScreenInfosResponse, sessionId: string}>;

types/protocol.d.ts

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3505,6 +3505,16 @@ export namespace Protocol {
35053505
insight?: CookieIssueInsight;
35063506
}
35073507

3508+
export type PerformanceIssueType = ('DocumentCookie');
3509+
3510+
/**
3511+
* Details for a performance issue.
3512+
*/
3513+
export interface PerformanceIssueDetails {
3514+
performanceIssueType: PerformanceIssueType;
3515+
sourceCodeLocation?: SourceCodeLocation;
3516+
}
3517+
35083518
export type MixedContentResolutionStatus = ('MixedContentBlocked' | 'MixedContentAutomaticallyUpgraded' | 'MixedContentWarning');
35093519

35103520
export type MixedContentResourceType = ('AttributionSrc' | 'Audio' | 'Beacon' | 'CSPReport' | 'Download' | 'EventSource' | 'Favicon' | 'Font' | 'Form' | 'Frame' | 'Image' | 'Import' | 'JSON' | 'Manifest' | 'Ping' | 'PluginData' | 'PluginResource' | 'Prefetch' | 'Resource' | 'Script' | 'ServiceWorker' | 'SharedWorker' | 'SpeculationRules' | 'Stylesheet' | 'Track' | 'Video' | 'Worker' | 'XMLHttpRequest' | 'XSLT');
@@ -3931,7 +3941,7 @@ export namespace Protocol {
39313941
* optional fields in InspectorIssueDetails to convey more specific
39323942
* information about the kind of issue.
39333943
*/
3934-
export type InspectorIssueCode = ('CookieIssue' | 'MixedContentIssue' | 'BlockedByResponseIssue' | 'HeavyAdIssue' | 'ContentSecurityPolicyIssue' | 'SharedArrayBufferIssue' | 'LowTextContrastIssue' | 'CorsIssue' | 'AttributionReportingIssue' | 'QuirksModeIssue' | 'PartitioningBlobURLIssue' | 'NavigatorUserAgentIssue' | 'GenericIssue' | 'DeprecationIssue' | 'ClientHintIssue' | 'FederatedAuthRequestIssue' | 'BounceTrackingIssue' | 'CookieDeprecationMetadataIssue' | 'StylesheetLoadingIssue' | 'FederatedAuthUserInfoRequestIssue' | 'PropertyRuleIssue' | 'SharedDictionaryIssue' | 'ElementAccessibilityIssue' | 'SRIMessageSignatureIssue' | 'UnencodedDigestIssue' | 'ConnectionAllowlistIssue' | 'UserReidentificationIssue' | 'PermissionElementIssue');
3944+
export type InspectorIssueCode = ('CookieIssue' | 'MixedContentIssue' | 'BlockedByResponseIssue' | 'HeavyAdIssue' | 'ContentSecurityPolicyIssue' | 'SharedArrayBufferIssue' | 'LowTextContrastIssue' | 'CorsIssue' | 'AttributionReportingIssue' | 'QuirksModeIssue' | 'PartitioningBlobURLIssue' | 'NavigatorUserAgentIssue' | 'GenericIssue' | 'DeprecationIssue' | 'ClientHintIssue' | 'FederatedAuthRequestIssue' | 'BounceTrackingIssue' | 'CookieDeprecationMetadataIssue' | 'StylesheetLoadingIssue' | 'FederatedAuthUserInfoRequestIssue' | 'PropertyRuleIssue' | 'SharedDictionaryIssue' | 'ElementAccessibilityIssue' | 'SRIMessageSignatureIssue' | 'UnencodedDigestIssue' | 'ConnectionAllowlistIssue' | 'UserReidentificationIssue' | 'PermissionElementIssue' | 'PerformanceIssue');
39353945

39363946
/**
39373947
* This struct holds a list of optional fields with additional information
@@ -3970,6 +3980,7 @@ export namespace Protocol {
39703980
connectionAllowlistIssueDetails?: ConnectionAllowlistIssueDetails;
39713981
userReidentificationIssueDetails?: UserReidentificationIssueDetails;
39723982
permissionElementIssueDetails?: PermissionElementIssueDetails;
3983+
performanceIssueDetails?: PerformanceIssueDetails;
39733984
}
39743985

39753986
/**

0 commit comments

Comments
 (0)