devtools-protocol 0.0.974996 → 0.0.975298
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 +10 -10
- package/package.json +1 -1
- package/pdl/browser_protocol.pdl +9 -9
- package/types/protocol.d.ts +9 -9
@@ -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",
|
@@ -1003,7 +1003,7 @@
|
|
1003
1003
|
]
|
1004
1004
|
},
|
1005
1005
|
{
|
1006
|
-
"id": "
|
1006
|
+
"id": "CookieOperation",
|
1007
1007
|
"type": "string",
|
1008
1008
|
"enum": [
|
1009
1009
|
"SetCookie",
|
@@ -1011,7 +1011,7 @@
|
|
1011
1011
|
]
|
1012
1012
|
},
|
1013
1013
|
{
|
1014
|
-
"id": "
|
1014
|
+
"id": "CookieIssueDetails",
|
1015
1015
|
"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
1016
|
"type": "object",
|
1017
1017
|
"properties": [
|
@@ -1030,20 +1030,20 @@
|
|
1030
1030
|
"name": "cookieWarningReasons",
|
1031
1031
|
"type": "array",
|
1032
1032
|
"items": {
|
1033
|
-
"$ref": "
|
1033
|
+
"$ref": "CookieWarningReason"
|
1034
1034
|
}
|
1035
1035
|
},
|
1036
1036
|
{
|
1037
1037
|
"name": "cookieExclusionReasons",
|
1038
1038
|
"type": "array",
|
1039
1039
|
"items": {
|
1040
|
-
"$ref": "
|
1040
|
+
"$ref": "CookieExclusionReason"
|
1041
1041
|
}
|
1042
1042
|
},
|
1043
1043
|
{
|
1044
1044
|
"name": "operation",
|
1045
1045
|
"description": "Optionally identifies the site-for-cookies and the cookie url, which\nmay be used by the front-end as additional context.",
|
1046
|
-
"$ref": "
|
1046
|
+
"$ref": "CookieOperation"
|
1047
1047
|
},
|
1048
1048
|
{
|
1049
1049
|
"name": "siteForCookies",
|
@@ -1641,7 +1641,7 @@
|
|
1641
1641
|
"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
1642
|
"type": "string",
|
1643
1643
|
"enum": [
|
1644
|
-
"
|
1644
|
+
"CookieIssue",
|
1645
1645
|
"MixedContentIssue",
|
1646
1646
|
"BlockedByResponseIssue",
|
1647
1647
|
"HeavyAdIssue",
|
@@ -1665,9 +1665,9 @@
|
|
1665
1665
|
"type": "object",
|
1666
1666
|
"properties": [
|
1667
1667
|
{
|
1668
|
-
"name": "
|
1668
|
+
"name": "cookieIssueDetails",
|
1669
1669
|
"optional": true,
|
1670
|
-
"$ref": "
|
1670
|
+
"$ref": "CookieIssueDetails"
|
1671
1671
|
},
|
1672
1672
|
{
|
1673
1673
|
"name": "mixedContentIssueDetails",
|
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
|
@@ -491,7 +491,7 @@ experimental domain Audits
|
|
491
491
|
WarnSameSiteLaxCrossDowngradeStrict
|
492
492
|
WarnSameSiteLaxCrossDowngradeLax
|
493
493
|
|
494
|
-
type
|
494
|
+
type CookieOperation extends string
|
495
495
|
enum
|
496
496
|
SetCookie
|
497
497
|
ReadCookie
|
@@ -499,7 +499,7 @@ experimental domain Audits
|
|
499
499
|
# This information is currently necessary, as the front-end has a difficult
|
500
500
|
# time finding a specific cookie. With this, we can convey specific error
|
501
501
|
# information without the cookie.
|
502
|
-
type
|
502
|
+
type CookieIssueDetails extends object
|
503
503
|
properties
|
504
504
|
# If AffectedCookie is not set then rawCookieLine contains the raw
|
505
505
|
# Set-Cookie header string. This hints at a problem where the
|
@@ -507,11 +507,11 @@ experimental domain Audits
|
|
507
507
|
# that no valid cookie could be created.
|
508
508
|
optional AffectedCookie cookie
|
509
509
|
optional string rawCookieLine
|
510
|
-
array of
|
511
|
-
array of
|
510
|
+
array of CookieWarningReason cookieWarningReasons
|
511
|
+
array of CookieExclusionReason cookieExclusionReasons
|
512
512
|
# Optionally identifies the site-for-cookies and the cookie url, which
|
513
513
|
# may be used by the front-end as additional context.
|
514
|
-
|
514
|
+
CookieOperation operation
|
515
515
|
optional string siteForCookies
|
516
516
|
optional string cookieUrl
|
517
517
|
optional AffectedRequest request
|
@@ -814,7 +814,7 @@ experimental domain Audits
|
|
814
814
|
# information about the kind of issue.
|
815
815
|
type InspectorIssueCode extends string
|
816
816
|
enum
|
817
|
-
|
817
|
+
CookieIssue
|
818
818
|
MixedContentIssue
|
819
819
|
BlockedByResponseIssue
|
820
820
|
HeavyAdIssue
|
@@ -836,7 +836,7 @@ experimental domain Audits
|
|
836
836
|
# add a new optional field to this type.
|
837
837
|
type InspectorIssueDetails extends object
|
838
838
|
properties
|
839
|
-
optional
|
839
|
+
optional CookieIssueDetails cookieIssueDetails
|
840
840
|
optional MixedContentIssueDetails mixedContentIssueDetails
|
841
841
|
optional BlockedByResponseIssueDetails blockedByResponseIssueDetails
|
842
842
|
optional HeavyAdIssueDetails heavyAdIssueDetails
|
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');
|
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;
|