Skip to content

Commit c1a57ab

Browse files
committed
Roll protocol to r1439209
1 parent 028dc50 commit c1a57ab

8 files changed

Lines changed: 174 additions & 6 deletions

changelog.md

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

22

3+
## Roll protocol to r1439209 — _2025-03-28T04:30:28.000Z_
4+
###### Diff: [`028dc50...2d4e9bc`](https://github.com/ChromeDevTools/devtools-protocol/compare/028dc50...2d4e9bc)
5+
6+
```diff
7+
@@ browser_protocol.pdl:823 @@ experimental domain Audits
8+
ValidationFailedSignatureExpired
9+
ValidationFailedInvalidLength
10+
ValidationFailedSignatureMismatch
11+
+ ValidationFailedIntegrityMismatch
12+
13+
# Details for issues around "Attribution Reporting API" usage.
14+
# Explainer: https://github.com/WICG/attribution-reporting-api
15+
@@ -859,6 +860,7 @@ experimental domain Audits
16+
properties
17+
SRIMessageSignatureError error
18+
string signatureBase
19+
+ array of string integrityAssertions
20+
AffectedRequest request
21+
22+
type GenericIssueErrorType extends string
23+
@@ -6640,6 +6642,8 @@ domain Network
24+
PortMismatch
25+
# The cookie's source scheme value does not match the request origin's scheme.
26+
SchemeMismatch
27+
+ # Unpartitioned cookie access from an anonymous context was blocked.
28+
+ AnonymousContext
29+
30+
# Types of reasons why a cookie should have been blocked by 3PCD but is exempted for the request.
31+
experimental type CookieExemptionReason extends string
32+
@@ -13303,6 +13307,21 @@ experimental domain BluetoothEmulation
33+
GATTOperationType type
34+
integer code
35+
36+
+ # Adds a service with |uuid| to the peripheral with |address|.
37+
+ command addService
38+
+ parameters
39+
+ string address
40+
+ string serviceUuid
41+
+ returns
42+
+ # An identifier that uniquely represents this service.
43+
+ string id
44+
+
45+
+ # Removes the service respresented by |id| from the peripheral with |address|.
46+
+ command removeService
47+
+ parameters
48+
+ string address
49+
+ string id
50+
+
51+
# Event for when a GATT operation of |type| to the peripheral with |address|
52+
# happened.
53+
event gattOperationReceived
54+
```
55+
356
## Roll protocol to r1438564 — _2025-03-27T04:30:05.000Z_
4-
###### Diff: [`432dff0...27b50e6`](https://github.com/ChromeDevTools/devtools-protocol/compare/432dff0...27b50e6)
57+
###### Diff: [`432dff0...028dc50`](https://github.com/ChromeDevTools/devtools-protocol/compare/432dff0...028dc50)
558

659
```diff
760
@@ browser_protocol.pdl:10554 @@ experimental domain Storage

json/browser_protocol.json

Lines changed: 46 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1583,7 +1583,8 @@
15831583
"SignatureInputHeaderMissingRequiredParameters",
15841584
"ValidationFailedSignatureExpired",
15851585
"ValidationFailedInvalidLength",
1586-
"ValidationFailedSignatureMismatch"
1586+
"ValidationFailedSignatureMismatch",
1587+
"ValidationFailedIntegrityMismatch"
15871588
]
15881589
},
15891590
{
@@ -1682,6 +1683,13 @@
16821683
"name": "signatureBase",
16831684
"type": "string"
16841685
},
1686+
{
1687+
"name": "integrityAssertions",
1688+
"type": "array",
1689+
"items": {
1690+
"type": "string"
1691+
}
1692+
},
16851693
{
16861694
"name": "request",
16871695
"$ref": "AffectedRequest"
@@ -14022,7 +14030,8 @@
1402214030
"SamePartyFromCrossPartyContext",
1402314031
"NameValuePairExceedsMaxSize",
1402414032
"PortMismatch",
14025-
"SchemeMismatch"
14033+
"SchemeMismatch",
14034+
"AnonymousContext"
1402614035
]
1402714036
},
1402814037
{
@@ -28002,6 +28011,41 @@
2800228011
"type": "integer"
2800328012
}
2800428013
]
28014+
},
28015+
{
28016+
"name": "addService",
28017+
"description": "Adds a service with |uuid| to the peripheral with |address|.",
28018+
"parameters": [
28019+
{
28020+
"name": "address",
28021+
"type": "string"
28022+
},
28023+
{
28024+
"name": "serviceUuid",
28025+
"type": "string"
28026+
}
28027+
],
28028+
"returns": [
28029+
{
28030+
"name": "id",
28031+
"description": "An identifier that uniquely represents this service.",
28032+
"type": "string"
28033+
}
28034+
]
28035+
},
28036+
{
28037+
"name": "removeService",
28038+
"description": "Removes the service respresented by |id| from the peripheral with |address|.",
28039+
"parameters": [
28040+
{
28041+
"name": "address",
28042+
"type": "string"
28043+
},
28044+
{
28045+
"name": "id",
28046+
"type": "string"
28047+
}
28048+
]
2800528049
}
2800628050
],
2800728051
"events": [

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.1438564",
3+
"version": "0.0.1439209",
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: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -823,6 +823,7 @@ experimental domain Audits
823823
ValidationFailedSignatureExpired
824824
ValidationFailedInvalidLength
825825
ValidationFailedSignatureMismatch
826+
ValidationFailedIntegrityMismatch
826827

827828
# Details for issues around "Attribution Reporting API" usage.
828829
# Explainer: https://github.com/WICG/attribution-reporting-api
@@ -859,6 +860,7 @@ experimental domain Audits
859860
properties
860861
SRIMessageSignatureError error
861862
string signatureBase
863+
array of string integrityAssertions
862864
AffectedRequest request
863865

864866
type GenericIssueErrorType extends string
@@ -6640,6 +6642,8 @@ domain Network
66406642
PortMismatch
66416643
# The cookie's source scheme value does not match the request origin's scheme.
66426644
SchemeMismatch
6645+
# Unpartitioned cookie access from an anonymous context was blocked.
6646+
AnonymousContext
66436647

66446648
# Types of reasons why a cookie should have been blocked by 3PCD but is exempted for the request.
66456649
experimental type CookieExemptionReason extends string
@@ -13303,6 +13307,21 @@ experimental domain BluetoothEmulation
1330313307
GATTOperationType type
1330413308
integer code
1330513309

13310+
# Adds a service with |uuid| to the peripheral with |address|.
13311+
command addService
13312+
parameters
13313+
string address
13314+
string serviceUuid
13315+
returns
13316+
# An identifier that uniquely represents this service.
13317+
string id
13318+
13319+
# Removes the service respresented by |id| from the peripheral with |address|.
13320+
command removeService
13321+
parameters
13322+
string address
13323+
string id
13324+
1330613325
# Event for when a GATT operation of |type| to the peripheral with |address|
1330713326
# happened.
1330813327
event gattOperationReceived

types/protocol-mapping.d.ts

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5311,6 +5311,20 @@ export namespace ProtocolMapping {
53115311
paramsType: [Protocol.BluetoothEmulation.SimulateGATTOperationResponseRequest];
53125312
returnType: void;
53135313
};
5314+
/**
5315+
* Adds a service with |uuid| to the peripheral with |address|.
5316+
*/
5317+
'BluetoothEmulation.addService': {
5318+
paramsType: [Protocol.BluetoothEmulation.AddServiceRequest];
5319+
returnType: Protocol.BluetoothEmulation.AddServiceResponse;
5320+
};
5321+
/**
5322+
* Removes the service respresented by |id| from the peripheral with |address|.
5323+
*/
5324+
'BluetoothEmulation.removeService': {
5325+
paramsType: [Protocol.BluetoothEmulation.RemoveServiceRequest];
5326+
returnType: void;
5327+
};
53145328
}
53155329
}
53165330

types/protocol-proxy-api.d.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4534,6 +4534,16 @@ export namespace ProtocolProxyApi {
45344534
*/
45354535
simulateGATTOperationResponse(params: Protocol.BluetoothEmulation.SimulateGATTOperationResponseRequest): Promise<void>;
45364536

4537+
/**
4538+
* Adds a service with |uuid| to the peripheral with |address|.
4539+
*/
4540+
addService(params: Protocol.BluetoothEmulation.AddServiceRequest): Promise<Protocol.BluetoothEmulation.AddServiceResponse>;
4541+
4542+
/**
4543+
* Removes the service respresented by |id| from the peripheral with |address|.
4544+
*/
4545+
removeService(params: Protocol.BluetoothEmulation.RemoveServiceRequest): Promise<void>;
4546+
45374547
/**
45384548
* Event for when a GATT operation of |type| to the peripheral with |address|
45394549
* happened.

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

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4938,6 +4938,16 @@ export namespace ProtocolTestsProxyApi {
49384938
*/
49394939
simulateGATTOperationResponse(params: Protocol.BluetoothEmulation.SimulateGATTOperationResponseRequest): Promise<{id: number, result: void, sessionId: string}>;
49404940

4941+
/**
4942+
* Adds a service with |uuid| to the peripheral with |address|.
4943+
*/
4944+
addService(params: Protocol.BluetoothEmulation.AddServiceRequest): Promise<{id: number, result: Protocol.BluetoothEmulation.AddServiceResponse, sessionId: string}>;
4945+
4946+
/**
4947+
* Removes the service respresented by |id| from the peripheral with |address|.
4948+
*/
4949+
removeService(params: Protocol.BluetoothEmulation.RemoveServiceRequest): Promise<{id: number, result: void, sessionId: string}>;
4950+
49414951
/**
49424952
* Event for when a GATT operation of |type| to the peripheral with |address|
49434953
* happened.

types/protocol.d.ts

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3540,7 +3540,7 @@ export namespace Protocol {
35403540

35413541
export type SharedDictionaryError = ('UseErrorCrossOriginNoCorsRequest' | 'UseErrorDictionaryLoadFailure' | 'UseErrorMatchingDictionaryNotUsed' | 'UseErrorUnexpectedContentDictionaryHeader' | 'WriteErrorCossOriginNoCorsRequest' | 'WriteErrorDisallowedBySettings' | 'WriteErrorExpiredResponse' | 'WriteErrorFeatureDisabled' | 'WriteErrorInsufficientResources' | 'WriteErrorInvalidMatchField' | 'WriteErrorInvalidStructuredHeader' | 'WriteErrorNavigationRequest' | 'WriteErrorNoMatchField' | 'WriteErrorNonListMatchDestField' | 'WriteErrorNonSecureContext' | 'WriteErrorNonStringIdField' | 'WriteErrorNonStringInMatchDestList' | 'WriteErrorNonStringMatchField' | 'WriteErrorNonTokenTypeField' | 'WriteErrorRequestAborted' | 'WriteErrorShuttingDown' | 'WriteErrorTooLongIdField' | 'WriteErrorUnsupportedType');
35423542

3543-
export type SRIMessageSignatureError = ('MissingSignatureHeader' | 'MissingSignatureInputHeader' | 'InvalidSignatureHeader' | 'InvalidSignatureInputHeader' | 'SignatureHeaderValueIsNotByteSequence' | 'SignatureHeaderValueIsParameterized' | 'SignatureHeaderValueIsIncorrectLength' | 'SignatureInputHeaderMissingLabel' | 'SignatureInputHeaderValueNotInnerList' | 'SignatureInputHeaderValueMissingComponents' | 'SignatureInputHeaderInvalidComponentType' | 'SignatureInputHeaderInvalidComponentName' | 'SignatureInputHeaderInvalidHeaderComponentParameter' | 'SignatureInputHeaderInvalidDerivedComponentParameter' | 'SignatureInputHeaderKeyIdLength' | 'SignatureInputHeaderInvalidParameter' | 'SignatureInputHeaderMissingRequiredParameters' | 'ValidationFailedSignatureExpired' | 'ValidationFailedInvalidLength' | 'ValidationFailedSignatureMismatch');
3543+
export type SRIMessageSignatureError = ('MissingSignatureHeader' | 'MissingSignatureInputHeader' | 'InvalidSignatureHeader' | 'InvalidSignatureInputHeader' | 'SignatureHeaderValueIsNotByteSequence' | 'SignatureHeaderValueIsParameterized' | 'SignatureHeaderValueIsIncorrectLength' | 'SignatureInputHeaderMissingLabel' | 'SignatureInputHeaderValueNotInnerList' | 'SignatureInputHeaderValueMissingComponents' | 'SignatureInputHeaderInvalidComponentType' | 'SignatureInputHeaderInvalidComponentName' | 'SignatureInputHeaderInvalidHeaderComponentParameter' | 'SignatureInputHeaderInvalidDerivedComponentParameter' | 'SignatureInputHeaderKeyIdLength' | 'SignatureInputHeaderInvalidParameter' | 'SignatureInputHeaderMissingRequiredParameters' | 'ValidationFailedSignatureExpired' | 'ValidationFailedInvalidLength' | 'ValidationFailedSignatureMismatch' | 'ValidationFailedIntegrityMismatch');
35443544

35453545
/**
35463546
* Details for issues around "Attribution Reporting API" usage.
@@ -3582,6 +3582,7 @@ export namespace Protocol {
35823582
export interface SRIMessageSignatureIssueDetails {
35833583
error: SRIMessageSignatureError;
35843584
signatureBase: string;
3585+
integrityAssertions: string[];
35853586
request: AffectedRequest;
35863587
}
35873588

@@ -11321,7 +11322,7 @@ export namespace Protocol {
1132111322
/**
1132211323
* Types of reasons why a cookie may not be sent with a request.
1132311324
*/
11324-
export type CookieBlockedReason = ('SecureOnly' | 'NotOnPath' | 'DomainMismatch' | 'SameSiteStrict' | 'SameSiteLax' | 'SameSiteUnspecifiedTreatedAsLax' | 'SameSiteNoneInsecure' | 'UserPreferences' | 'ThirdPartyPhaseout' | 'ThirdPartyBlockedInFirstPartySet' | 'UnknownError' | 'SchemefulSameSiteStrict' | 'SchemefulSameSiteLax' | 'SchemefulSameSiteUnspecifiedTreatedAsLax' | 'SamePartyFromCrossPartyContext' | 'NameValuePairExceedsMaxSize' | 'PortMismatch' | 'SchemeMismatch');
11325+
export type CookieBlockedReason = ('SecureOnly' | 'NotOnPath' | 'DomainMismatch' | 'SameSiteStrict' | 'SameSiteLax' | 'SameSiteUnspecifiedTreatedAsLax' | 'SameSiteNoneInsecure' | 'UserPreferences' | 'ThirdPartyPhaseout' | 'ThirdPartyBlockedInFirstPartySet' | 'UnknownError' | 'SchemefulSameSiteStrict' | 'SchemefulSameSiteLax' | 'SchemefulSameSiteUnspecifiedTreatedAsLax' | 'SamePartyFromCrossPartyContext' | 'NameValuePairExceedsMaxSize' | 'PortMismatch' | 'SchemeMismatch' | 'AnonymousContext');
1132511326

1132611327
/**
1132711328
* Types of reasons why a cookie should have been blocked by 3PCD but is exempted for the request.
@@ -19570,6 +19571,23 @@ export namespace Protocol {
1957019571
code: integer;
1957119572
}
1957219573

19574+
export interface AddServiceRequest {
19575+
address: string;
19576+
serviceUuid: string;
19577+
}
19578+
19579+
export interface AddServiceResponse {
19580+
/**
19581+
* An identifier that uniquely represents this service.
19582+
*/
19583+
id: string;
19584+
}
19585+
19586+
export interface RemoveServiceRequest {
19587+
address: string;
19588+
id: string;
19589+
}
19590+
1957319591
/**
1957419592
* Event for when a GATT operation of |type| to the peripheral with |address|
1957519593
* happened.

0 commit comments

Comments
 (0)