Skip to content

Commit d5ffdaf

Browse files
committed
Roll protocol to r1590631
1 parent 708011c commit d5ffdaf

11 files changed

Lines changed: 451 additions & 22 deletions

changelog.md

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

22

3+
## Roll protocol to r1590631 — _2026-02-26T05:00:08.000Z_
4+
###### Diff: [`708011c...5e29205`](https://github.com/ChromeDevTools/devtools-protocol/compare/708011c...5e29205)
5+
6+
```diff
7+
@@ domains/Audits.pdl:7 @@ @@ -7,6 +7,7 @@
8+
# Audits domain allows investigation of page violations and possible improvements.
9+
experimental domain Audits
10+
depends on Network
11+
+ depends on Runtime
12+
13+
# Information about a cookie that is affected by an inspector issue.
14+
type AffectedCookie extends object
15+
@@ -696,6 +697,41 @@ experimental domain Audits
16+
# Used for messages about activation disabled reason
17+
optional string disableReason
18+
19+
+ # Metadata about the ad script that was on the stack that caused the current
20+
+ # script in the `AdAncestry` to be considered ad related.
21+
+ type AdScriptIdentifier extends object
22+
+ properties
23+
+ # The script's v8 identifier.
24+
+ Runtime.ScriptId scriptId
25+
+ # v8's debugging id for the v8::Context.
26+
+ Runtime.UniqueDebuggerId debuggerId
27+
+ # The script's url (or generated name based on id if inline script).
28+
+ string name
29+
+
30+
+ # Providence about how an ad script was determined to be such. It is an ad
31+
+ # because its url matched a filterlist rule, or because some other ad script
32+
+ # was on the stack when this script was loaded.
33+
+ type AdAncestry extends object
34+
+ properties
35+
+ # The ad-script in the stack when the offending script was loaded. This is
36+
+ # recursive down to the root script that was tagged due to the filterlist
37+
+ # rule.
38+
+ array of AdScriptIdentifier adAncestryChain
39+
+ # The filterlist rule that caused the root (last) script in
40+
+ # `adAncestry` to be ad-tagged.
41+
+ optional string rootScriptFilterlistRule
42+
+
43+
+ # The issue warns about blocked calls to privacy sensitive APIs via the
44+
+ # Selective Permissions Intervention.
45+
+ type SelectivePermissionsInterventionIssueDetails extends object
46+
+ properties
47+
+ # Which API was intervened on.
48+
+ string apiName
49+
+ # Why the ad script using the API is considered an ad.
50+
+ AdAncestry adAncestry
51+
+ # The stack trace at the time of the intervention.
52+
+ optional Runtime.StackTrace stackTrace
53+
+
54+
# A unique identifier for the type of issue. Each type may use one of the
55+
# optional fields in InspectorIssueDetails to convey more specific
56+
# information about the kind of issue.
57+
@@ -731,6 +767,7 @@ experimental domain Audits
58+
UserReidentificationIssue
59+
PermissionElementIssue
60+
PerformanceIssue
61+
+ SelectivePermissionsInterventionIssue
62+
63+
# This struct holds a list of optional fields with additional information
64+
# specific to the kind of issue. When adding a new issue code, please also
65+
@@ -766,6 +803,7 @@ experimental domain Audits
66+
optional UserReidentificationIssueDetails userReidentificationIssueDetails
67+
optional PermissionElementIssueDetails permissionElementIssueDetails
68+
optional PerformanceIssueDetails performanceIssueDetails
69+
+ optional SelectivePermissionsInterventionIssueDetails selectivePermissionsInterventionIssueDetails
70+
71+
# A unique id for a DevTools inspector issue. Allows other entities (e.g.
72+
# exceptions, CDP message, console messages, etc.) to reference an issue.
73+
diff --git a/pdl/domains/Emulation.pdl b/pdl/domains/Emulation.pdl
74+
index 5491f4cf..8488dffc 100644
75+
--- a/pdl/domains/Emulation.pdl
76+
+++ b/pdl/domains/Emulation.pdl
77+
@@ -297,6 +297,15 @@ domain Emulation
78+
# to continuous.
79+
# Deprecated, use Emulation.setDevicePostureOverride.
80+
experimental deprecated optional DevicePosture devicePosture
81+
+ # Scrollbar type. Default: `default`.
82+
+ experimental optional enum scrollbarType
83+
+ # Emulates scrollbars that float over the content, typically appearing
84+
+ # only when scrolling.
85+
+ overlay
86+
+ # Restores the platform's default scrollbar behavior, which might be
87+
+ # classic (occupying space within the layout) or overlay, depending
88+
+ # on the platform. Note: if `mobile` is `true`, the default scrollbar type is `overlay`.
89+
+ default
90+
91+
# Start reporting the given posture value to the Device Posture API.
92+
# This override can also be set in setDeviceMetricsOverride().
93+
diff --git a/pdl/domains/Extensions.pdl b/pdl/domains/Extensions.pdl
94+
index d50da280..8b3da102 100644
95+
--- a/pdl/domains/Extensions.pdl
96+
+++ b/pdl/domains/Extensions.pdl
97+
@@ -38,6 +38,28 @@ experimental domain Extensions
98+
returns
99+
# Extension id.
100+
string id
101+
+
102+
+ # Detailed information about an extension.
103+
+ type ExtensionInfo extends object
104+
+ properties
105+
+ # Extension id.
106+
+ string id
107+
+ # Extension name.
108+
+ string name
109+
+ # Extension version.
110+
+ string version
111+
+ # The path from which the extension was loaded.
112+
+ string path
113+
+ # Extension enabled status.
114+
+ boolean enabled
115+
+
116+
+ # Gets a list of all unpacked extensions.
117+
+ # Available if the client is connected using the --remote-debugging-pipe flag
118+
+ # and the --enable-unsafe-extension-debugging flag is set.
119+
+ command getExtensions
120+
+ returns
121+
+ array of ExtensionInfo extensions
122+
+
123+
# Uninstalls an unpacked extension (others not supported) from the profile.
124+
# Available if the client is connected using the --remote-debugging-pipe flag
125+
# and the --enable-unsafe-extension-debugging.
126+
```
127+
3128
## Roll protocol to r1589152 — _2026-02-24T05:03:10.000Z_
4-
###### Diff: [`6b927c9...a62c3cc`](https://github.com/ChromeDevTools/devtools-protocol/compare/6b927c9...a62c3cc)
129+
###### Diff: [`6b927c9...708011c`](https://github.com/ChromeDevTools/devtools-protocol/compare/6b927c9...708011c)
5130

6131
```diff
7132
@@ domains/Emulation.pdl:525 @@ domain Emulation
@@ -42226,19 +42351,4 @@ index 0dbdc01d..7a3c772c 100644
4222642351
experimental optional boolean generateWebDriverValue
4222742352
returns
4222842353
# Evaluation result.
42229-
```
42230-
42231-
## Roll protocol to r1138159 — _2023-05-02T04:26:48.000Z_
42232-
###### Diff: [`fb39cd1...fd2e02b`](https://github.com/ChromeDevTools/devtools-protocol/compare/fb39cd1...fd2e02b)
42233-
42234-
```diff
42235-
@@ browser_protocol.pdl:707 @@ experimental domain Audits
42236-
# TODO(apaseltiner): Rename this to InvalidRegisterSourceHeader
42237-
InvalidHeader
42238-
InvalidRegisterTriggerHeader
42239-
- # TODO(apaseltiner): Remove this issue once DevTools stops referencing it.
42240-
- InvalidEligibleHeader
42241-
SourceAndTriggerHeaders
42242-
SourceIgnored
42243-
TriggerIgnored
4224442354
```

json/browser_protocol.json

Lines changed: 131 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1004,7 +1004,8 @@
10041004
"description": "Audits domain allows investigation of page violations and possible improvements.",
10051005
"experimental": true,
10061006
"dependencies": [
1007-
"Network"
1007+
"Network",
1008+
"Runtime"
10081009
],
10091010
"types": [
10101011
{
@@ -2261,6 +2262,72 @@
22612262
}
22622263
]
22632264
},
2265+
{
2266+
"id": "AdScriptIdentifier",
2267+
"description": "Metadata about the ad script that was on the stack that caused the current\nscript in the `AdAncestry` to be considered ad related.",
2268+
"type": "object",
2269+
"properties": [
2270+
{
2271+
"name": "scriptId",
2272+
"description": "The script's v8 identifier.",
2273+
"$ref": "Runtime.ScriptId"
2274+
},
2275+
{
2276+
"name": "debuggerId",
2277+
"description": "v8's debugging id for the v8::Context.",
2278+
"$ref": "Runtime.UniqueDebuggerId"
2279+
},
2280+
{
2281+
"name": "name",
2282+
"description": "The script's url (or generated name based on id if inline script).",
2283+
"type": "string"
2284+
}
2285+
]
2286+
},
2287+
{
2288+
"id": "AdAncestry",
2289+
"description": "Providence about how an ad script was determined to be such. It is an ad\nbecause its url matched a filterlist rule, or because some other ad script\nwas on the stack when this script was loaded.",
2290+
"type": "object",
2291+
"properties": [
2292+
{
2293+
"name": "adAncestryChain",
2294+
"description": "The ad-script in the stack when the offending script was loaded. This is\nrecursive down to the root script that was tagged due to the filterlist\nrule.",
2295+
"type": "array",
2296+
"items": {
2297+
"$ref": "AdScriptIdentifier"
2298+
}
2299+
},
2300+
{
2301+
"name": "rootScriptFilterlistRule",
2302+
"description": "The filterlist rule that caused the root (last) script in\n`adAncestry` to be ad-tagged.",
2303+
"optional": true,
2304+
"type": "string"
2305+
}
2306+
]
2307+
},
2308+
{
2309+
"id": "SelectivePermissionsInterventionIssueDetails",
2310+
"description": "The issue warns about blocked calls to privacy sensitive APIs via the\nSelective Permissions Intervention.",
2311+
"type": "object",
2312+
"properties": [
2313+
{
2314+
"name": "apiName",
2315+
"description": "Which API was intervened on.",
2316+
"type": "string"
2317+
},
2318+
{
2319+
"name": "adAncestry",
2320+
"description": "Why the ad script using the API is considered an ad.",
2321+
"$ref": "AdAncestry"
2322+
},
2323+
{
2324+
"name": "stackTrace",
2325+
"description": "The stack trace at the time of the intervention.",
2326+
"optional": true,
2327+
"$ref": "Runtime.StackTrace"
2328+
}
2329+
]
2330+
},
22642331
{
22652332
"id": "InspectorIssueCode",
22662333
"description": "A unique identifier for the type of issue. Each type may use one of the\noptional fields in InspectorIssueDetails to convey more specific\ninformation about the kind of issue.",
@@ -2294,7 +2361,8 @@
22942361
"ConnectionAllowlistIssue",
22952362
"UserReidentificationIssue",
22962363
"PermissionElementIssue",
2297-
"PerformanceIssue"
2364+
"PerformanceIssue",
2365+
"SelectivePermissionsInterventionIssue"
22982366
]
22992367
},
23002368
{
@@ -2447,6 +2515,11 @@
24472515
"name": "performanceIssueDetails",
24482516
"optional": true,
24492517
"$ref": "PerformanceIssueDetails"
2518+
},
2519+
{
2520+
"name": "selectivePermissionsInterventionIssueDetails",
2521+
"optional": true,
2522+
"$ref": "SelectivePermissionsInterventionIssueDetails"
24502523
}
24512524
]
24522525
},
@@ -10984,6 +11057,17 @@
1098411057
"deprecated": true,
1098511058
"optional": true,
1098611059
"$ref": "DevicePosture"
11060+
},
11061+
{
11062+
"name": "scrollbarType",
11063+
"description": "Scrollbar type. Default: `default`.",
11064+
"experimental": true,
11065+
"optional": true,
11066+
"type": "string",
11067+
"enum": [
11068+
"overlay",
11069+
"default"
11070+
]
1098711071
}
1098811072
]
1098911073
},
@@ -11665,6 +11749,38 @@
1166511749
"sync",
1166611750
"managed"
1166711751
]
11752+
},
11753+
{
11754+
"id": "ExtensionInfo",
11755+
"description": "Detailed information about an extension.",
11756+
"type": "object",
11757+
"properties": [
11758+
{
11759+
"name": "id",
11760+
"description": "Extension id.",
11761+
"type": "string"
11762+
},
11763+
{
11764+
"name": "name",
11765+
"description": "Extension name.",
11766+
"type": "string"
11767+
},
11768+
{
11769+
"name": "version",
11770+
"description": "Extension version.",
11771+
"type": "string"
11772+
},
11773+
{
11774+
"name": "path",
11775+
"description": "The path from which the extension was loaded.",
11776+
"type": "string"
11777+
},
11778+
{
11779+
"name": "enabled",
11780+
"description": "Extension enabled status.",
11781+
"type": "boolean"
11782+
}
11783+
]
1166811784
}
1166911785
],
1167011786
"commands": [
@@ -11708,6 +11824,19 @@
1170811824
}
1170911825
]
1171011826
},
11827+
{
11828+
"name": "getExtensions",
11829+
"description": "Gets a list of all unpacked extensions.\nAvailable if the client is connected using the --remote-debugging-pipe flag\nand the --enable-unsafe-extension-debugging flag is set.",
11830+
"returns": [
11831+
{
11832+
"name": "extensions",
11833+
"type": "array",
11834+
"items": {
11835+
"$ref": "ExtensionInfo"
11836+
}
11837+
}
11838+
]
11839+
},
1171111840
{
1171211841
"name": "uninstall",
1171311842
"description": "Uninstalls an unpacked extension (others not supported) from the profile.\nAvailable if the client is connected using the --remote-debugging-pipe flag\nand the --enable-unsafe-extension-debugging.",

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

0 commit comments

Comments
 (0)