Skip to content

Commit 432dff0

Browse files
committed
Roll protocol to r1436416
1 parent cf78806 commit 432dff0

8 files changed

Lines changed: 213 additions & 3 deletions

changelog.md

Lines changed: 74 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,80 @@
11

22

3+
## Roll protocol to r1436416 — _2025-03-22T04:29:26.000Z_
4+
###### Diff: [`cf78806...fdfa272`](https://github.com/ChromeDevTools/devtools-protocol/compare/cf78806...fdfa272)
5+
6+
```diff
7+
@@ browser_protocol.pdl:8464 @@ domain Page
8+
interest-cohort
9+
join-ad-interest-group
10+
keyboard-map
11+
+ language-detector
12+
local-fonts
13+
magnetometer
14+
media-playback-while-not-visible
15+
@@ -8478,6 +8479,7 @@ domain Page
16+
private-state-token-redemption
17+
publickey-credentials-create
18+
publickey-credentials-get
19+
+ rewriter
20+
run-ad-auction
21+
screen-wake-lock
22+
serial
23+
@@ -8488,7 +8490,9 @@ domain Page
24+
speaker-selection
25+
storage-access
26+
sub-apps
27+
+ summarizer
28+
sync-xhr
29+
+ translator
30+
unload
31+
usb
32+
usb-unrestricted
33+
@@ -8497,6 +8501,7 @@ domain Page
34+
web-printing
35+
web-share
36+
window-management
37+
+ writer
38+
xr-spatial-tracking
39+
40+
# Reason for a permissions policy feature to be disabled.
41+
@@ -13215,6 +13220,12 @@ experimental domain BluetoothEmulation
42+
powered-off
43+
powered-on
44+
45+
+ # Indicates the various types of GATT event.
46+
+ type GATTOperationType extends string
47+
+ enum
48+
+ connection
49+
+ discovery
50+
+
51+
# Stores the manufacturer data
52+
type ManufacturerData extends object
53+
properties
54+
@@ -13276,3 +13287,19 @@ experimental domain BluetoothEmulation
55+
command simulateAdvertisement
56+
parameters
57+
ScanEntry entry
58+
+
59+
+ # Simulates the response code from the peripheral with |address| for a
60+
+ # GATT operation of |type|. The |code| value follows the HCI Error Codes from
61+
+ # Bluetooth Core Specification Vol 2 Part D 1.3 List Of Error Codes.
62+
+ command simulateGATTOperationResponse
63+
+ parameters
64+
+ string address
65+
+ GATTOperationType type
66+
+ integer code
67+
+
68+
+ # Event for when a GATT operation of |type| to the peripheral with |address|
69+
+ # happened.
70+
+ event gattOperationReceived
71+
+ parameters
72+
+ string address
73+
+ GATTOperationType type
74+
```
75+
376
## Roll protocol to r1433962 — _2025-03-18T04:29:59.000Z_
4-
###### Diff: [`b9e45c3...6cf64d4`](https://github.com/ChromeDevTools/devtools-protocol/compare/b9e45c3...6cf64d4)
77+
###### Diff: [`b9e45c3...cf78806`](https://github.com/ChromeDevTools/devtools-protocol/compare/b9e45c3...cf78806)
578

679
```diff
780
@@ browser_protocol.pdl:858 @@ experimental domain Audits

json/browser_protocol.json

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17912,6 +17912,7 @@
1791217912
"interest-cohort",
1791317913
"join-ad-interest-group",
1791417914
"keyboard-map",
17915+
"language-detector",
1791517916
"local-fonts",
1791617917
"magnetometer",
1791717918
"media-playback-while-not-visible",
@@ -17926,6 +17927,7 @@
1792617927
"private-state-token-redemption",
1792717928
"publickey-credentials-create",
1792817929
"publickey-credentials-get",
17930+
"rewriter",
1792917931
"run-ad-auction",
1793017932
"screen-wake-lock",
1793117933
"serial",
@@ -17936,7 +17938,9 @@
1793617938
"speaker-selection",
1793717939
"storage-access",
1793817940
"sub-apps",
17941+
"summarizer",
1793917942
"sync-xhr",
17943+
"translator",
1794017944
"unload",
1794117945
"usb",
1794217946
"usb-unrestricted",
@@ -17945,6 +17949,7 @@
1794517949
"web-printing",
1794617950
"web-share",
1794717951
"window-management",
17952+
"writer",
1794817953
"xr-spatial-tracking"
1794917954
]
1795017955
},
@@ -27808,6 +27813,15 @@
2780827813
"powered-on"
2780927814
]
2781027815
},
27816+
{
27817+
"id": "GATTOperationType",
27818+
"description": "Indicates the various types of GATT event.",
27819+
"type": "string",
27820+
"enum": [
27821+
"connection",
27822+
"discovery"
27823+
]
27824+
},
2781127825
{
2781227826
"id": "ManufacturerData",
2781327827
"description": "Stores the manufacturer data",
@@ -27955,6 +27969,40 @@
2795527969
"$ref": "ScanEntry"
2795627970
}
2795727971
]
27972+
},
27973+
{
27974+
"name": "simulateGATTOperationResponse",
27975+
"description": "Simulates the response code from the peripheral with |address| for a\nGATT operation of |type|. The |code| value follows the HCI Error Codes from\nBluetooth Core Specification Vol 2 Part D 1.3 List Of Error Codes.",
27976+
"parameters": [
27977+
{
27978+
"name": "address",
27979+
"type": "string"
27980+
},
27981+
{
27982+
"name": "type",
27983+
"$ref": "GATTOperationType"
27984+
},
27985+
{
27986+
"name": "code",
27987+
"type": "integer"
27988+
}
27989+
]
27990+
}
27991+
],
27992+
"events": [
27993+
{
27994+
"name": "gattOperationReceived",
27995+
"description": "Event for when a GATT operation of |type| to the peripheral with |address|\nhappened.",
27996+
"parameters": [
27997+
{
27998+
"name": "address",
27999+
"type": "string"
28000+
},
28001+
{
28002+
"name": "type",
28003+
"$ref": "GATTOperationType"
28004+
}
28005+
]
2795828006
}
2795928007
]
2796028008
}

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.1433962",
3+
"version": "0.0.1436416",
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: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8464,6 +8464,7 @@ domain Page
84648464
interest-cohort
84658465
join-ad-interest-group
84668466
keyboard-map
8467+
language-detector
84678468
local-fonts
84688469
magnetometer
84698470
media-playback-while-not-visible
@@ -8478,6 +8479,7 @@ domain Page
84788479
private-state-token-redemption
84798480
publickey-credentials-create
84808481
publickey-credentials-get
8482+
rewriter
84818483
run-ad-auction
84828484
screen-wake-lock
84838485
serial
@@ -8488,7 +8490,9 @@ domain Page
84888490
speaker-selection
84898491
storage-access
84908492
sub-apps
8493+
summarizer
84918494
sync-xhr
8495+
translator
84928496
unload
84938497
usb
84948498
usb-unrestricted
@@ -8497,6 +8501,7 @@ domain Page
84978501
web-printing
84988502
web-share
84998503
window-management
8504+
writer
85008505
xr-spatial-tracking
85018506

85028507
# Reason for a permissions policy feature to be disabled.
@@ -13215,6 +13220,12 @@ experimental domain BluetoothEmulation
1321513220
powered-off
1321613221
powered-on
1321713222

13223+
# Indicates the various types of GATT event.
13224+
type GATTOperationType extends string
13225+
enum
13226+
connection
13227+
discovery
13228+
1321813229
# Stores the manufacturer data
1321913230
type ManufacturerData extends object
1322013231
properties
@@ -13276,3 +13287,19 @@ experimental domain BluetoothEmulation
1327613287
command simulateAdvertisement
1327713288
parameters
1327813289
ScanEntry entry
13290+
13291+
# Simulates the response code from the peripheral with |address| for a
13292+
# GATT operation of |type|. The |code| value follows the HCI Error Codes from
13293+
# Bluetooth Core Specification Vol 2 Part D 1.3 List Of Error Codes.
13294+
command simulateGATTOperationResponse
13295+
parameters
13296+
string address
13297+
GATTOperationType type
13298+
integer code
13299+
13300+
# Event for when a GATT operation of |type| to the peripheral with |address|
13301+
# happened.
13302+
event gattOperationReceived
13303+
parameters
13304+
string address
13305+
GATTOperationType type

types/protocol-mapping.d.ts

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -819,6 +819,11 @@ export namespace ProtocolMapping {
819819
* or a command below.
820820
*/
821821
'FedCm.dialogClosed': [Protocol.FedCm.DialogClosedEvent];
822+
/**
823+
* Event for when a GATT operation of |type| to the peripheral with |address|
824+
* happened.
825+
*/
826+
'BluetoothEmulation.gattOperationReceived': [Protocol.BluetoothEmulation.GattOperationReceivedEvent];
822827
}
823828

824829
export interface Commands {
@@ -5297,6 +5302,15 @@ export namespace ProtocolMapping {
52975302
paramsType: [Protocol.BluetoothEmulation.SimulateAdvertisementRequest];
52985303
returnType: void;
52995304
};
5305+
/**
5306+
* Simulates the response code from the peripheral with |address| for a
5307+
* GATT operation of |type|. The |code| value follows the HCI Error Codes from
5308+
* Bluetooth Core Specification Vol 2 Part D 1.3 List Of Error Codes.
5309+
*/
5310+
'BluetoothEmulation.simulateGATTOperationResponse': {
5311+
paramsType: [Protocol.BluetoothEmulation.SimulateGATTOperationResponseRequest];
5312+
returnType: void;
5313+
};
53005314
}
53015315
}
53025316

types/protocol-proxy-api.d.ts

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4527,6 +4527,19 @@ export namespace ProtocolProxyApi {
45274527
*/
45284528
simulateAdvertisement(params: Protocol.BluetoothEmulation.SimulateAdvertisementRequest): Promise<void>;
45294529

4530+
/**
4531+
* Simulates the response code from the peripheral with |address| for a
4532+
* GATT operation of |type|. The |code| value follows the HCI Error Codes from
4533+
* Bluetooth Core Specification Vol 2 Part D 1.3 List Of Error Codes.
4534+
*/
4535+
simulateGATTOperationResponse(params: Protocol.BluetoothEmulation.SimulateGATTOperationResponseRequest): Promise<void>;
4536+
4537+
/**
4538+
* Event for when a GATT operation of |type| to the peripheral with |address|
4539+
* happened.
4540+
*/
4541+
on(event: 'gattOperationReceived', listener: (params: Protocol.BluetoothEmulation.GattOperationReceivedEvent) => void): void;
4542+
45304543
}
45314544
}
45324545

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

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4931,6 +4931,21 @@ export namespace ProtocolTestsProxyApi {
49314931
*/
49324932
simulateAdvertisement(params: Protocol.BluetoothEmulation.SimulateAdvertisementRequest): Promise<{id: number, result: void, sessionId: string}>;
49334933

4934+
/**
4935+
* Simulates the response code from the peripheral with |address| for a
4936+
* GATT operation of |type|. The |code| value follows the HCI Error Codes from
4937+
* Bluetooth Core Specification Vol 2 Part D 1.3 List Of Error Codes.
4938+
*/
4939+
simulateGATTOperationResponse(params: Protocol.BluetoothEmulation.SimulateGATTOperationResponseRequest): Promise<{id: number, result: void, sessionId: string}>;
4940+
4941+
/**
4942+
* Event for when a GATT operation of |type| to the peripheral with |address|
4943+
* happened.
4944+
*/
4945+
onGattOperationReceived(listener: (event: { params: Protocol.BluetoothEmulation.GattOperationReceivedEvent }) => void): void;
4946+
offGattOperationReceived(listener: (event: { params: Protocol.BluetoothEmulation.GattOperationReceivedEvent }) => void): void;
4947+
onceGattOperationReceived(eventMatcher?: (event: { params: Protocol.BluetoothEmulation.GattOperationReceivedEvent }) => boolean): Promise<{ params: Protocol.BluetoothEmulation.GattOperationReceivedEvent }>;
4948+
49344949
}
49354950
}
49364951

types/protocol.d.ts

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13843,7 +13843,7 @@ export namespace Protocol {
1384313843
* All Permissions Policy features. This enum should match the one defined
1384413844
* in services/network/public/cpp/permissions_policy/permissions_policy_features.json5.
1384513845
*/
13846-
export type PermissionsPolicyFeature = ('accelerometer' | 'all-screens-capture' | 'ambient-light-sensor' | 'attribution-reporting' | 'autoplay' | 'bluetooth' | 'browsing-topics' | 'camera' | 'captured-surface-control' | 'ch-dpr' | 'ch-device-memory' | 'ch-downlink' | 'ch-ect' | 'ch-prefers-color-scheme' | 'ch-prefers-reduced-motion' | 'ch-prefers-reduced-transparency' | 'ch-rtt' | 'ch-save-data' | 'ch-ua' | 'ch-ua-arch' | 'ch-ua-bitness' | 'ch-ua-high-entropy-values' | 'ch-ua-platform' | 'ch-ua-model' | 'ch-ua-mobile' | 'ch-ua-form-factors' | 'ch-ua-full-version' | 'ch-ua-full-version-list' | 'ch-ua-platform-version' | 'ch-ua-wow64' | 'ch-viewport-height' | 'ch-viewport-width' | 'ch-width' | 'clipboard-read' | 'clipboard-write' | 'compute-pressure' | 'controlled-frame' | 'cross-origin-isolated' | 'deferred-fetch' | 'deferred-fetch-minimal' | 'digital-credentials-get' | 'direct-sockets' | 'direct-sockets-private' | 'display-capture' | 'document-domain' | 'encrypted-media' | 'execution-while-out-of-viewport' | 'execution-while-not-rendered' | 'fenced-unpartitioned-storage-read' | 'focus-without-user-activation' | 'fullscreen' | 'frobulate' | 'gamepad' | 'geolocation' | 'gyroscope' | 'hid' | 'identity-credentials-get' | 'idle-detection' | 'interest-cohort' | 'join-ad-interest-group' | 'keyboard-map' | 'local-fonts' | 'magnetometer' | 'media-playback-while-not-visible' | 'microphone' | 'midi' | 'otp-credentials' | 'payment' | 'picture-in-picture' | 'popins' | 'private-aggregation' | 'private-state-token-issuance' | 'private-state-token-redemption' | 'publickey-credentials-create' | 'publickey-credentials-get' | 'run-ad-auction' | 'screen-wake-lock' | 'serial' | 'shared-autofill' | 'shared-storage' | 'shared-storage-select-url' | 'smart-card' | 'speaker-selection' | 'storage-access' | 'sub-apps' | 'sync-xhr' | 'unload' | 'usb' | 'usb-unrestricted' | 'vertical-scroll' | 'web-app-installation' | 'web-printing' | 'web-share' | 'window-management' | 'xr-spatial-tracking');
13846+
export type PermissionsPolicyFeature = ('accelerometer' | 'all-screens-capture' | 'ambient-light-sensor' | 'attribution-reporting' | 'autoplay' | 'bluetooth' | 'browsing-topics' | 'camera' | 'captured-surface-control' | 'ch-dpr' | 'ch-device-memory' | 'ch-downlink' | 'ch-ect' | 'ch-prefers-color-scheme' | 'ch-prefers-reduced-motion' | 'ch-prefers-reduced-transparency' | 'ch-rtt' | 'ch-save-data' | 'ch-ua' | 'ch-ua-arch' | 'ch-ua-bitness' | 'ch-ua-high-entropy-values' | 'ch-ua-platform' | 'ch-ua-model' | 'ch-ua-mobile' | 'ch-ua-form-factors' | 'ch-ua-full-version' | 'ch-ua-full-version-list' | 'ch-ua-platform-version' | 'ch-ua-wow64' | 'ch-viewport-height' | 'ch-viewport-width' | 'ch-width' | 'clipboard-read' | 'clipboard-write' | 'compute-pressure' | 'controlled-frame' | 'cross-origin-isolated' | 'deferred-fetch' | 'deferred-fetch-minimal' | 'digital-credentials-get' | 'direct-sockets' | 'direct-sockets-private' | 'display-capture' | 'document-domain' | 'encrypted-media' | 'execution-while-out-of-viewport' | 'execution-while-not-rendered' | 'fenced-unpartitioned-storage-read' | 'focus-without-user-activation' | 'fullscreen' | 'frobulate' | 'gamepad' | 'geolocation' | 'gyroscope' | 'hid' | 'identity-credentials-get' | 'idle-detection' | 'interest-cohort' | 'join-ad-interest-group' | 'keyboard-map' | 'language-detector' | 'local-fonts' | 'magnetometer' | 'media-playback-while-not-visible' | 'microphone' | 'midi' | 'otp-credentials' | 'payment' | 'picture-in-picture' | 'popins' | 'private-aggregation' | 'private-state-token-issuance' | 'private-state-token-redemption' | 'publickey-credentials-create' | 'publickey-credentials-get' | 'rewriter' | 'run-ad-auction' | 'screen-wake-lock' | 'serial' | 'shared-autofill' | 'shared-storage' | 'shared-storage-select-url' | 'smart-card' | 'speaker-selection' | 'storage-access' | 'sub-apps' | 'summarizer' | 'sync-xhr' | 'translator' | 'unload' | 'usb' | 'usb-unrestricted' | 'vertical-scroll' | 'web-app-installation' | 'web-printing' | 'web-share' | 'window-management' | 'writer' | 'xr-spatial-tracking');
1384713847

1384813848
/**
1384913849
* Reason for a permissions policy feature to be disabled.
@@ -19471,6 +19471,11 @@ export namespace Protocol {
1947119471
*/
1947219472
export type CentralState = ('absent' | 'powered-off' | 'powered-on');
1947319473

19474+
/**
19475+
* Indicates the various types of GATT event.
19476+
*/
19477+
export type GATTOperationType = ('connection' | 'discovery');
19478+
1947419479
/**
1947519480
* Stores the manufacturer data
1947619481
*/
@@ -19545,6 +19550,21 @@ export namespace Protocol {
1954519550
export interface SimulateAdvertisementRequest {
1954619551
entry: ScanEntry;
1954719552
}
19553+
19554+
export interface SimulateGATTOperationResponseRequest {
19555+
address: string;
19556+
type: GATTOperationType;
19557+
code: integer;
19558+
}
19559+
19560+
/**
19561+
* Event for when a GATT operation of |type| to the peripheral with |address|
19562+
* happened.
19563+
*/
19564+
export interface GattOperationReceivedEvent {
19565+
address: string;
19566+
type: GATTOperationType;
19567+
}
1954819568
}
1954919569
}
1955019570

0 commit comments

Comments
 (0)