Skip to content

Commit 3d50984

Browse files
committed
Roll protocol to r1453071
1 parent 63aa321 commit 3d50984

8 files changed

Lines changed: 289 additions & 70 deletions

changelog.md

Lines changed: 94 additions & 67 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,100 @@
11

22

3+
## Roll protocol to r1453071 — _2025-04-29T04:30:14.000Z_
4+
###### Diff: [`63aa321...bb97f52`](https://github.com/ChromeDevTools/devtools-protocol/compare/63aa321...bb97f52)
5+
6+
```diff
7+
@@ browser_protocol.pdl:8455 @@ domain Page
8+
9+
# All Permissions Policy features. This enum should match the one defined
10+
# in services/network/public/cpp/permissions_policy/permissions_policy_features.json5.
11+
+ # LINT.IfChange(PermissionsPolicyFeature)
12+
experimental type PermissionsPolicyFeature extends string
13+
enum
14+
accelerometer
15+
@@ -8521,6 +8522,7 @@ domain Page
16+
keyboard-map
17+
language-detector
18+
local-fonts
19+
+ local-network-access
20+
magnetometer
21+
media-playback-while-not-visible
22+
microphone
23+
@@ -8534,6 +8536,7 @@ domain Page
24+
private-state-token-redemption
25+
publickey-credentials-create
26+
publickey-credentials-get
27+
+ record-ad-auction-events
28+
rewriter
29+
run-ad-auction
30+
screen-wake-lock
31+
@@ -8558,6 +8561,7 @@ domain Page
32+
window-management
33+
writer
34+
xr-spatial-tracking
35+
+ # LINT.ThenChange(//services/network/public/cpp/permissions_policy/permissions_policy_features.json5:PermissionsPolicy)
36+
37+
# Reason for a permissions policy feature to be disabled.
38+
experimental type PermissionsPolicyBlockReason extends string
39+
@@ -13351,6 +13355,21 @@ experimental domain BluetoothEmulation
40+
connection
41+
discovery
42+
43+
+ # Indicates the various types of characteristic write.
44+
+ type CharacteristicWriteType extends string
45+
+ enum
46+
+ write-default-deprecated
47+
+ write-with-response
48+
+ write-without-response
49+
+
50+
+ # Indicates the various types of characteristic operation.
51+
+ type CharacteristicOperationType extends string
52+
+ enum
53+
+ read
54+
+ write
55+
+ subscribe-to-notifications
56+
+ unsubscribe-from-notifications
57+
+
58+
# Stores the manufacturer data
59+
type ManufacturerData extends object
60+
properties
61+
@@ -13435,6 +13454,18 @@ experimental domain BluetoothEmulation
62+
GATTOperationType type
63+
integer code
64+
65+
+ # Simulates the response from the characteristic with |characteristicId| for a
66+
+ # characteristic operation of |type|. The |code| value follows the Error
67+
+ # Codes from Bluetooth Core Specification Vol 3 Part F 3.4.1.1 Error Response.
68+
+ # The |data| is expected to exist when simulating a successful read operation
69+
+ # response.
70+
+ command simulateCharacteristicOperationResponse
71+
+ parameters
72+
+ string characteristicId
73+
+ CharacteristicOperationType type
74+
+ integer code
75+
+ optional binary data
76+
+
77+
# Adds a service with |serviceUuid| to the peripheral with |address|.
78+
command addService
79+
parameters
80+
@@ -13487,3 +13518,13 @@ experimental domain BluetoothEmulation
81+
parameters
82+
string address
83+
GATTOperationType type
84+
+
85+
+ # Event for when a characteristic operation of |type| to the characteristic
86+
+ # respresented by |characteristicId| happened. |data| and |writeType| is
87+
+ # expected to exist when |type| is write.
88+
+ event characteristicOperationReceived
89+
+ parameters
90+
+ string characteristicId
91+
+ CharacteristicOperationType type
92+
+ optional binary data
93+
+ optional CharacteristicWriteType writeType
94+
```
95+
396
## Roll protocol to r1452169 — _2025-04-26T04:29:56.000Z_
4-
###### Diff: [`22067e8...c2c8409`](https://github.com/ChromeDevTools/devtools-protocol/compare/22067e8...c2c8409)
97+
###### Diff: [`22067e8...63aa321`](https://github.com/ChromeDevTools/devtools-protocol/compare/22067e8...63aa321)
598

699
```diff
7100
@@ js_protocol.pdl:649 @@ domain Debugger
@@ -13767,70 +13860,4 @@ index 8d8211b..2d56043 100644
1376713860
# Database name.
1376813861
string databaseName
1376913862
# Object store name.
13770-
```
13771-
13772-
## Roll protocol to r1028116 — _2022-07-26T04:49:26.000Z_
13773-
###### Diff: [`5036b2e...2a10dd2`](https://github.com/ChromeDevTools/devtools-protocol/compare/5036b2e...2a10dd2)
13774-
13775-
```diff
13776-
@@ browser_protocol.pdl:699 @@ experimental domain Audits
13777-
type AttributionReportingIssueType extends string
13778-
enum
13779-
PermissionPolicyDisabled
13780-
+ # TODO(apaseltiner): Remove this once it is no longer referenced by the frontend.
13781-
AttributionSourceUntrustworthyOrigin
13782-
+ # TODO(apaseltiner): Remove this once it is no longer referenced by the frontend.
13783-
AttributionUntrustworthyOrigin
13784-
+ UntrustworthyReportingOrigin
13785-
+ InsecureContext
13786-
+ # TODO(apaseltiner): Rename this to InvalidRegisterSourceHeader
13787-
InvalidHeader
13788-
+ InvalidRegisterTriggerHeader
13789-
13790-
# Details for issues around "Attribution Reporting API" usage.
13791-
# Explainer: https://github.com/WICG/attribution-reporting-api
13792-
type AttributionReportingIssueDetails extends object
13793-
properties
13794-
AttributionReportingIssueType violationType
13795-
+ # TODO(apaseltiner): Remove this once it is no longer referenced by the frontend.
13796-
optional AffectedFrame frame
13797-
optional AffectedRequest request
13798-
optional DOM.BackendNodeId violatingNodeId
13799-
@@ -4074,8 +4081,11 @@ experimental domain IndexedDB
13800-
# Clears all entries from an object store.
13801-
command clearObjectStore
13802-
parameters
13803-
+ # At least and at most one of securityOrigin, storageKey must be specified.
13804-
# Security origin.
13805-
- string securityOrigin
13806-
+ optional string securityOrigin
13807-
+ # Storage key.
13808-
+ optional string storageKey
13809-
# Database name.
13810-
string databaseName
13811-
# Object store name.
13812-
@@ -4084,8 +4094,11 @@ experimental domain IndexedDB
13813-
# Deletes a database.
13814-
command deleteDatabase
13815-
parameters
13816-
+ # At least and at most one of securityOrigin, storageKey must be specified.
13817-
# Security origin.
13818-
- string securityOrigin
13819-
+ optional string securityOrigin
13820-
+ # Storage key.
13821-
+ optional string storageKey
13822-
# Database name.
13823-
string databaseName
13824-
13825-
@@ -8426,6 +8439,10 @@ domain Page
13826-
EmbedderTriggeredAndSameOriginRedirected
13827-
EmbedderTriggeredAndCrossOriginRedirected
13828-
EmbedderTriggeredAndDestroyed
13829-
+ MemoryLimitExceeded
13830-
+ # Prerenders can be cancelled when Chrome uses excessive memory. This is
13831-
+ # recorded when it fails to get the memory usage.
13832-
+ FailToGetMemoryUsage
13833-
13834-
# Fired when a prerender attempt is completed.
13835-
event prerenderAttemptCompleted
1383613863
```

json/browser_protocol.json

Lines changed: 71 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17951,7 +17951,7 @@
1795117951
},
1795217952
{
1795317953
"id": "PermissionsPolicyFeature",
17954-
"description": "All Permissions Policy features. This enum should match the one defined\nin services/network/public/cpp/permissions_policy/permissions_policy_features.json5.",
17954+
"description": "All Permissions Policy features. This enum should match the one defined\nin services/network/public/cpp/permissions_policy/permissions_policy_features.json5.\nLINT.IfChange(PermissionsPolicyFeature)",
1795517955
"experimental": true,
1795617956
"type": "string",
1795717957
"enum": [
@@ -18019,6 +18019,7 @@
1801918019
"keyboard-map",
1802018020
"language-detector",
1802118021
"local-fonts",
18022+
"local-network-access",
1802218023
"magnetometer",
1802318024
"media-playback-while-not-visible",
1802418025
"microphone",
@@ -18032,6 +18033,7 @@
1803218033
"private-state-token-redemption",
1803318034
"publickey-credentials-create",
1803418035
"publickey-credentials-get",
18036+
"record-ad-auction-events",
1803518037
"rewriter",
1803618038
"run-ad-auction",
1803718039
"screen-wake-lock",
@@ -28115,6 +28117,27 @@
2811528117
"discovery"
2811628118
]
2811728119
},
28120+
{
28121+
"id": "CharacteristicWriteType",
28122+
"description": "Indicates the various types of characteristic write.",
28123+
"type": "string",
28124+
"enum": [
28125+
"write-default-deprecated",
28126+
"write-with-response",
28127+
"write-without-response"
28128+
]
28129+
},
28130+
{
28131+
"id": "CharacteristicOperationType",
28132+
"description": "Indicates the various types of characteristic operation.",
28133+
"type": "string",
28134+
"enum": [
28135+
"read",
28136+
"write",
28137+
"subscribe-to-notifications",
28138+
"unsubscribe-from-notifications"
28139+
]
28140+
},
2811828141
{
2811928142
"id": "ManufacturerData",
2812028143
"description": "Stores the manufacturer data",
@@ -28328,6 +28351,29 @@
2832828351
}
2832928352
]
2833028353
},
28354+
{
28355+
"name": "simulateCharacteristicOperationResponse",
28356+
"description": "Simulates the response from the characteristic with |characteristicId| for a\ncharacteristic operation of |type|. The |code| value follows the Error\nCodes from Bluetooth Core Specification Vol 3 Part F 3.4.1.1 Error Response.\nThe |data| is expected to exist when simulating a successful read operation\nresponse.",
28357+
"parameters": [
28358+
{
28359+
"name": "characteristicId",
28360+
"type": "string"
28361+
},
28362+
{
28363+
"name": "type",
28364+
"$ref": "CharacteristicOperationType"
28365+
},
28366+
{
28367+
"name": "code",
28368+
"type": "integer"
28369+
},
28370+
{
28371+
"name": "data",
28372+
"optional": true,
28373+
"type": "string"
28374+
}
28375+
]
28376+
},
2833128377
{
2833228378
"name": "addService",
2833328379
"description": "Adds a service with |serviceUuid| to the peripheral with |address|.",
@@ -28440,6 +28486,30 @@
2844028486
"$ref": "GATTOperationType"
2844128487
}
2844228488
]
28489+
},
28490+
{
28491+
"name": "characteristicOperationReceived",
28492+
"description": "Event for when a characteristic operation of |type| to the characteristic\nrespresented by |characteristicId| happened. |data| and |writeType| is\nexpected to exist when |type| is write.",
28493+
"parameters": [
28494+
{
28495+
"name": "characteristicId",
28496+
"type": "string"
28497+
},
28498+
{
28499+
"name": "type",
28500+
"$ref": "CharacteristicOperationType"
28501+
},
28502+
{
28503+
"name": "data",
28504+
"optional": true,
28505+
"type": "string"
28506+
},
28507+
{
28508+
"name": "writeType",
28509+
"optional": true,
28510+
"$ref": "CharacteristicWriteType"
28511+
}
28512+
]
2844328513
}
2844428514
]
2844528515
}

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.1452169",
3+
"version": "0.0.1453071",
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: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8455,6 +8455,7 @@ domain Page
84558455

84568456
# All Permissions Policy features. This enum should match the one defined
84578457
# in services/network/public/cpp/permissions_policy/permissions_policy_features.json5.
8458+
# LINT.IfChange(PermissionsPolicyFeature)
84588459
experimental type PermissionsPolicyFeature extends string
84598460
enum
84608461
accelerometer
@@ -8521,6 +8522,7 @@ domain Page
85218522
keyboard-map
85228523
language-detector
85238524
local-fonts
8525+
local-network-access
85248526
magnetometer
85258527
media-playback-while-not-visible
85268528
microphone
@@ -8534,6 +8536,7 @@ domain Page
85348536
private-state-token-redemption
85358537
publickey-credentials-create
85368538
publickey-credentials-get
8539+
record-ad-auction-events
85378540
rewriter
85388541
run-ad-auction
85398542
screen-wake-lock
@@ -8558,6 +8561,7 @@ domain Page
85588561
window-management
85598562
writer
85608563
xr-spatial-tracking
8564+
# LINT.ThenChange(//services/network/public/cpp/permissions_policy/permissions_policy_features.json5:PermissionsPolicy)
85618565

85628566
# Reason for a permissions policy feature to be disabled.
85638567
experimental type PermissionsPolicyBlockReason extends string
@@ -13351,6 +13355,21 @@ experimental domain BluetoothEmulation
1335113355
connection
1335213356
discovery
1335313357

13358+
# Indicates the various types of characteristic write.
13359+
type CharacteristicWriteType extends string
13360+
enum
13361+
write-default-deprecated
13362+
write-with-response
13363+
write-without-response
13364+
13365+
# Indicates the various types of characteristic operation.
13366+
type CharacteristicOperationType extends string
13367+
enum
13368+
read
13369+
write
13370+
subscribe-to-notifications
13371+
unsubscribe-from-notifications
13372+
1335413373
# Stores the manufacturer data
1335513374
type ManufacturerData extends object
1335613375
properties
@@ -13435,6 +13454,18 @@ experimental domain BluetoothEmulation
1343513454
GATTOperationType type
1343613455
integer code
1343713456

13457+
# Simulates the response from the characteristic with |characteristicId| for a
13458+
# characteristic operation of |type|. The |code| value follows the Error
13459+
# Codes from Bluetooth Core Specification Vol 3 Part F 3.4.1.1 Error Response.
13460+
# The |data| is expected to exist when simulating a successful read operation
13461+
# response.
13462+
command simulateCharacteristicOperationResponse
13463+
parameters
13464+
string characteristicId
13465+
CharacteristicOperationType type
13466+
integer code
13467+
optional binary data
13468+
1343813469
# Adds a service with |serviceUuid| to the peripheral with |address|.
1343913470
command addService
1344013471
parameters
@@ -13487,3 +13518,13 @@ experimental domain BluetoothEmulation
1348713518
parameters
1348813519
string address
1348913520
GATTOperationType type
13521+
13522+
# Event for when a characteristic operation of |type| to the characteristic
13523+
# respresented by |characteristicId| happened. |data| and |writeType| is
13524+
# expected to exist when |type| is write.
13525+
event characteristicOperationReceived
13526+
parameters
13527+
string characteristicId
13528+
CharacteristicOperationType type
13529+
optional binary data
13530+
optional CharacteristicWriteType writeType

0 commit comments

Comments
 (0)