Skip to content

Commit

Permalink
Roll protocol to r1281655
Browse files Browse the repository at this point in the history
  • Loading branch information
devtools-bot committed Apr 3, 2024
1 parent a0b1761 commit 5f4d1e6
Show file tree
Hide file tree
Showing 8 changed files with 110 additions and 20 deletions.
52 changes: 33 additions & 19 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,39 @@


## Roll protocol to r1281655 — _2024-04-03T04:26:30.000Z_
###### Diff: [`a0b1761...d2903b6`](https://github.com/ChromeDevTools/devtools-protocol/compare/a0b1761...d2903b6)

```diff
@@ browser_protocol.pdl:6123 @@ domain Network
properties
# The reason the cookie was exempted.
CookieExemptionReason exemptionReason
+ # The string representing this individual cookie as it would appear in the header.
+ string cookieLine
# The cookie object representing the cookie.
Cookie cookie

@@ -6957,6 +6959,16 @@ domain Network
# the response with the corresponding reason.
optional array of ExemptedSetCookieWithReason exemptedCookies

+ # Fired when 103 Early Hints headers is received in addition to the common response.
+ # Not every responseReceived event will have an responseReceivedEarlyHints fired.
+ # Only one responseReceivedEarlyHints may be fired for eached responseReceived event.
+ experimental event responseReceivedEarlyHints
+ parameters
+ # Request identifier. Used to match this information to another responseReceived event.
+ RequestId requestId
+ # Raw response headers as they were received over the wire.
+ Headers headers
+
# Fired exactly once for each Trust Token operation. Depending on
# the type of the operation and whether the operation succeeded or
# failed, the event is fired before the corresponding request was sent
```

## Roll protocol to r1280070 — _2024-03-29T04:26:49.000Z_
###### Diff: [`dce7d35...4832924`](https://github.com/ChromeDevTools/devtools-protocol/compare/dce7d35...4832924)
###### Diff: [`dce7d35...a0b1761`](https://github.com/ChromeDevTools/devtools-protocol/compare/dce7d35...a0b1761)

```diff
@@ browser_protocol.pdl:4159 @@ domain Emulation
Expand Down Expand Up @@ -11583,22 +11615,4 @@ index 09c420e..bd277eb 100644

# Details for issues around "Attribution Reporting API" usage.
# Explainer: https://github.com/WICG/conversion-measurement-api
```

## Roll protocol to r946693 — _2021-11-30T22:15:35.000Z_
###### Diff: [`baf4231...2a18d25`](https://github.com/ChromeDevTools/devtools-protocol/compare/baf4231...2a18d25)

```diff
@@ browser_protocol.pdl:1949 @@ experimental domain Cast
parameters
string sinkName

+ # Starts mirroring the desktop to the sink.
+ command startDesktopMirroring
+ parameters
+ string sinkName
+
# Starts mirroring the tab to the sink.
command startTabMirroring
parameters
```
22 changes: 22 additions & 0 deletions json/browser_protocol.json
Original file line number Diff line number Diff line change
Expand Up @@ -12990,6 +12990,11 @@
"description": "The reason the cookie was exempted.",
"$ref": "CookieExemptionReason"
},
{
"name": "cookieLine",
"description": "The string representing this individual cookie as it would appear in the header.",
"type": "string"
},
{
"name": "cookie",
"description": "The cookie object representing the cookie.",
Expand Down Expand Up @@ -15131,6 +15136,23 @@
}
]
},
{
"name": "responseReceivedEarlyHints",
"description": "Fired when 103 Early Hints headers is received in addition to the common response.\nNot every responseReceived event will have an responseReceivedEarlyHints fired.\nOnly one responseReceivedEarlyHints may be fired for eached responseReceived event.",
"experimental": true,
"parameters": [
{
"name": "requestId",
"description": "Request identifier. Used to match this information to another responseReceived event.",
"$ref": "RequestId"
},
{
"name": "headers",
"description": "Raw response headers as they were received over the wire.",
"$ref": "Headers"
}
]
},
{
"name": "trustTokenOperationDone",
"description": "Fired exactly once for each Trust Token operation. Depending on\nthe type of the operation and whether the operation succeeded or\nfailed, the event is fired before the corresponding request was sent\nor after the response was received.",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "devtools-protocol",
"version": "0.0.1280070",
"version": "0.0.1281655",
"description": "The Chrome DevTools Protocol JSON",
"repository": "https://github.com/ChromeDevTools/devtools-protocol",
"author": "The Chromium Authors",
Expand Down
12 changes: 12 additions & 0 deletions pdl/browser_protocol.pdl
Original file line number Diff line number Diff line change
Expand Up @@ -6123,6 +6123,8 @@ domain Network
properties
# The reason the cookie was exempted.
CookieExemptionReason exemptionReason
# The string representing this individual cookie as it would appear in the header.
string cookieLine
# The cookie object representing the cookie.
Cookie cookie

Expand Down Expand Up @@ -6957,6 +6959,16 @@ domain Network
# the response with the corresponding reason.
optional array of ExemptedSetCookieWithReason exemptedCookies

# Fired when 103 Early Hints headers is received in addition to the common response.
# Not every responseReceived event will have an responseReceivedEarlyHints fired.
# Only one responseReceivedEarlyHints may be fired for eached responseReceived event.
experimental event responseReceivedEarlyHints
parameters
# Request identifier. Used to match this information to another responseReceived event.
RequestId requestId
# Raw response headers as they were received over the wire.
Headers headers

# Fired exactly once for each Trust Token operation. Depending on
# the type of the operation and whether the operation succeeded or
# failed, the event is fired before the corresponding request was sent
Expand Down
6 changes: 6 additions & 0 deletions types/protocol-mapping.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -355,6 +355,12 @@ export namespace ProtocolMapping {
* it, and responseReceivedExtraInfo may be fired before or after responseReceived.
*/
'Network.responseReceivedExtraInfo': [Protocol.Network.ResponseReceivedExtraInfoEvent];
/**
* Fired when 103 Early Hints headers is received in addition to the common response.
* Not every responseReceived event will have an responseReceivedEarlyHints fired.
* Only one responseReceivedEarlyHints may be fired for eached responseReceived event.
*/
'Network.responseReceivedEarlyHints': [Protocol.Network.ResponseReceivedEarlyHintsEvent];
/**
* Fired exactly once for each Trust Token operation. Depending on
* the type of the operation and whether the operation succeeded or
Expand Down
7 changes: 7 additions & 0 deletions types/protocol-proxy-api.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2559,6 +2559,13 @@ export namespace ProtocolProxyApi {
*/
on(event: 'responseReceivedExtraInfo', listener: (params: Protocol.Network.ResponseReceivedExtraInfoEvent) => void): void;

/**
* Fired when 103 Early Hints headers is received in addition to the common response.
* Not every responseReceived event will have an responseReceivedEarlyHints fired.
* Only one responseReceivedEarlyHints may be fired for eached responseReceived event.
*/
on(event: 'responseReceivedEarlyHints', listener: (params: Protocol.Network.ResponseReceivedEarlyHintsEvent) => void): void;

/**
* Fired exactly once for each Trust Token operation. Depending on
* the type of the operation and whether the operation succeeded or
Expand Down
9 changes: 9 additions & 0 deletions types/protocol-tests-proxy-api.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2739,6 +2739,15 @@ export namespace ProtocolTestsProxyApi {
offResponseReceivedExtraInfo(listener: (event: { params: Protocol.Network.ResponseReceivedExtraInfoEvent }) => void): void;
onceResponseReceivedExtraInfo(eventMatcher?: (event: { params: Protocol.Network.ResponseReceivedExtraInfoEvent }) => boolean): Promise<{ params: Protocol.Network.ResponseReceivedExtraInfoEvent }>;

/**
* Fired when 103 Early Hints headers is received in addition to the common response.
* Not every responseReceived event will have an responseReceivedEarlyHints fired.
* Only one responseReceivedEarlyHints may be fired for eached responseReceived event.
*/
onResponseReceivedEarlyHints(listener: (event: { params: Protocol.Network.ResponseReceivedEarlyHintsEvent }) => void): void;
offResponseReceivedEarlyHints(listener: (event: { params: Protocol.Network.ResponseReceivedEarlyHintsEvent }) => void): void;
onceResponseReceivedEarlyHints(eventMatcher?: (event: { params: Protocol.Network.ResponseReceivedEarlyHintsEvent }) => boolean): Promise<{ params: Protocol.Network.ResponseReceivedEarlyHintsEvent }>;

/**
* Fired exactly once for each Trust Token operation. Depending on
* the type of the operation and whether the operation succeeded or
Expand Down
20 changes: 20 additions & 0 deletions types/protocol.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10729,6 +10729,10 @@ export namespace Protocol {
* The reason the cookie was exempted.
*/
exemptionReason: CookieExemptionReason;
/**
* The string representing this individual cookie as it would appear in the header.
*/
cookieLine: string;
/**
* The cookie object representing the cookie.
*/
Expand Down Expand Up @@ -12172,6 +12176,22 @@ export namespace Protocol {
exemptedCookies?: ExemptedSetCookieWithReason[];
}

/**
* Fired when 103 Early Hints headers is received in addition to the common response.
* Not every responseReceived event will have an responseReceivedEarlyHints fired.
* Only one responseReceivedEarlyHints may be fired for eached responseReceived event.
*/
export interface ResponseReceivedEarlyHintsEvent {
/**
* Request identifier. Used to match this information to another responseReceived event.
*/
requestId: RequestId;
/**
* Raw response headers as they were received over the wire.
*/
headers: Headers;
}

export const enum TrustTokenOperationDoneEventStatus {
Ok = 'Ok',
InvalidArgument = 'InvalidArgument',
Expand Down

0 comments on commit 5f4d1e6

Please sign in to comment.