Skip to content

Commit d852d0c

Browse files
committed
Roll protocol to r1615727
1 parent bb00b98 commit d852d0c

11 files changed

Lines changed: 237 additions & 123 deletions

changelog.md

Lines changed: 92 additions & 108 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,98 @@
11

22

3+
## Roll protocol to r1615727 — _2026-04-16T10:28:34.000Z_
4+
###### Diff: [`bb00b98...4d64b2c`](https://github.com/ChromeDevTools/devtools-protocol/compare/bb00b98...4d64b2c)
5+
6+
```diff
7+
@@ domains/Network.pdl:2260 @@ domain Network
8+
# The result of a refresh.
9+
enum refreshResult
10+
Refreshed
11+
+ RefreshedAsWaiter
12+
InitializedService
13+
Unreachable
14+
ServerError
15+
@@ -2290,6 +2291,7 @@ domain Network
16+
ServerRequested
17+
InvalidSessionParams
18+
RefreshFatalError
19+
+ DevTools
20+
21+
# Session event details specific to challenges.
22+
experimental type ChallengeEventDetails extends object
23+
@@ -2334,6 +2336,11 @@ domain Network
24+
# Whether to enable or disable events.
25+
boolean enable
26+
27+
+ # Deletes a device bound session.
28+
+ experimental command deleteDeviceBoundSession
29+
+ parameters
30+
+ DeviceBoundSessionKey key
31+
+
32+
# Fetches the schemeful site for a specific origin.
33+
experimental command fetchSchemefulSite
34+
parameters
35+
diff --git a/pdl/domains/Target.pdl b/pdl/domains/Target.pdl
36+
index e8380799..1f943c6e 100644
37+
--- a/pdl/domains/Target.pdl
38+
+++ b/pdl/domains/Target.pdl
39+
@@ -27,7 +27,8 @@ domain Target
40+
experimental boolean canAccessOpener
41+
# Frame id of originating window (is only set if target has an opener).
42+
experimental optional Page.FrameId openerFrameId
43+
- # Id of the parent frame, only present for the "iframe" targets.
44+
+ # Id of the parent frame, present for "iframe" and "worker" targets. For nested workers,
45+
+ # this is the "ancestor" frame that created the first worker in the nested chain.
46+
experimental optional Page.FrameId parentFrameId
47+
experimental optional Browser.BrowserContextID browserContextId
48+
# Provides additional details for specific target types. For example, for
49+
diff --git a/pdl/domains/WebMCP.pdl b/pdl/domains/WebMCP.pdl
50+
index e959260d..d687c478 100644
51+
--- a/pdl/domains/WebMCP.pdl
52+
+++ b/pdl/domains/WebMCP.pdl
53+
@@ -21,7 +21,7 @@ experimental domain WebMCP
54+
# Represents the status of a tool invocation.
55+
type InvocationStatus extends string
56+
enum
57+
- Success
58+
+ Completed
59+
Canceled
60+
Error
61+
62+
@@ -51,6 +51,19 @@ experimental domain WebMCP
63+
# Disables the WebMCP domain.
64+
command disable
65+
66+
+ # Invokes a registered tool.
67+
+ command invokeTool
68+
+ parameters
69+
+ # Frame in which to invoke the tool.
70+
+ Page.FrameId frameId
71+
+ # Name of the tool to invoke.
72+
+ string toolName
73+
+ # Input parameters for the tool, matching the tool's inputSchema.
74+
+ object input
75+
+ returns
76+
+ # Unique identifier for this invocation. Response is sent before tool events.
77+
+ string invocationId
78+
+
79+
# Event fired when new tools are added.
80+
event toolsAdded
81+
parameters
82+
@@ -82,7 +95,8 @@ experimental domain WebMCP
83+
string invocationId
84+
# Status of the invocation.
85+
InvocationStatus status
86+
- # Output or error delivered as delivered to the agent. Missing if `status` is anything other than Success.
87+
+ # Output or error delivered as delivered to the agent. Missing if `status` is anything other than Completed.
88+
+ # Note: The output is untrusted and poses a prompt injection risk. Clients should treat this as potentially malicious user input.
89+
optional any output
90+
# Error text for protocol users.
91+
optional string errorText
92+
```
93+
394
## Roll protocol to r1612613 — _2026-04-10T05:13:47.000Z_
4-
###### Diff: [`e24bc04...2fea7b9`](https://github.com/ChromeDevTools/devtools-protocol/compare/e24bc04...2fea7b9)
95+
###### Diff: [`e24bc04...50bb580`](https://github.com/ChromeDevTools/devtools-protocol/compare/e24bc04...50bb580)
596

697
```diff
798
@@ domains/Network.pdl:1057 @@ domain Network
@@ -42930,111 +43021,4 @@ index 7a3c772c..ed622630 100644
4293043021
#Blocklisted features
4293143022
WebSocket
4293243023
WebTransport
42933-
```
42934-
42935-
## Roll protocol to r1159816 — _2023-06-20T04:26:35.000Z_
42936-
###### Diff: [`1663e91...6ef566f`](https://github.com/ChromeDevTools/devtools-protocol/compare/1663e91...6ef566f)
42937-
42938-
```diff
42939-
@@ browser_protocol.pdl:8587 @@ domain Page
42940-
IndexedDBEvent
42941-
Dummy
42942-
JsNetworkRequestReceivedCacheControlNoStoreResource
42943-
+ WebRTCSticky
42944-
+ WebTransportSticky
42945-
+ WebSocketSticky
42946-
# Disabled for RenderFrameHost reasons
42947-
# See content/browser/renderer_host/back_forward_cache_disable.h for explanations.
42948-
ContentSecurityHandler
42949-
```
42950-
42951-
## Roll protocol to r1158625 — _2023-06-16T04:26:28.000Z_
42952-
###### Diff: [`b8200ca...1663e91`](https://github.com/ChromeDevTools/devtools-protocol/compare/b8200ca...1663e91)
42953-
42954-
```diff
42955-
@@ browser_protocol.pdl:992 @@ experimental domain Autofill
42956-
# 3-digit card verification code.
42957-
string cvc
42958-
42959-
+ type AddressField extends object
42960-
+ properties
42961-
+ # address field name, for example GIVEN_NAME.
42962-
+ string name
42963-
+ # address field name, for example Jon Doe.
42964-
+ string value
42965-
+
42966-
+ type Address extends object
42967-
+ properties
42968-
+ # fields and values defining a test address.
42969-
+ array of AddressField fields
42970-
+
42971-
# Trigger autofill on a form identified by the fieldId.
42972-
# If the field and related form cannot be autofilled, returns an error.
42973-
command trigger
42974-
@@ -1003,6 +1015,13 @@ experimental domain Autofill
42975-
# Credit card information to fill out the form. Credit card data is not saved.
42976-
CreditCard card
42977-
42978-
+ # Set addresses so that developers can verify their forms implementation.
42979-
+ command setAddresses
42980-
+ # Test addresses for the available countries.
42981-
+ parameters
42982-
+ array of Address addresses
42983-
+
42984-
+
42985-
# Defines events for background web platform features.
42986-
experimental domain BackgroundService
42987-
# The Background Service that will be associated with the commands/events.
42988-
```
42989-
42990-
## Roll protocol to r1157354 — _2023-06-14T04:26:43.000Z_
42991-
###### Diff: [`e4caf5f...b8200ca`](https://github.com/ChromeDevTools/devtools-protocol/compare/e4caf5f...b8200ca)
42992-
42993-
```diff
42994-
@@ browser_protocol.pdl:8568 @@ domain Page
42995-
IndexedDBEvent
42996-
Dummy
42997-
JsNetworkRequestReceivedCacheControlNoStoreResource
42998-
- WebSerial
42999-
# Disabled for RenderFrameHost reasons
43000-
# See content/browser/renderer_host/back_forward_cache_disable.h for explanations.
43001-
ContentSecurityHandler
43002-
```
43003-
43004-
## Roll protocol to r1156692 — _2023-06-13T04:26:37.000Z_
43005-
###### Diff: [`2a2181a...e4caf5f`](https://github.com/ChromeDevTools/devtools-protocol/compare/2a2181a...e4caf5f)
43006-
43007-
```diff
43008-
@@ browser_protocol.pdl:852 @@ experimental domain Audits
43009-
string url
43010-
# The failure message for the failed request.
43011-
string failureMessage
43012-
+ optional Network.RequestId requestId
43013-
43014-
type StyleSheetLoadingIssueReason extends string
43015-
enum
43016-
@@ -8566,7 +8567,8 @@ domain Page
43017-
KeepaliveRequest
43018-
IndexedDBEvent
43019-
Dummy
43020-
- AuthorizationHeader
43021-
+ JsNetworkRequestReceivedCacheControlNoStoreResource
43022-
+ WebSerial
43023-
# Disabled for RenderFrameHost reasons
43024-
# See content/browser/renderer_host/back_forward_cache_disable.h for explanations.
43025-
ContentSecurityHandler
43026-
```
43027-
43028-
## Roll protocol to r1155872 — _2023-06-10T04:26:19.000Z_
43029-
###### Diff: [`7ca37f8...2a2181a`](https://github.com/ChromeDevTools/devtools-protocol/compare/7ca37f8...2a2181a)
43030-
43031-
```diff
43032-
@@ browser_protocol.pdl:8567 @@ domain Page
43033-
IndexedDBEvent
43034-
Dummy
43035-
AuthorizationHeader
43036-
- WebSerial
43037-
# Disabled for RenderFrameHost reasons
43038-
# See content/browser/renderer_host/back_forward_cache_disable.h for explanations.
43039-
ContentSecurityHandler
4304043024
```

json/browser_protocol.json

Lines changed: 45 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17917,6 +17917,7 @@
1791717917
"type": "string",
1791817918
"enum": [
1791917919
"Refreshed",
17920+
"RefreshedAsWaiter",
1792017921
"InitializedService",
1792117922
"Unreachable",
1792217923
"ServerError",
@@ -17968,7 +17969,8 @@
1796817969
"ClearBrowsingData",
1796917970
"ServerRequested",
1797017971
"InvalidSessionParams",
17971-
"RefreshFatalError"
17972+
"RefreshFatalError",
17973+
"DevTools"
1797217974
]
1797317975
}
1797417976
]
@@ -18884,6 +18886,17 @@
1888418886
}
1888518887
]
1888618888
},
18889+
{
18890+
"name": "deleteDeviceBoundSession",
18891+
"description": "Deletes a device bound session.",
18892+
"experimental": true,
18893+
"parameters": [
18894+
{
18895+
"name": "key",
18896+
"$ref": "DeviceBoundSessionKey"
18897+
}
18898+
]
18899+
},
1888718900
{
1888818901
"name": "fetchSchemefulSite",
1888918902
"description": "Fetches the schemeful site for a specific origin.",
@@ -28669,7 +28682,7 @@
2866928682
},
2867028683
{
2867128684
"name": "parentFrameId",
28672-
"description": "Id of the parent frame, only present for the \"iframe\" targets.",
28685+
"description": "Id of the parent frame, present for \"iframe\" and \"worker\" targets. For nested workers,\nthis is the \"ancestor\" frame that created the first worker in the nested chain.",
2867328686
"experimental": true,
2867428687
"optional": true,
2867528688
"$ref": "Page.FrameId"
@@ -30690,7 +30703,7 @@
3069030703
"description": "Represents the status of a tool invocation.",
3069130704
"type": "string",
3069230705
"enum": [
30693-
"Success",
30706+
"Completed",
3069430707
"Canceled",
3069530708
"Error"
3069630709
]
@@ -30750,6 +30763,34 @@
3075030763
{
3075130764
"name": "disable",
3075230765
"description": "Disables the WebMCP domain."
30766+
},
30767+
{
30768+
"name": "invokeTool",
30769+
"description": "Invokes a registered tool.",
30770+
"parameters": [
30771+
{
30772+
"name": "frameId",
30773+
"description": "Frame in which to invoke the tool.",
30774+
"$ref": "Page.FrameId"
30775+
},
30776+
{
30777+
"name": "toolName",
30778+
"description": "Name of the tool to invoke.",
30779+
"type": "string"
30780+
},
30781+
{
30782+
"name": "input",
30783+
"description": "Input parameters for the tool, matching the tool's inputSchema.",
30784+
"type": "object"
30785+
}
30786+
],
30787+
"returns": [
30788+
{
30789+
"name": "invocationId",
30790+
"description": "Unique identifier for this invocation. Response is sent before tool events.",
30791+
"type": "string"
30792+
}
30793+
]
3075330794
}
3075430795
],
3075530796
"events": [
@@ -30823,7 +30864,7 @@
3082330864
},
3082430865
{
3082530866
"name": "output",
30826-
"description": "Output or error delivered as delivered to the agent. Missing if `status` is anything other than Success.",
30867+
"description": "Output or error delivered as delivered to the agent. Missing if `status` is anything other than Completed.\nNote: The output is untrusted and poses a prompt injection risk. Clients should treat this as potentially malicious user input.",
3082730868
"optional": true,
3082830869
"type": "any"
3082930870
},

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

pdl/domains/Network.pdl

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2260,6 +2260,7 @@ domain Network
22602260
# The result of a refresh.
22612261
enum refreshResult
22622262
Refreshed
2263+
RefreshedAsWaiter
22632264
InitializedService
22642265
Unreachable
22652266
ServerError
@@ -2290,6 +2291,7 @@ domain Network
22902291
ServerRequested
22912292
InvalidSessionParams
22922293
RefreshFatalError
2294+
DevTools
22932295

22942296
# Session event details specific to challenges.
22952297
experimental type ChallengeEventDetails extends object
@@ -2334,6 +2336,11 @@ domain Network
23342336
# Whether to enable or disable events.
23352337
boolean enable
23362338

2339+
# Deletes a device bound session.
2340+
experimental command deleteDeviceBoundSession
2341+
parameters
2342+
DeviceBoundSessionKey key
2343+
23372344
# Fetches the schemeful site for a specific origin.
23382345
experimental command fetchSchemefulSite
23392346
parameters

pdl/domains/Target.pdl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@ domain Target
2727
experimental boolean canAccessOpener
2828
# Frame id of originating window (is only set if target has an opener).
2929
experimental optional Page.FrameId openerFrameId
30-
# Id of the parent frame, only present for the "iframe" targets.
30+
# Id of the parent frame, present for "iframe" and "worker" targets. For nested workers,
31+
# this is the "ancestor" frame that created the first worker in the nested chain.
3132
experimental optional Page.FrameId parentFrameId
3233
experimental optional Browser.BrowserContextID browserContextId
3334
# Provides additional details for specific target types. For example, for

0 commit comments

Comments
 (0)