Skip to content

Commit

Permalink
Roll protocol to r1254350
Browse files Browse the repository at this point in the history
  • Loading branch information
devtools-bot committed Jan 31, 2024
1 parent 97a9147 commit 0abedd4
Show file tree
Hide file tree
Showing 8 changed files with 46 additions and 21 deletions.
41 changes: 26 additions & 15 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,32 @@


## Roll protocol to r1254350 — _2024-01-31T04:26:07.000Z_
###### Diff: [`97a9147...ea7de74`](https://github.com/ChromeDevTools/devtools-protocol/compare/`97a9147...ea7de74`)

```diff
@@ browser_protocol.pdl:6273 @@ domain Network
# Response to a requestIntercepted with an authChallenge. Must not be set otherwise.
optional AuthChallengeResponse authChallengeResponse

- # Deletes browser cookies with matching name and url or domain/path/partitionKey pair.
+ # Deletes browser cookies with matching name and url or domain/path pair.
command deleteCookies
parameters
# Name of the cookies to remove.
@@ -6285,9 +6285,6 @@ domain Network
optional string domain
# If specified, deletes only cookies with the exact path.
optional string path
- # If specified, deletes only cookies with the the given name and partitionKey where domain
- # matches provided URL.
- optional string partitionKey

# Disables network tracking, prevents network events from being sent to the client.
command disable
```

## Roll protocol to r1253724 — _2024-01-30T04:25:31.000Z_
###### Diff: [`fcda9c0...896638e`](https://github.com/ChromeDevTools/devtools-protocol/compare/`fcda9c0...896638e`)
###### Diff: [`fcda9c0...97a9147`](https://github.com/ChromeDevTools/devtools-protocol/compare/`fcda9c0...97a9147`)

```diff
@@ browser_protocol.pdl:5991 @@ domain Network
Expand Down Expand Up @@ -11057,18 +11082,4 @@ index bd277eb..09c420e 100644
- experimental boolean hasExtraInfo
# Frame identifier.
optional Page.FrameId frameId
```

## Roll protocol to r932485 — _2021-10-18T12:15:24.000Z_
###### Diff: [`204c97a...ed35fe7`](https://github.com/ChromeDevTools/devtools-protocol/compare/`204c97a...ed35fe7`)

```diff
@@ browser_protocol.pdl:7907 @@ domain Page
ContentWebUSB
ContentMediaSession
ContentMediaSessionService
+ ContentMediaPlay

# See components/back_forward_cache/back_forward_cache_disable.h for explanations.
EmbedderPopupBlockerTabHelper
```
8 changes: 7 additions & 1 deletion json/browser_protocol.json
Original file line number Diff line number Diff line change
Expand Up @@ -13674,7 +13674,7 @@
},
{
"name": "deleteCookies",
"description": "Deletes browser cookies with matching name and url or domain/path pair.",
"description": "Deletes browser cookies with matching name and url or domain/path/partitionKey pair.",
"parameters": [
{
"name": "name",
Expand All @@ -13698,6 +13698,12 @@
"description": "If specified, deletes only cookies with the exact path.",
"optional": true,
"type": "string"
},
{
"name": "partitionKey",
"description": "If specified, deletes only cookies with the the given name and partitionKey where domain\nmatches provided URL.",
"optional": true,
"type": "string"
}
]
},
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.1253724",
"version": "0.0.1254350",
"description": "The Chrome DevTools Protocol JSON",
"repository": "https://github.com/ChromeDevTools/devtools-protocol",
"author": "The Chromium Authors",
Expand Down
5 changes: 4 additions & 1 deletion pdl/browser_protocol.pdl
Original file line number Diff line number Diff line change
Expand Up @@ -6273,7 +6273,7 @@ domain Network
# Response to a requestIntercepted with an authChallenge. Must not be set otherwise.
optional AuthChallengeResponse authChallengeResponse

# Deletes browser cookies with matching name and url or domain/path pair.
# Deletes browser cookies with matching name and url or domain/path/partitionKey pair.
command deleteCookies
parameters
# Name of the cookies to remove.
Expand All @@ -6285,6 +6285,9 @@ domain Network
optional string domain
# If specified, deletes only cookies with the exact path.
optional string path
# If specified, deletes only cookies with the the given name and partitionKey where domain
# matches provided URL.
optional string partitionKey

# Disables network tracking, prevents network events from being sent to the client.
command disable
Expand Down
2 changes: 1 addition & 1 deletion types/protocol-mapping.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3200,7 +3200,7 @@ export namespace ProtocolMapping {
returnType: void;
};
/**
* Deletes browser cookies with matching name and url or domain/path pair.
* Deletes browser cookies with matching name and url or domain/path/partitionKey pair.
*/
'Network.deleteCookies': {
paramsType: [Protocol.Network.DeleteCookiesRequest];
Expand Down
2 changes: 1 addition & 1 deletion types/protocol-proxy-api.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2281,7 +2281,7 @@ export namespace ProtocolProxyApi {
continueInterceptedRequest(params: Protocol.Network.ContinueInterceptedRequestRequest): Promise<void>;

/**
* Deletes browser cookies with matching name and url or domain/path pair.
* Deletes browser cookies with matching name and url or domain/path/partitionKey pair.
*/
deleteCookies(params: Protocol.Network.DeleteCookiesRequest): Promise<void>;

Expand Down
2 changes: 1 addition & 1 deletion types/protocol-tests-proxy-api.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2417,7 +2417,7 @@ export namespace ProtocolTestsProxyApi {
continueInterceptedRequest(params: Protocol.Network.ContinueInterceptedRequestRequest): Promise<void>;

/**
* Deletes browser cookies with matching name and url or domain/path pair.
* Deletes browser cookies with matching name and url or domain/path/partitionKey pair.
*/
deleteCookies(params: Protocol.Network.DeleteCookiesRequest): Promise<void>;

Expand Down
5 changes: 5 additions & 0 deletions types/protocol.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11136,6 +11136,11 @@ export namespace Protocol {
* If specified, deletes only cookies with the exact path.
*/
path?: string;
/**
* If specified, deletes only cookies with the the given name and partitionKey where domain
* matches provided URL.
*/
partitionKey?: string;
}

export interface EmulateNetworkConditionsRequest {
Expand Down

0 comments on commit 0abedd4

Please sign in to comment.