Skip to content

Commit 4925775

Browse files
committed
Roll protocol to r1454823
1 parent 4fe3878 commit 4925775

8 files changed

Lines changed: 370 additions & 42 deletions

changelog.md

Lines changed: 93 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,99 @@
11

22

3+
## Roll protocol to r1454823 — _2025-05-02T04:30:38.000Z_
4+
###### Diff: [`4fe3878...0399b23`](https://github.com/ChromeDevTools/devtools-protocol/compare/4fe3878...0399b23)
5+
6+
```diff
7+
@@ browser_protocol.pdl:11380 @@ experimental domain Storage
8+
AttributionReportingEventLevelResult eventLevel
9+
AttributionReportingAggregatableResult aggregatable
10+
11+
+ experimental type AttributionReportingReportResult extends string
12+
+ enum
13+
+ # A network request was attempted for the report.
14+
+ sent
15+
+ # No request was attempted because of browser policy.
16+
+ prohibited
17+
+ # No request was attempted because of an error in report assembly,
18+
+ # e.g. the aggregation service was unavailable.
19+
+ failedToAssemble
20+
+ # No request was attempted because the report's expiry passed.
21+
+ expired
22+
+
23+
+ experimental event attributionReportingReportSent
24+
+ parameters
25+
+ string url
26+
+ object body
27+
+ AttributionReportingReportResult result
28+
+ # If result is `sent`, populated with net/HTTP status.
29+
+ optional integer netError
30+
+ optional string netErrorName
31+
+ optional integer httpStatusCode
32+
+
33+
# A single Related Website Set object.
34+
experimental type RelatedWebsiteSet extends object
35+
properties
36+
@@ -13385,6 +13407,12 @@ experimental domain BluetoothEmulation
37+
subscribe-to-notifications
38+
unsubscribe-from-notifications
39+
40+
+ # Indicates the various types of descriptor operation.
41+
+ type DescriptorOperationType extends string
42+
+ enum
43+
+ read
44+
+ write
45+
+
46+
# Stores the manufacturer data
47+
type ManufacturerData extends object
48+
properties
49+
@@ -13481,6 +13509,18 @@ experimental domain BluetoothEmulation
50+
integer code
51+
optional binary data
52+
53+
+ # Simulates the response from the descriptor with |descriptorId| for a
54+
+ # descriptor operation of |type|. The |code| value follows the Error
55+
+ # Codes from Bluetooth Core Specification Vol 3 Part F 3.4.1.1 Error Response.
56+
+ # The |data| is expected to exist when simulating a successful read operation
57+
+ # response.
58+
+ command simulateDescriptorOperationResponse
59+
+ parameters
60+
+ string descriptorId
61+
+ DescriptorOperationType type
62+
+ integer code
63+
+ optional binary data
64+
+
65+
# Adds a service with |serviceUuid| to the peripheral with |address|.
66+
command addService
67+
parameters
68+
@@ -13527,6 +13567,11 @@ experimental domain BluetoothEmulation
69+
parameters
70+
string descriptorId
71+
72+
+ # Simulates a GATT disconnection from the peripheral with |address|.
73+
+ command simulateGATTDisconnection
74+
+ parameters
75+
+ string address
76+
+
77+
# Event for when a GATT operation of |type| to the peripheral with |address|
78+
# happened.
79+
event gattOperationReceived
80+
@@ -13543,3 +13588,12 @@ experimental domain BluetoothEmulation
81+
CharacteristicOperationType type
82+
optional binary data
83+
optional CharacteristicWriteType writeType
84+
+
85+
+ # Event for when a descriptor operation of |type| to the descriptor
86+
+ # respresented by |descriptorId| happened. |data| is expected to exist when
87+
+ # |type| is write.
88+
+ event descriptorOperationReceived
89+
+ parameters
90+
+ string descriptorId
91+
+ CharacteristicOperationType type
92+
+ optional binary data
93+
```
94+
395
## Roll protocol to r1453708 — _2025-04-30T04:30:29.000Z_
4-
###### Diff: [`3d50984...3a58b26`](https://github.com/ChromeDevTools/devtools-protocol/compare/3d50984...3a58b26)
96+
###### Diff: [`3d50984...4fe3878`](https://github.com/ChromeDevTools/devtools-protocol/compare/3d50984...4fe3878)
597

698
```diff
799
@@ browser_protocol.pdl:1079 @@ experimental domain Audits
@@ -13862,44 +13954,4 @@ index 8d8211b..2d56043 100644
1386213954
# Database name.
1386313955
string databaseName
1386413956
returns
13865-
```
13866-
13867-
## Roll protocol to r1028580 — _2022-07-27T04:39:00.000Z_
13868-
###### Diff: [`51ea7c8...47224e5`](https://github.com/ChromeDevTools/devtools-protocol/compare/51ea7c8...47224e5)
13869-
13870-
```diff
13871-
@@ browser_protocol.pdl:782 @@ experimental domain Audits
13872-
ObsoleteWebRtcCipherSuite
13873-
OpenWebDatabaseInsecureContext
13874-
OverflowVisibleOnReplacedElement
13875-
+ PersistentQuotaType
13876-
PictureSourceSrc
13877-
PrefixedCancelAnimationFrame
13878-
PrefixedRequestAnimationFrame
13879-
@@ -4105,7 +4106,11 @@ experimental domain IndexedDB
13880-
# Delete a range of entries from an object store
13881-
command deleteObjectStoreEntries
13882-
parameters
13883-
- string securityOrigin
13884-
+ # At least and at most one of securityOrigin, storageKey must be specified.
13885-
+ # Security origin.
13886-
+ optional string securityOrigin
13887-
+ # Storage key.
13888-
+ optional string storageKey
13889-
string databaseName
13890-
string objectStoreName
13891-
# Range of entry keys to delete
13892-
@@ -4143,8 +4148,11 @@ experimental domain IndexedDB
13893-
# Gets metadata of an object store
13894-
command getMetadata
13895-
parameters
13896-
+ # At least and at most one of securityOrigin, storageKey must be specified.
13897-
# Security origin.
13898-
- string securityOrigin
13899-
+ optional string securityOrigin
13900-
+ # Storage key.
13901-
+ optional string storageKey
13902-
# Database name.
13903-
string databaseName
13904-
# Object store name.
1390513957
```

json/browser_protocol.json

Lines changed: 106 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23372,6 +23372,17 @@
2337223372
"excessiveReports"
2337323373
]
2337423374
},
23375+
{
23376+
"id": "AttributionReportingReportResult",
23377+
"experimental": true,
23378+
"type": "string",
23379+
"enum": [
23380+
"sent",
23381+
"prohibited",
23382+
"failedToAssemble",
23383+
"expired"
23384+
]
23385+
},
2337523386
{
2337623387
"id": "RelatedWebsiteSet",
2337723388
"description": "A single Related Website Set object.",
@@ -24263,6 +24274,40 @@
2426324274
"$ref": "AttributionReportingAggregatableResult"
2426424275
}
2426524276
]
24277+
},
24278+
{
24279+
"name": "attributionReportingReportSent",
24280+
"experimental": true,
24281+
"parameters": [
24282+
{
24283+
"name": "url",
24284+
"type": "string"
24285+
},
24286+
{
24287+
"name": "body",
24288+
"type": "object"
24289+
},
24290+
{
24291+
"name": "result",
24292+
"$ref": "AttributionReportingReportResult"
24293+
},
24294+
{
24295+
"name": "netError",
24296+
"description": "If result is `sent`, populated with net/HTTP status.",
24297+
"optional": true,
24298+
"type": "integer"
24299+
},
24300+
{
24301+
"name": "netErrorName",
24302+
"optional": true,
24303+
"type": "string"
24304+
},
24305+
{
24306+
"name": "httpStatusCode",
24307+
"optional": true,
24308+
"type": "integer"
24309+
}
24310+
]
2426624311
}
2426724312
]
2426824313
},
@@ -28169,6 +28214,15 @@
2816928214
"unsubscribe-from-notifications"
2817028215
]
2817128216
},
28217+
{
28218+
"id": "DescriptorOperationType",
28219+
"description": "Indicates the various types of descriptor operation.",
28220+
"type": "string",
28221+
"enum": [
28222+
"read",
28223+
"write"
28224+
]
28225+
},
2817228226
{
2817328227
"id": "ManufacturerData",
2817428228
"description": "Stores the manufacturer data",
@@ -28405,6 +28459,29 @@
2840528459
}
2840628460
]
2840728461
},
28462+
{
28463+
"name": "simulateDescriptorOperationResponse",
28464+
"description": "Simulates the response from the descriptor with |descriptorId| for a\ndescriptor 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.",
28465+
"parameters": [
28466+
{
28467+
"name": "descriptorId",
28468+
"type": "string"
28469+
},
28470+
{
28471+
"name": "type",
28472+
"$ref": "DescriptorOperationType"
28473+
},
28474+
{
28475+
"name": "code",
28476+
"type": "integer"
28477+
},
28478+
{
28479+
"name": "data",
28480+
"optional": true,
28481+
"type": "string"
28482+
}
28483+
]
28484+
},
2840828485
{
2840928486
"name": "addService",
2841028487
"description": "Adds a service with |serviceUuid| to the peripheral with |address|.",
@@ -28501,6 +28578,16 @@
2850128578
"type": "string"
2850228579
}
2850328580
]
28581+
},
28582+
{
28583+
"name": "simulateGATTDisconnection",
28584+
"description": "Simulates a GATT disconnection from the peripheral with |address|.",
28585+
"parameters": [
28586+
{
28587+
"name": "address",
28588+
"type": "string"
28589+
}
28590+
]
2850428591
}
2850528592
],
2850628593
"events": [
@@ -28541,6 +28628,25 @@
2854128628
"$ref": "CharacteristicWriteType"
2854228629
}
2854328630
]
28631+
},
28632+
{
28633+
"name": "descriptorOperationReceived",
28634+
"description": "Event for when a descriptor operation of |type| to the descriptor\nrespresented by |descriptorId| happened. |data| is expected to exist when\n|type| is write.",
28635+
"parameters": [
28636+
{
28637+
"name": "descriptorId",
28638+
"type": "string"
28639+
},
28640+
{
28641+
"name": "type",
28642+
"$ref": "CharacteristicOperationType"
28643+
},
28644+
{
28645+
"name": "data",
28646+
"optional": true,
28647+
"type": "string"
28648+
}
28649+
]
2854428650
}
2854528651
]
2854628652
}

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.1453708",
3+
"version": "0.0.1454823",
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: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11380,6 +11380,28 @@ experimental domain Storage
1138011380
AttributionReportingEventLevelResult eventLevel
1138111381
AttributionReportingAggregatableResult aggregatable
1138211382

11383+
experimental type AttributionReportingReportResult extends string
11384+
enum
11385+
# A network request was attempted for the report.
11386+
sent
11387+
# No request was attempted because of browser policy.
11388+
prohibited
11389+
# No request was attempted because of an error in report assembly,
11390+
# e.g. the aggregation service was unavailable.
11391+
failedToAssemble
11392+
# No request was attempted because the report's expiry passed.
11393+
expired
11394+
11395+
experimental event attributionReportingReportSent
11396+
parameters
11397+
string url
11398+
object body
11399+
AttributionReportingReportResult result
11400+
# If result is `sent`, populated with net/HTTP status.
11401+
optional integer netError
11402+
optional string netErrorName
11403+
optional integer httpStatusCode
11404+
1138311405
# A single Related Website Set object.
1138411406
experimental type RelatedWebsiteSet extends object
1138511407
properties
@@ -13385,6 +13407,12 @@ experimental domain BluetoothEmulation
1338513407
subscribe-to-notifications
1338613408
unsubscribe-from-notifications
1338713409

13410+
# Indicates the various types of descriptor operation.
13411+
type DescriptorOperationType extends string
13412+
enum
13413+
read
13414+
write
13415+
1338813416
# Stores the manufacturer data
1338913417
type ManufacturerData extends object
1339013418
properties
@@ -13481,6 +13509,18 @@ experimental domain BluetoothEmulation
1348113509
integer code
1348213510
optional binary data
1348313511

13512+
# Simulates the response from the descriptor with |descriptorId| for a
13513+
# descriptor operation of |type|. The |code| value follows the Error
13514+
# Codes from Bluetooth Core Specification Vol 3 Part F 3.4.1.1 Error Response.
13515+
# The |data| is expected to exist when simulating a successful read operation
13516+
# response.
13517+
command simulateDescriptorOperationResponse
13518+
parameters
13519+
string descriptorId
13520+
DescriptorOperationType type
13521+
integer code
13522+
optional binary data
13523+
1348413524
# Adds a service with |serviceUuid| to the peripheral with |address|.
1348513525
command addService
1348613526
parameters
@@ -13527,6 +13567,11 @@ experimental domain BluetoothEmulation
1352713567
parameters
1352813568
string descriptorId
1352913569

13570+
# Simulates a GATT disconnection from the peripheral with |address|.
13571+
command simulateGATTDisconnection
13572+
parameters
13573+
string address
13574+
1353013575
# Event for when a GATT operation of |type| to the peripheral with |address|
1353113576
# happened.
1353213577
event gattOperationReceived
@@ -13543,3 +13588,12 @@ experimental domain BluetoothEmulation
1354313588
CharacteristicOperationType type
1354413589
optional binary data
1354513590
optional CharacteristicWriteType writeType
13591+
13592+
# Event for when a descriptor operation of |type| to the descriptor
13593+
# respresented by |descriptorId| happened. |data| is expected to exist when
13594+
# |type| is write.
13595+
event descriptorOperationReceived
13596+
parameters
13597+
string descriptorId
13598+
CharacteristicOperationType type
13599+
optional binary data

0 commit comments

Comments
 (0)