devtools-protocol 0.0.974996 → 0.0.975963
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 +13 -11
- package/package.json +1 -1
- package/pdl/browser_protocol.pdl +11 -9
- package/types/protocol.d.ts +10 -10
@@ -977,7 +977,7 @@
|
|
977
977
|
]
|
978
978
|
},
|
979
979
|
{
|
980
|
-
"id": "
|
980
|
+
"id": "CookieExclusionReason",
|
981
981
|
"type": "string",
|
982
982
|
"enum": [
|
983
983
|
"ExcludeSameSiteUnspecifiedTreatedAsLax",
|
@@ -989,7 +989,7 @@
|
|
989
989
|
]
|
990
990
|
},
|
991
991
|
{
|
992
|
-
"id": "
|
992
|
+
"id": "CookieWarningReason",
|
993
993
|
"type": "string",
|
994
994
|
"enum": [
|
995
995
|
"WarnSameSiteUnspecifiedCrossSiteContext",
|
@@ -999,11 +999,12 @@
|
|
999
999
|
"WarnSameSiteStrictCrossDowngradeStrict",
|
1000
1000
|
"WarnSameSiteStrictCrossDowngradeLax",
|
1001
1001
|
"WarnSameSiteLaxCrossDowngradeStrict",
|
1002
|
-
"WarnSameSiteLaxCrossDowngradeLax"
|
1002
|
+
"WarnSameSiteLaxCrossDowngradeLax",
|
1003
|
+
"WarnAttributeValueExceedsMaxSize"
|
1003
1004
|
]
|
1004
1005
|
},
|
1005
1006
|
{
|
1006
|
-
"id": "
|
1007
|
+
"id": "CookieOperation",
|
1007
1008
|
"type": "string",
|
1008
1009
|
"enum": [
|
1009
1010
|
"SetCookie",
|
@@ -1011,7 +1012,7 @@
|
|
1011
1012
|
]
|
1012
1013
|
},
|
1013
1014
|
{
|
1014
|
-
"id": "
|
1015
|
+
"id": "CookieIssueDetails",
|
1015
1016
|
"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.",
|
1016
1017
|
"type": "object",
|
1017
1018
|
"properties": [
|
@@ -1030,20 +1031,20 @@
|
|
1030
1031
|
"name": "cookieWarningReasons",
|
1031
1032
|
"type": "array",
|
1032
1033
|
"items": {
|
1033
|
-
"$ref": "
|
1034
|
+
"$ref": "CookieWarningReason"
|
1034
1035
|
}
|
1035
1036
|
},
|
1036
1037
|
{
|
1037
1038
|
"name": "cookieExclusionReasons",
|
1038
1039
|
"type": "array",
|
1039
1040
|
"items": {
|
1040
|
-
"$ref": "
|
1041
|
+
"$ref": "CookieExclusionReason"
|
1041
1042
|
}
|
1042
1043
|
},
|
1043
1044
|
{
|
1044
1045
|
"name": "operation",
|
1045
1046
|
"description": "Optionally identifies the site-for-cookies and the cookie url, which\nmay be used by the front-end as additional context.",
|
1046
|
-
"$ref": "
|
1047
|
+
"$ref": "CookieOperation"
|
1047
1048
|
},
|
1048
1049
|
{
|
1049
1050
|
"name": "siteForCookies",
|
@@ -1641,7 +1642,7 @@
|
|
1641
1642
|
"description": "A unique identifier for the type of issue. Each type may use one of the\noptional fields in InspectorIssueDetails to convey more specific\ninformation about the kind of issue.",
|
1642
1643
|
"type": "string",
|
1643
1644
|
"enum": [
|
1644
|
-
"
|
1645
|
+
"CookieIssue",
|
1645
1646
|
"MixedContentIssue",
|
1646
1647
|
"BlockedByResponseIssue",
|
1647
1648
|
"HeavyAdIssue",
|
@@ -1665,9 +1666,9 @@
|
|
1665
1666
|
"type": "object",
|
1666
1667
|
"properties": [
|
1667
1668
|
{
|
1668
|
-
"name": "
|
1669
|
+
"name": "cookieIssueDetails",
|
1669
1670
|
"optional": true,
|
1670
|
-
"$ref": "
|
1671
|
+
"$ref": "CookieIssueDetails"
|
1671
1672
|
},
|
1672
1673
|
{
|
1673
1674
|
"name": "mixedContentIssueDetails",
|
@@ -14107,6 +14108,7 @@
|
|
14107
14108
|
"enum": [
|
14108
14109
|
"rgb",
|
14109
14110
|
"hsl",
|
14111
|
+
"hwb",
|
14110
14112
|
"hex"
|
14111
14113
|
]
|
14112
14114
|
},
|
package/package.json
CHANGED
package/pdl/browser_protocol.pdl
CHANGED
@@ -471,7 +471,7 @@ experimental domain Audits
|
|
471
471
|
properties
|
472
472
|
Page.FrameId frameId
|
473
473
|
|
474
|
-
type
|
474
|
+
type CookieExclusionReason extends string
|
475
475
|
enum
|
476
476
|
ExcludeSameSiteUnspecifiedTreatedAsLax
|
477
477
|
ExcludeSameSiteNoneInsecure
|
@@ -480,7 +480,7 @@ experimental domain Audits
|
|
480
480
|
ExcludeInvalidSameParty
|
481
481
|
ExcludeSamePartyCrossPartyContext
|
482
482
|
|
483
|
-
type
|
483
|
+
type CookieWarningReason extends string
|
484
484
|
enum
|
485
485
|
WarnSameSiteUnspecifiedCrossSiteContext
|
486
486
|
WarnSameSiteNoneInsecure
|
@@ -490,8 +490,9 @@ experimental domain Audits
|
|
490
490
|
WarnSameSiteStrictCrossDowngradeLax
|
491
491
|
WarnSameSiteLaxCrossDowngradeStrict
|
492
492
|
WarnSameSiteLaxCrossDowngradeLax
|
493
|
+
WarnAttributeValueExceedsMaxSize
|
493
494
|
|
494
|
-
type
|
495
|
+
type CookieOperation extends string
|
495
496
|
enum
|
496
497
|
SetCookie
|
497
498
|
ReadCookie
|
@@ -499,7 +500,7 @@ experimental domain Audits
|
|
499
500
|
# This information is currently necessary, as the front-end has a difficult
|
500
501
|
# time finding a specific cookie. With this, we can convey specific error
|
501
502
|
# information without the cookie.
|
502
|
-
type
|
503
|
+
type CookieIssueDetails extends object
|
503
504
|
properties
|
504
505
|
# If AffectedCookie is not set then rawCookieLine contains the raw
|
505
506
|
# Set-Cookie header string. This hints at a problem where the
|
@@ -507,11 +508,11 @@ experimental domain Audits
|
|
507
508
|
# that no valid cookie could be created.
|
508
509
|
optional AffectedCookie cookie
|
509
510
|
optional string rawCookieLine
|
510
|
-
array of
|
511
|
-
array of
|
511
|
+
array of CookieWarningReason cookieWarningReasons
|
512
|
+
array of CookieExclusionReason cookieExclusionReasons
|
512
513
|
# Optionally identifies the site-for-cookies and the cookie url, which
|
513
514
|
# may be used by the front-end as additional context.
|
514
|
-
|
515
|
+
CookieOperation operation
|
515
516
|
optional string siteForCookies
|
516
517
|
optional string cookieUrl
|
517
518
|
optional AffectedRequest request
|
@@ -814,7 +815,7 @@ experimental domain Audits
|
|
814
815
|
# information about the kind of issue.
|
815
816
|
type InspectorIssueCode extends string
|
816
817
|
enum
|
817
|
-
|
818
|
+
CookieIssue
|
818
819
|
MixedContentIssue
|
819
820
|
BlockedByResponseIssue
|
820
821
|
HeavyAdIssue
|
@@ -836,7 +837,7 @@ experimental domain Audits
|
|
836
837
|
# add a new optional field to this type.
|
837
838
|
type InspectorIssueDetails extends object
|
838
839
|
properties
|
839
|
-
optional
|
840
|
+
optional CookieIssueDetails cookieIssueDetails
|
840
841
|
optional MixedContentIssueDetails mixedContentIssueDetails
|
841
842
|
optional BlockedByResponseIssueDetails blockedByResponseIssueDetails
|
842
843
|
optional HeavyAdIssueDetails heavyAdIssueDetails
|
@@ -6540,6 +6541,7 @@ experimental domain Overlay
|
|
6540
6541
|
enum
|
6541
6542
|
rgb
|
6542
6543
|
hsl
|
6544
|
+
hwb
|
6543
6545
|
hex
|
6544
6546
|
|
6545
6547
|
# Configurations for Persistent Grid Highlight
|
package/types/protocol.d.ts
CHANGED
@@ -3071,18 +3071,18 @@ export namespace Protocol {
|
|
3071
3071
|
frameId: Page.FrameId;
|
3072
3072
|
}
|
3073
3073
|
|
3074
|
-
export type
|
3074
|
+
export type CookieExclusionReason = ('ExcludeSameSiteUnspecifiedTreatedAsLax' | 'ExcludeSameSiteNoneInsecure' | 'ExcludeSameSiteLax' | 'ExcludeSameSiteStrict' | 'ExcludeInvalidSameParty' | 'ExcludeSamePartyCrossPartyContext');
|
3075
3075
|
|
3076
|
-
export type
|
3076
|
+
export type CookieWarningReason = ('WarnSameSiteUnspecifiedCrossSiteContext' | 'WarnSameSiteNoneInsecure' | 'WarnSameSiteUnspecifiedLaxAllowUnsafe' | 'WarnSameSiteStrictLaxDowngradeStrict' | 'WarnSameSiteStrictCrossDowngradeStrict' | 'WarnSameSiteStrictCrossDowngradeLax' | 'WarnSameSiteLaxCrossDowngradeStrict' | 'WarnSameSiteLaxCrossDowngradeLax' | 'WarnAttributeValueExceedsMaxSize');
|
3077
3077
|
|
3078
|
-
export type
|
3078
|
+
export type CookieOperation = ('SetCookie' | 'ReadCookie');
|
3079
3079
|
|
3080
3080
|
/**
|
3081
3081
|
* This information is currently necessary, as the front-end has a difficult
|
3082
3082
|
* time finding a specific cookie. With this, we can convey specific error
|
3083
3083
|
* information without the cookie.
|
3084
3084
|
*/
|
3085
|
-
export interface
|
3085
|
+
export interface CookieIssueDetails {
|
3086
3086
|
/**
|
3087
3087
|
* If AffectedCookie is not set then rawCookieLine contains the raw
|
3088
3088
|
* Set-Cookie header string. This hints at a problem where the
|
@@ -3091,13 +3091,13 @@ export namespace Protocol {
|
|
3091
3091
|
*/
|
3092
3092
|
cookie?: AffectedCookie;
|
3093
3093
|
rawCookieLine?: string;
|
3094
|
-
cookieWarningReasons:
|
3095
|
-
cookieExclusionReasons:
|
3094
|
+
cookieWarningReasons: CookieWarningReason[];
|
3095
|
+
cookieExclusionReasons: CookieExclusionReason[];
|
3096
3096
|
/**
|
3097
3097
|
* Optionally identifies the site-for-cookies and the cookie url, which
|
3098
3098
|
* may be used by the front-end as additional context.
|
3099
3099
|
*/
|
3100
|
-
operation:
|
3100
|
+
operation: CookieOperation;
|
3101
3101
|
siteForCookies?: string;
|
3102
3102
|
cookieUrl?: string;
|
3103
3103
|
request?: AffectedRequest;
|
@@ -3354,7 +3354,7 @@ export namespace Protocol {
|
|
3354
3354
|
* optional fields in InspectorIssueDetails to convey more specific
|
3355
3355
|
* information about the kind of issue.
|
3356
3356
|
*/
|
3357
|
-
export type InspectorIssueCode = ('
|
3357
|
+
export type InspectorIssueCode = ('CookieIssue' | 'MixedContentIssue' | 'BlockedByResponseIssue' | 'HeavyAdIssue' | 'ContentSecurityPolicyIssue' | 'SharedArrayBufferIssue' | 'TrustedWebActivityIssue' | 'LowTextContrastIssue' | 'CorsIssue' | 'AttributionReportingIssue' | 'QuirksModeIssue' | 'NavigatorUserAgentIssue' | 'GenericIssue' | 'DeprecationIssue' | 'ClientHintIssue' | 'FederatedAuthRequestIssue');
|
3358
3358
|
|
3359
3359
|
/**
|
3360
3360
|
* This struct holds a list of optional fields with additional information
|
@@ -3362,7 +3362,7 @@ export namespace Protocol {
|
|
3362
3362
|
* add a new optional field to this type.
|
3363
3363
|
*/
|
3364
3364
|
export interface InspectorIssueDetails {
|
3365
|
-
|
3365
|
+
cookieIssueDetails?: CookieIssueDetails;
|
3366
3366
|
mixedContentIssueDetails?: MixedContentIssueDetails;
|
3367
3367
|
blockedByResponseIssueDetails?: BlockedByResponseIssueDetails;
|
3368
3368
|
heavyAdIssueDetails?: HeavyAdIssueDetails;
|
@@ -11515,7 +11515,7 @@ export namespace Protocol {
|
|
11515
11515
|
containerQueryContainerHighlightConfig?: ContainerQueryContainerHighlightConfig;
|
11516
11516
|
}
|
11517
11517
|
|
11518
|
-
export type ColorFormat = ('rgb' | 'hsl' | 'hex');
|
11518
|
+
export type ColorFormat = ('rgb' | 'hsl' | 'hwb' | 'hex');
|
11519
11519
|
|
11520
11520
|
/**
|
11521
11521
|
* Configurations for Persistent Grid Highlight
|