Skip to content

Commit

Permalink
Roll protocol to r1402036
Browse files Browse the repository at this point in the history
  • Loading branch information
devtools-bot committed Jan 4, 2025
1 parent 1f97d3a commit 9d48b99
Show file tree
Hide file tree
Showing 8 changed files with 98 additions and 2 deletions.
28 changes: 27 additions & 1 deletion changelog.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,33 @@


## Roll protocol to r1402036 — _2025-01-04T04:28:29.000Z_
###### Diff: [`1f97d3a...a10871b`](https://github.com/ChromeDevTools/devtools-protocol/compare/1f97d3a...a10871b)

```diff
@@ browser_protocol.pdl:7639 @@ domain Network
returns
LoadNetworkResourcePageResult resource

+ # Sets Controls for third-party cookie access
+ # Page reload is required before the new cookie bahavior will be observed
+ experimental command setCookieControls
+ parameters
+ # Whether 3pc restriction is enabled.
+ boolean enableThirdPartyCookieRestriction
+
+ # Whether 3pc grace period exception should be enabled; false by default.
+ boolean disableThirdPartyCookieMetadata
+
+ # Whether 3pc heuristics exceptions should be enabled; false by default.
+ boolean disableThirdPartyCookieHeuristics
+
# This domain provides various functionality related to drawing atop the inspected page.
experimental domain Overlay
depends on DOM
```

## Roll protocol to r1400418 — _2024-12-27T04:28:57.000Z_
###### Diff: [`6abdabb...3c1e769`](https://github.com/ChromeDevTools/devtools-protocol/compare/6abdabb...3c1e769)
###### Diff: [`6abdabb...1f97d3a`](https://github.com/ChromeDevTools/devtools-protocol/compare/6abdabb...1f97d3a)

```diff
@@ browser_protocol.pdl:984 @@ experimental domain Audits
Expand Down
22 changes: 22 additions & 0 deletions json/browser_protocol.json
Original file line number Diff line number Diff line change
Expand Up @@ -15309,6 +15309,28 @@
"$ref": "LoadNetworkResourcePageResult"
}
]
},
{
"name": "setCookieControls",
"description": "Sets Controls for third-party cookie access\nPage reload is required before the new cookie bahavior will be observed",
"experimental": true,
"parameters": [
{
"name": "enableThirdPartyCookieRestriction",
"description": "Whether 3pc restriction is enabled.",
"type": "boolean"
},
{
"name": "disableThirdPartyCookieMetadata",
"description": "Whether 3pc grace period exception should be enabled; false by default.",
"type": "boolean"
},
{
"name": "disableThirdPartyCookieHeuristics",
"description": "Whether 3pc heuristics exceptions should be enabled; false by default.",
"type": "boolean"
}
]
}
],
"events": [
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.1400418",
"version": "0.0.1402036",
"description": "The Chrome DevTools Protocol JSON",
"repository": "https://github.com/ChromeDevTools/devtools-protocol",
"author": "The Chromium Authors",
Expand Down
13 changes: 13 additions & 0 deletions pdl/browser_protocol.pdl
Original file line number Diff line number Diff line change
Expand Up @@ -7639,6 +7639,19 @@ domain Network
returns
LoadNetworkResourcePageResult resource

# Sets Controls for third-party cookie access
# Page reload is required before the new cookie bahavior will be observed
experimental command setCookieControls
parameters
# Whether 3pc restriction is enabled.
boolean enableThirdPartyCookieRestriction

# Whether 3pc grace period exception should be enabled; false by default.
boolean disableThirdPartyCookieMetadata

# Whether 3pc heuristics exceptions should be enabled; false by default.
boolean disableThirdPartyCookieHeuristics

# This domain provides various functionality related to drawing atop the inspected page.
experimental domain Overlay
depends on DOM
Expand Down
8 changes: 8 additions & 0 deletions types/protocol-mapping.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3601,6 +3601,14 @@ export namespace ProtocolMapping {
paramsType: [Protocol.Network.LoadNetworkResourceRequest];
returnType: Protocol.Network.LoadNetworkResourceResponse;
};
/**
* Sets Controls for third-party cookie access
* Page reload is required before the new cookie bahavior will be observed
*/
'Network.setCookieControls': {
paramsType: [Protocol.Network.SetCookieControlsRequest];
returnType: void;
};
/**
* Disables domain notifications.
*/
Expand Down
6 changes: 6 additions & 0 deletions types/protocol-proxy-api.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2581,6 +2581,12 @@ export namespace ProtocolProxyApi {
*/
loadNetworkResource(params: Protocol.Network.LoadNetworkResourceRequest): Promise<Protocol.Network.LoadNetworkResourceResponse>;

/**
* Sets Controls for third-party cookie access
* Page reload is required before the new cookie bahavior will be observed
*/
setCookieControls(params: Protocol.Network.SetCookieControlsRequest): Promise<void>;

/**
* Fired when data chunk was received over the network.
*/
Expand Down
6 changes: 6 additions & 0 deletions types/protocol-tests-proxy-api.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2723,6 +2723,12 @@ export namespace ProtocolTestsProxyApi {
*/
loadNetworkResource(params: Protocol.Network.LoadNetworkResourceRequest): Promise<{id: number, result: Protocol.Network.LoadNetworkResourceResponse, sessionId: string}>;

/**
* Sets Controls for third-party cookie access
* Page reload is required before the new cookie bahavior will be observed
*/
setCookieControls(params: Protocol.Network.SetCookieControlsRequest): Promise<{id: number, result: void, sessionId: string}>;

/**
* Fired when data chunk was received over the network.
*/
Expand Down
15 changes: 15 additions & 0 deletions types/protocol.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12093,6 +12093,21 @@ export namespace Protocol {
resource: LoadNetworkResourcePageResult;
}

export interface SetCookieControlsRequest {
/**
* Whether 3pc restriction is enabled.
*/
enableThirdPartyCookieRestriction: boolean;
/**
* Whether 3pc grace period exception should be enabled; false by default.
*/
disableThirdPartyCookieMetadata: boolean;
/**
* Whether 3pc heuristics exceptions should be enabled; false by default.
*/
disableThirdPartyCookieHeuristics: boolean;
}

/**
* Fired when data chunk was received over the network.
*/
Expand Down

0 comments on commit 9d48b99

Please sign in to comment.