devtools-protocol 0.0.1383410 → 0.0.1386619
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 -0
- package/package.json +1 -1
- package/pdl/browser_protocol.pdl +24 -0
- 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
|
},
|
@@ -17262,6 +17295,7 @@
|
|
17262
17295
|
"controlled-frame",
|
17263
17296
|
"cross-origin-isolated",
|
17264
17297
|
"deferred-fetch",
|
17298
|
+
"deferred-fetch-minimal",
|
17265
17299
|
"digital-credentials-get",
|
17266
17300
|
"direct-sockets",
|
17267
17301
|
"direct-sockets-private",
|
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
|
@@ -8130,6 +8153,7 @@ domain Page
|
|
8130
8153
|
controlled-frame
|
8131
8154
|
cross-origin-isolated
|
8132
8155
|
deferred-fetch
|
8156
|
+
deferred-fetch-minimal
|
8133
8157
|
digital-credentials-get
|
8134
8158
|
direct-sockets
|
8135
8159
|
direct-sockets-private
|
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');
|
@@ -13473,7 +13493,7 @@ export namespace Protocol {
|
|
13473
13493
|
* All Permissions Policy features. This enum should match the one defined
|
13474
13494
|
* in third_party/blink/renderer/core/permissions_policy/permissions_policy_features.json5.
|
13475
13495
|
*/
|
13476
|
-
export type PermissionsPolicyFeature = ('accelerometer' | 'all-screens-capture' | 'ambient-light-sensor' | 'attribution-reporting' | 'autoplay' | 'bluetooth' | 'browsing-topics' | 'camera' | 'captured-surface-control' | 'ch-dpr' | 'ch-device-memory' | 'ch-downlink' | 'ch-ect' | 'ch-prefers-color-scheme' | 'ch-prefers-reduced-motion' | 'ch-prefers-reduced-transparency' | 'ch-rtt' | 'ch-save-data' | 'ch-ua' | 'ch-ua-arch' | 'ch-ua-bitness' | 'ch-ua-platform' | 'ch-ua-model' | 'ch-ua-mobile' | 'ch-ua-form-factors' | 'ch-ua-full-version' | 'ch-ua-full-version-list' | 'ch-ua-platform-version' | 'ch-ua-wow64' | 'ch-viewport-height' | 'ch-viewport-width' | 'ch-width' | 'clipboard-read' | 'clipboard-write' | 'compute-pressure' | 'controlled-frame' | 'cross-origin-isolated' | 'deferred-fetch' | 'digital-credentials-get' | 'direct-sockets' | 'direct-sockets-private' | 'display-capture' | 'document-domain' | 'encrypted-media' | 'execution-while-out-of-viewport' | 'execution-while-not-rendered' | 'fenced-unpartitioned-storage-read' | 'focus-without-user-activation' | 'fullscreen' | 'frobulate' | 'gamepad' | 'geolocation' | 'gyroscope' | 'hid' | 'identity-credentials-get' | 'idle-detection' | 'interest-cohort' | 'join-ad-interest-group' | 'keyboard-map' | 'local-fonts' | 'magnetometer' | 'media-playback-while-not-visible' | 'microphone' | 'midi' | 'otp-credentials' | 'payment' | 'picture-in-picture' | 'popins' | 'private-aggregation' | 'private-state-token-issuance' | 'private-state-token-redemption' | 'publickey-credentials-create' | 'publickey-credentials-get' | 'run-ad-auction' | 'screen-wake-lock' | 'serial' | 'shared-autofill' | 'shared-storage' | 'shared-storage-select-url' | 'smart-card' | 'speaker-selection' | 'storage-access' | 'sub-apps' | 'sync-xhr' | 'unload' | 'usb' | 'usb-unrestricted' | 'vertical-scroll' | 'web-app-installation' | 'web-printing' | 'web-share' | 'window-management' | 'xr-spatial-tracking');
|
13496
|
+
export type PermissionsPolicyFeature = ('accelerometer' | 'all-screens-capture' | 'ambient-light-sensor' | 'attribution-reporting' | 'autoplay' | 'bluetooth' | 'browsing-topics' | 'camera' | 'captured-surface-control' | 'ch-dpr' | 'ch-device-memory' | 'ch-downlink' | 'ch-ect' | 'ch-prefers-color-scheme' | 'ch-prefers-reduced-motion' | 'ch-prefers-reduced-transparency' | 'ch-rtt' | 'ch-save-data' | 'ch-ua' | 'ch-ua-arch' | 'ch-ua-bitness' | 'ch-ua-platform' | 'ch-ua-model' | 'ch-ua-mobile' | 'ch-ua-form-factors' | 'ch-ua-full-version' | 'ch-ua-full-version-list' | 'ch-ua-platform-version' | 'ch-ua-wow64' | 'ch-viewport-height' | 'ch-viewport-width' | 'ch-width' | 'clipboard-read' | 'clipboard-write' | 'compute-pressure' | 'controlled-frame' | 'cross-origin-isolated' | 'deferred-fetch' | 'deferred-fetch-minimal' | 'digital-credentials-get' | 'direct-sockets' | 'direct-sockets-private' | 'display-capture' | 'document-domain' | 'encrypted-media' | 'execution-while-out-of-viewport' | 'execution-while-not-rendered' | 'fenced-unpartitioned-storage-read' | 'focus-without-user-activation' | 'fullscreen' | 'frobulate' | 'gamepad' | 'geolocation' | 'gyroscope' | 'hid' | 'identity-credentials-get' | 'idle-detection' | 'interest-cohort' | 'join-ad-interest-group' | 'keyboard-map' | 'local-fonts' | 'magnetometer' | 'media-playback-while-not-visible' | 'microphone' | 'midi' | 'otp-credentials' | 'payment' | 'picture-in-picture' | 'popins' | 'private-aggregation' | 'private-state-token-issuance' | 'private-state-token-redemption' | 'publickey-credentials-create' | 'publickey-credentials-get' | 'run-ad-auction' | 'screen-wake-lock' | 'serial' | 'shared-autofill' | 'shared-storage' | 'shared-storage-select-url' | 'smart-card' | 'speaker-selection' | 'storage-access' | 'sub-apps' | 'sync-xhr' | 'unload' | 'usb' | 'usb-unrestricted' | 'vertical-scroll' | 'web-app-installation' | 'web-printing' | 'web-share' | 'window-management' | 'xr-spatial-tracking');
|
13477
13497
|
|
13478
13498
|
/**
|
13479
13499
|
* Reason for a permissions policy feature to be disabled.
|