devtools-protocol 0.0.1383960 → 0.0.1387216
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/json/browser_protocol.json +34 -2
- package/package.json +1 -1
- package/pdl/browser_protocol.pdl +24 -2
- package/types/protocol.d.ts +21 -1
@@ -1082,6 +1082,33 @@
|
|
1082
1082
|
"ReadCookie"
|
1083
1083
|
]
|
1084
1084
|
},
|
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
|
+
},
|
1085
1112
|
{
|
1086
1113
|
"id": "CookieIssueDetails",
|
1087
1114
|
"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 @@
|
|
1131
1158
|
"name": "request",
|
1132
1159
|
"optional": true,
|
1133
1160
|
"$ref": "AffectedRequest"
|
1161
|
+
},
|
1162
|
+
{
|
1163
|
+
"name": "insight",
|
1164
|
+
"description": "The recommended solution to the issue.",
|
1165
|
+
"optional": true,
|
1166
|
+
"$ref": "CookieIssueInsight"
|
1134
1167
|
}
|
1135
1168
|
]
|
1136
1169
|
},
|
@@ -5734,8 +5767,7 @@
|
|
5734
5767
|
"first-line-inherited",
|
5735
5768
|
"scroll-marker",
|
5736
5769
|
"scroll-marker-group",
|
5737
|
-
"scroll-
|
5738
|
-
"scroll-prev-button",
|
5770
|
+
"scroll-button",
|
5739
5771
|
"scrollbar",
|
5740
5772
|
"scrollbar-thumb",
|
5741
5773
|
"scrollbar-button",
|
package/package.json
CHANGED
package/pdl/browser_protocol.pdl
CHANGED
@@ -543,6 +543,27 @@ experimental domain Audits
|
|
543
543
|
SetCookie
|
544
544
|
ReadCookie
|
545
545
|
|
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
|
+
|
546
567
|
# This information is currently necessary, as the front-end has a difficult
|
547
568
|
# time finding a specific cookie. With this, we can convey specific error
|
548
569
|
# information without the cookie.
|
@@ -562,6 +583,8 @@ experimental domain Audits
|
|
562
583
|
optional string siteForCookies
|
563
584
|
optional string cookieUrl
|
564
585
|
optional AffectedRequest request
|
586
|
+
# The recommended solution to the issue.
|
587
|
+
optional CookieIssueInsight insight
|
565
588
|
|
566
589
|
type MixedContentResolutionStatus extends string
|
567
590
|
enum
|
@@ -2726,8 +2749,7 @@ domain DOM
|
|
2726
2749
|
first-line-inherited
|
2727
2750
|
scroll-marker
|
2728
2751
|
scroll-marker-group
|
2729
|
-
scroll-
|
2730
|
-
scroll-prev-button
|
2752
|
+
scroll-button
|
2731
2753
|
scrollbar
|
2732
2754
|
scrollbar-thumb
|
2733
2755
|
scrollbar-button
|
package/types/protocol.d.ts
CHANGED
@@ -3323,6 +3323,22 @@ export namespace Protocol {
|
|
3323
3323
|
|
3324
3324
|
export type CookieOperation = ('SetCookie' | 'ReadCookie');
|
3325
3325
|
|
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
|
+
|
3326
3342
|
/**
|
3327
3343
|
* This information is currently necessary, as the front-end has a difficult
|
3328
3344
|
* time finding a specific cookie. With this, we can convey specific error
|
@@ -3347,6 +3363,10 @@ export namespace Protocol {
|
|
3347
3363
|
siteForCookies?: string;
|
3348
3364
|
cookieUrl?: string;
|
3349
3365
|
request?: AffectedRequest;
|
3366
|
+
/**
|
3367
|
+
* The recommended solution to the issue.
|
3368
|
+
*/
|
3369
|
+
insight?: CookieIssueInsight;
|
3350
3370
|
}
|
3351
3371
|
|
3352
3372
|
export type MixedContentResolutionStatus = ('MixedContentBlocked' | 'MixedContentAutomaticallyUpgraded' | 'MixedContentWarning');
|
@@ -6062,7 +6082,7 @@ export namespace Protocol {
|
|
6062
6082
|
/**
|
6063
6083
|
* Pseudo element type.
|
6064
6084
|
*/
|
6065
|
-
export type PseudoType = ('first-line' | 'first-letter' | 'check' | 'before' | 'after' | 'select-arrow' | 'marker' | 'backdrop' | 'column' | 'selection' | 'search-text' | 'target-text' | 'spelling-error' | 'grammar-error' | 'highlight' | 'first-line-inherited' | 'scroll-marker' | 'scroll-marker-group' | 'scroll-
|
6085
|
+
export type PseudoType = ('first-line' | 'first-letter' | 'check' | 'before' | 'after' | 'select-arrow' | 'marker' | 'backdrop' | 'column' | 'selection' | 'search-text' | 'target-text' | 'spelling-error' | 'grammar-error' | 'highlight' | 'first-line-inherited' | 'scroll-marker' | 'scroll-marker-group' | 'scroll-button' | 'scrollbar' | 'scrollbar-thumb' | 'scrollbar-button' | 'scrollbar-track' | 'scrollbar-track-piece' | 'scrollbar-corner' | 'resizer' | 'input-list-button' | 'view-transition' | 'view-transition-group' | 'view-transition-image-pair' | 'view-transition-old' | 'view-transition-new' | 'placeholder' | 'file-selector-button' | 'details-content' | 'picker');
|
6066
6086
|
|
6067
6087
|
/**
|
6068
6088
|
* Shadow root type.
|