Skip to content

Commit 4183867

Browse files
committed
Roll protocol to r1386619
1 parent 78587ee commit 4183867

File tree

6 files changed

+122
-17
lines changed

6 files changed

+122
-17
lines changed

changelog.md

Lines changed: 44 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,50 @@
11

22

3+
## Roll protocol to r1386619 — _2024-11-22T04:29:55.000Z_
4+
###### Diff: [`78587ee...8ca1971`](https://github.com/ChromeDevTools/devtools-protocol/compare/78587ee...8ca1971)
5+
6+
```diff
7+
@@ browser_protocol.pdl:543 @@ experimental domain Audits
8+
SetCookie
9+
ReadCookie
10+
11+
+ # Represents the category of insight that a cookie issue falls under.
12+
+ type InsightType extends string
13+
+ enum
14+
+ # Cookie domain has an entry in third-party cookie migration readiness
15+
+ # list:
16+
+ # https://github.com/privacysandbox/privacy-sandbox-dev-support/blob/main/3pc-migration-readiness.md
17+
+ GitHubResource
18+
+ # Cookie is exempted due to a grace period:
19+
+ # https://developers.google.com/privacy-sandbox/cookies/temporary-exceptions/grace-period
20+
+ GracePeriod
21+
+ # Cookie is exempted due a heuristics-based exemptiuon:
22+
+ # https://developers.google.com/privacy-sandbox/cookies/temporary-exceptions/heuristics-based-exception
23+
+ Heuristics
24+
+
25+
+ # Information about the suggested solution to a cookie issue.
26+
+ type CookieIssueInsight extends object
27+
+ properties
28+
+ InsightType type
29+
+ # Link to table entry in third-party cookie migration readiness list.
30+
+ optional string tableEntryUrl
31+
+
32+
# This information is currently necessary, as the front-end has a difficult
33+
# time finding a specific cookie. With this, we can convey specific error
34+
# information without the cookie.
35+
@@ -562,6 +583,8 @@ experimental domain Audits
36+
optional string siteForCookies
37+
optional string cookieUrl
38+
optional AffectedRequest request
39+
+ # The recommended solution to the issue.
40+
+ optional CookieIssueInsight insight
41+
42+
type MixedContentResolutionStatus extends string
43+
enum
44+
```
45+
346
## Roll protocol to r1383960 — _2024-11-16T04:30:17.000Z_
4-
###### Diff: [`0270ad8...d30a124`](https://github.com/ChromeDevTools/devtools-protocol/compare/0270ad8...d30a124)
47+
###### Diff: [`0270ad8...78587ee`](https://github.com/ChromeDevTools/devtools-protocol/compare/0270ad8...78587ee)
548

649
```diff
750
@@ browser_protocol.pdl:8130 @@ domain Page
@@ -12188,18 +12231,4 @@ index 18cf0c7..8e43695 100644
1218812231
- ContentMediaSession
1218912232
ContentMediaSessionService
1219012233
ContentScreenReader
12191-
```
12192-
12193-
## Roll protocol to r1007616 — _2022-05-25T23:15:13.000Z_
12194-
###### Diff: [`7e4a41a...82c45d0`](https://github.com/ChromeDevTools/devtools-protocol/compare/7e4a41a...82c45d0)
12195-
12196-
```diff
12197-
@@ browser_protocol.pdl:6999 @@ domain Page
12198-
ch-device-memory
12199-
ch-downlink
12200-
ch-ect
12201-
- ch-partitioned-cookies
12202-
ch-prefers-color-scheme
12203-
ch-rtt
12204-
ch-save-data
1220512234
```

json/browser_protocol.json

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1082,6 +1082,33 @@
10821082
"ReadCookie"
10831083
]
10841084
},
1085+
{
1086+
"id": "InsightType",
1087+
"description": "Represents the category of insight that a cookie issue falls under.",
1088+
"type": "string",
1089+
"enum": [
1090+
"GitHubResource",
1091+
"GracePeriod",
1092+
"Heuristics"
1093+
]
1094+
},
1095+
{
1096+
"id": "CookieIssueInsight",
1097+
"description": "Information about the suggested solution to a cookie issue.",
1098+
"type": "object",
1099+
"properties": [
1100+
{
1101+
"name": "type",
1102+
"$ref": "InsightType"
1103+
},
1104+
{
1105+
"name": "tableEntryUrl",
1106+
"description": "Link to table entry in third-party cookie migration readiness list.",
1107+
"optional": true,
1108+
"type": "string"
1109+
}
1110+
]
1111+
},
10851112
{
10861113
"id": "CookieIssueDetails",
10871114
"description": "This information is currently necessary, as the front-end has a difficult\ntime finding a specific cookie. With this, we can convey specific error\ninformation without the cookie.",
@@ -1131,6 +1158,12 @@
11311158
"name": "request",
11321159
"optional": true,
11331160
"$ref": "AffectedRequest"
1161+
},
1162+
{
1163+
"name": "insight",
1164+
"description": "The recommended solution to the issue.",
1165+
"optional": true,
1166+
"$ref": "CookieIssueInsight"
11341167
}
11351168
]
11361169
},

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.1383960",
3+
"version": "0.0.1386619",
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: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -543,6 +543,27 @@ experimental domain Audits
543543
SetCookie
544544
ReadCookie
545545

546+
# Represents the category of insight that a cookie issue falls under.
547+
type InsightType extends string
548+
enum
549+
# Cookie domain has an entry in third-party cookie migration readiness
550+
# list:
551+
# https://github.com/privacysandbox/privacy-sandbox-dev-support/blob/main/3pc-migration-readiness.md
552+
GitHubResource
553+
# Cookie is exempted due to a grace period:
554+
# https://developers.google.com/privacy-sandbox/cookies/temporary-exceptions/grace-period
555+
GracePeriod
556+
# Cookie is exempted due a heuristics-based exemptiuon:
557+
# https://developers.google.com/privacy-sandbox/cookies/temporary-exceptions/heuristics-based-exception
558+
Heuristics
559+
560+
# Information about the suggested solution to a cookie issue.
561+
type CookieIssueInsight extends object
562+
properties
563+
InsightType type
564+
# Link to table entry in third-party cookie migration readiness list.
565+
optional string tableEntryUrl
566+
546567
# This information is currently necessary, as the front-end has a difficult
547568
# time finding a specific cookie. With this, we can convey specific error
548569
# information without the cookie.
@@ -562,6 +583,8 @@ experimental domain Audits
562583
optional string siteForCookies
563584
optional string cookieUrl
564585
optional AffectedRequest request
586+
# The recommended solution to the issue.
587+
optional CookieIssueInsight insight
565588

566589
type MixedContentResolutionStatus extends string
567590
enum

scripts/inspector_protocol

Submodule inspector_protocol updated from f43f751 to 0c3002e

types/protocol.d.ts

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3323,6 +3323,22 @@ export namespace Protocol {
33233323

33243324
export type CookieOperation = ('SetCookie' | 'ReadCookie');
33253325

3326+
/**
3327+
* Represents the category of insight that a cookie issue falls under.
3328+
*/
3329+
export type InsightType = ('GitHubResource' | 'GracePeriod' | 'Heuristics');
3330+
3331+
/**
3332+
* Information about the suggested solution to a cookie issue.
3333+
*/
3334+
export interface CookieIssueInsight {
3335+
type: InsightType;
3336+
/**
3337+
* Link to table entry in third-party cookie migration readiness list.
3338+
*/
3339+
tableEntryUrl?: string;
3340+
}
3341+
33263342
/**
33273343
* This information is currently necessary, as the front-end has a difficult
33283344
* time finding a specific cookie. With this, we can convey specific error
@@ -3347,6 +3363,10 @@ export namespace Protocol {
33473363
siteForCookies?: string;
33483364
cookieUrl?: string;
33493365
request?: AffectedRequest;
3366+
/**
3367+
* The recommended solution to the issue.
3368+
*/
3369+
insight?: CookieIssueInsight;
33503370
}
33513371

33523372
export type MixedContentResolutionStatus = ('MixedContentBlocked' | 'MixedContentAutomaticallyUpgraded' | 'MixedContentWarning');

0 commit comments

Comments
 (0)