devtools-protocol 0.0.1253004 → 0.0.1254350
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.
@@ -12770,6 +12770,23 @@
|
|
12770
12770
|
"NameValuePairExceedsMaxSize"
|
12771
12771
|
]
|
12772
12772
|
},
|
12773
|
+
{
|
12774
|
+
"id": "CookieExemptionReason",
|
12775
|
+
"description": "Types of reasons why a cookie should have been blocked by 3PCD but is exempted for the request.",
|
12776
|
+
"experimental": true,
|
12777
|
+
"type": "string",
|
12778
|
+
"enum": [
|
12779
|
+
"None",
|
12780
|
+
"UserSetting",
|
12781
|
+
"TPCDMetadata",
|
12782
|
+
"TPCDDeprecationTrial",
|
12783
|
+
"TPCDHeuristics",
|
12784
|
+
"EnterprisePolicy",
|
12785
|
+
"StorageAccess",
|
12786
|
+
"TopLevelStorageAccess",
|
12787
|
+
"BrowserHeuristics"
|
12788
|
+
]
|
12789
|
+
},
|
12773
12790
|
{
|
12774
12791
|
"id": "BlockedSetCookieWithReason",
|
12775
12792
|
"description": "A cookie which was not stored from a response with the corresponding reason.",
|
@@ -12798,23 +12815,47 @@
|
|
12798
12815
|
]
|
12799
12816
|
},
|
12800
12817
|
{
|
12801
|
-
"id": "
|
12802
|
-
"description": "A cookie
|
12818
|
+
"id": "ExemptedSetCookieWithReason",
|
12819
|
+
"description": "A cookie should have been blocked by 3PCD but is exempted and stored from a response with the\ncorresponding reason. A cookie could only have at most one exemption reason.",
|
12820
|
+
"experimental": true,
|
12821
|
+
"type": "object",
|
12822
|
+
"properties": [
|
12823
|
+
{
|
12824
|
+
"name": "exemptionReason",
|
12825
|
+
"description": "The reason the cookie was exempted.",
|
12826
|
+
"$ref": "CookieExemptionReason"
|
12827
|
+
},
|
12828
|
+
{
|
12829
|
+
"name": "cookie",
|
12830
|
+
"description": "The cookie object representing the cookie.",
|
12831
|
+
"$ref": "Cookie"
|
12832
|
+
}
|
12833
|
+
]
|
12834
|
+
},
|
12835
|
+
{
|
12836
|
+
"id": "AssociatedCookie",
|
12837
|
+
"description": "A cookie associated with the request which may or may not be sent with it.\nIncludes the cookies itself and reasons for blocking or exemption.",
|
12803
12838
|
"experimental": true,
|
12804
12839
|
"type": "object",
|
12805
12840
|
"properties": [
|
12841
|
+
{
|
12842
|
+
"name": "cookie",
|
12843
|
+
"description": "The cookie object representing the cookie which was not sent.",
|
12844
|
+
"$ref": "Cookie"
|
12845
|
+
},
|
12806
12846
|
{
|
12807
12847
|
"name": "blockedReasons",
|
12808
|
-
"description": "The reason(s) the cookie was blocked.",
|
12848
|
+
"description": "The reason(s) the cookie was blocked. If empty means the cookie is included.",
|
12809
12849
|
"type": "array",
|
12810
12850
|
"items": {
|
12811
12851
|
"$ref": "CookieBlockedReason"
|
12812
12852
|
}
|
12813
12853
|
},
|
12814
12854
|
{
|
12815
|
-
"name": "
|
12816
|
-
"description": "The cookie
|
12817
|
-
"
|
12855
|
+
"name": "exemptionReason",
|
12856
|
+
"description": "The reason the cookie should have been blocked by 3PCD but is exempted. A cookie could\nonly have at most one exemption reason.",
|
12857
|
+
"optional": true,
|
12858
|
+
"$ref": "CookieExemptionReason"
|
12818
12859
|
}
|
12819
12860
|
]
|
12820
12861
|
},
|
@@ -13633,7 +13674,7 @@
|
|
13633
13674
|
},
|
13634
13675
|
{
|
13635
13676
|
"name": "deleteCookies",
|
13636
|
-
"description": "Deletes browser cookies with matching name and url or domain/path pair.",
|
13677
|
+
"description": "Deletes browser cookies with matching name and url or domain/path/partitionKey pair.",
|
13637
13678
|
"parameters": [
|
13638
13679
|
{
|
13639
13680
|
"name": "name",
|
@@ -13657,6 +13698,12 @@
|
|
13657
13698
|
"description": "If specified, deletes only cookies with the exact path.",
|
13658
13699
|
"optional": true,
|
13659
13700
|
"type": "string"
|
13701
|
+
},
|
13702
|
+
{
|
13703
|
+
"name": "partitionKey",
|
13704
|
+
"description": "If specified, deletes only cookies with the the given name and partitionKey where domain\nmatches provided URL.",
|
13705
|
+
"optional": true,
|
13706
|
+
"type": "string"
|
13660
13707
|
}
|
13661
13708
|
]
|
13662
13709
|
},
|
@@ -14805,10 +14852,10 @@
|
|
14805
14852
|
},
|
14806
14853
|
{
|
14807
14854
|
"name": "associatedCookies",
|
14808
|
-
"description": "A list of cookies potentially associated to the requested URL. This includes both cookies sent with\nthe request and the ones not sent; the latter are distinguished by having
|
14855
|
+
"description": "A list of cookies potentially associated to the requested URL. This includes both cookies sent with\nthe request and the ones not sent; the latter are distinguished by having blockedReasons field set.",
|
14809
14856
|
"type": "array",
|
14810
14857
|
"items": {
|
14811
|
-
"$ref": "
|
14858
|
+
"$ref": "AssociatedCookie"
|
14812
14859
|
}
|
14813
14860
|
},
|
14814
14861
|
{
|
@@ -14886,6 +14933,15 @@
|
|
14886
14933
|
"description": "True if partitioned cookies are enabled, but the partition key is not serializeable to string.",
|
14887
14934
|
"optional": true,
|
14888
14935
|
"type": "boolean"
|
14936
|
+
},
|
14937
|
+
{
|
14938
|
+
"name": "exemptedCookies",
|
14939
|
+
"description": "A list of cookies which should have been blocked by 3PCD but are exempted and stored from\nthe response with the corresponding reason.",
|
14940
|
+
"optional": true,
|
14941
|
+
"type": "array",
|
14942
|
+
"items": {
|
14943
|
+
"$ref": "ExemptedSetCookieWithReason"
|
14944
|
+
}
|
14889
14945
|
}
|
14890
14946
|
]
|
14891
14947
|
},
|
package/package.json
CHANGED
package/pdl/browser_protocol.pdl
CHANGED
@@ -5991,6 +5991,28 @@ domain Network
|
|
5991
5991
|
# RFC6265bis.
|
5992
5992
|
NameValuePairExceedsMaxSize
|
5993
5993
|
|
5994
|
+
# Types of reasons why a cookie should have been blocked by 3PCD but is exempted for the request.
|
5995
|
+
experimental type CookieExemptionReason extends string
|
5996
|
+
enum
|
5997
|
+
# The default value. Cookie with this reason could either be blocked or included.
|
5998
|
+
None
|
5999
|
+
# The cookie should have been blocked by 3PCD but is exempted by explicit user setting.
|
6000
|
+
UserSetting
|
6001
|
+
# The cookie should have been blocked by 3PCD but is exempted by metadata mitigation.
|
6002
|
+
TPCDMetadata
|
6003
|
+
# The cookie should have been blocked by 3PCD but is exempted by Deprecation Trial mitigation.
|
6004
|
+
TPCDDeprecationTrial
|
6005
|
+
# The cookie should have been blocked by 3PCD but is exempted by heuristics mitigation.
|
6006
|
+
TPCDHeuristics
|
6007
|
+
# The cookie should have been blocked by 3PCD but is exempted by Enterprise Policy.
|
6008
|
+
EnterprisePolicy
|
6009
|
+
# The cookie should have been blocked by 3PCD but is exempted by Storage Access API.
|
6010
|
+
StorageAccess
|
6011
|
+
# The cookie should have been blocked by 3PCD but is exempted by Top-level Storage Access API.
|
6012
|
+
TopLevelStorageAccess
|
6013
|
+
# The cookie should have been blocked by 3PCD but is exempted by browser heuristics.
|
6014
|
+
BrowserHeuristics
|
6015
|
+
|
5994
6016
|
# A cookie which was not stored from a response with the corresponding reason.
|
5995
6017
|
experimental type BlockedSetCookieWithReason extends object
|
5996
6018
|
properties
|
@@ -6004,13 +6026,26 @@ domain Network
|
|
6004
6026
|
# errors.
|
6005
6027
|
optional Cookie cookie
|
6006
6028
|
|
6007
|
-
# A cookie
|
6008
|
-
|
6029
|
+
# A cookie should have been blocked by 3PCD but is exempted and stored from a response with the
|
6030
|
+
# corresponding reason. A cookie could only have at most one exemption reason.
|
6031
|
+
experimental type ExemptedSetCookieWithReason extends object
|
6032
|
+
properties
|
6033
|
+
# The reason the cookie was exempted.
|
6034
|
+
CookieExemptionReason exemptionReason
|
6035
|
+
# The cookie object representing the cookie.
|
6036
|
+
Cookie cookie
|
6037
|
+
|
6038
|
+
# A cookie associated with the request which may or may not be sent with it.
|
6039
|
+
# Includes the cookies itself and reasons for blocking or exemption.
|
6040
|
+
experimental type AssociatedCookie extends object
|
6009
6041
|
properties
|
6010
|
-
# The reason(s) the cookie was blocked.
|
6011
|
-
array of CookieBlockedReason blockedReasons
|
6012
6042
|
# The cookie object representing the cookie which was not sent.
|
6013
6043
|
Cookie cookie
|
6044
|
+
# The reason(s) the cookie was blocked. If empty means the cookie is included.
|
6045
|
+
array of CookieBlockedReason blockedReasons
|
6046
|
+
# The reason the cookie should have been blocked by 3PCD but is exempted. A cookie could
|
6047
|
+
# only have at most one exemption reason.
|
6048
|
+
optional CookieExemptionReason exemptionReason
|
6014
6049
|
|
6015
6050
|
# Cookie parameter object
|
6016
6051
|
type CookieParam extends object
|
@@ -6238,7 +6273,7 @@ domain Network
|
|
6238
6273
|
# Response to a requestIntercepted with an authChallenge. Must not be set otherwise.
|
6239
6274
|
optional AuthChallengeResponse authChallengeResponse
|
6240
6275
|
|
6241
|
-
# Deletes browser cookies with matching name and url or domain/path pair.
|
6276
|
+
# Deletes browser cookies with matching name and url or domain/path/partitionKey pair.
|
6242
6277
|
command deleteCookies
|
6243
6278
|
parameters
|
6244
6279
|
# Name of the cookies to remove.
|
@@ -6250,6 +6285,9 @@ domain Network
|
|
6250
6285
|
optional string domain
|
6251
6286
|
# If specified, deletes only cookies with the exact path.
|
6252
6287
|
optional string path
|
6288
|
+
# If specified, deletes only cookies with the the given name and partitionKey where domain
|
6289
|
+
# matches provided URL.
|
6290
|
+
optional string partitionKey
|
6253
6291
|
|
6254
6292
|
# Disables network tracking, prevents network events from being sent to the client.
|
6255
6293
|
command disable
|
@@ -6779,8 +6817,8 @@ domain Network
|
|
6779
6817
|
# Request identifier. Used to match this information to an existing requestWillBeSent event.
|
6780
6818
|
RequestId requestId
|
6781
6819
|
# A list of cookies potentially associated to the requested URL. This includes both cookies sent with
|
6782
|
-
# the request and the ones not sent; the latter are distinguished by having
|
6783
|
-
array of
|
6820
|
+
# the request and the ones not sent; the latter are distinguished by having blockedReasons field set.
|
6821
|
+
array of AssociatedCookie associatedCookies
|
6784
6822
|
# Raw request headers as they will be sent over the wire.
|
6785
6823
|
Headers headers
|
6786
6824
|
# Connection timing information for the request.
|
@@ -6818,6 +6856,9 @@ domain Network
|
|
6818
6856
|
optional string cookiePartitionKey
|
6819
6857
|
# True if partitioned cookies are enabled, but the partition key is not serializeable to string.
|
6820
6858
|
optional boolean cookiePartitionKeyOpaque
|
6859
|
+
# A list of cookies which should have been blocked by 3PCD but are exempted and stored from
|
6860
|
+
# the response with the corresponding reason.
|
6861
|
+
optional array of ExemptedSetCookieWithReason exemptedCookies
|
6821
6862
|
|
6822
6863
|
# Fired exactly once for each Trust Token operation. Depending on
|
6823
6864
|
# the type of the operation and whether the operation succeeded or
|
@@ -3200,7 +3200,7 @@ export namespace ProtocolMapping {
|
|
3200
3200
|
returnType: void;
|
3201
3201
|
};
|
3202
3202
|
/**
|
3203
|
-
* Deletes browser cookies with matching name and url or domain/path pair.
|
3203
|
+
* Deletes browser cookies with matching name and url or domain/path/partitionKey pair.
|
3204
3204
|
*/
|
3205
3205
|
'Network.deleteCookies': {
|
3206
3206
|
paramsType: [Protocol.Network.DeleteCookiesRequest];
|
@@ -2281,7 +2281,7 @@ export namespace ProtocolProxyApi {
|
|
2281
2281
|
continueInterceptedRequest(params: Protocol.Network.ContinueInterceptedRequestRequest): Promise<void>;
|
2282
2282
|
|
2283
2283
|
/**
|
2284
|
-
* Deletes browser cookies with matching name and url or domain/path pair.
|
2284
|
+
* Deletes browser cookies with matching name and url or domain/path/partitionKey pair.
|
2285
2285
|
*/
|
2286
2286
|
deleteCookies(params: Protocol.Network.DeleteCookiesRequest): Promise<void>;
|
2287
2287
|
|
@@ -2417,7 +2417,7 @@ export namespace ProtocolTestsProxyApi {
|
|
2417
2417
|
continueInterceptedRequest(params: Protocol.Network.ContinueInterceptedRequestRequest): Promise<void>;
|
2418
2418
|
|
2419
2419
|
/**
|
2420
|
-
* Deletes browser cookies with matching name and url or domain/path pair.
|
2420
|
+
* Deletes browser cookies with matching name and url or domain/path/partitionKey pair.
|
2421
2421
|
*/
|
2422
2422
|
deleteCookies(params: Protocol.Network.DeleteCookiesRequest): Promise<void>;
|
2423
2423
|
|
package/types/protocol.d.ts
CHANGED
@@ -10592,6 +10592,11 @@ export namespace Protocol {
|
|
10592
10592
|
*/
|
10593
10593
|
export type CookieBlockedReason = ('SecureOnly' | 'NotOnPath' | 'DomainMismatch' | 'SameSiteStrict' | 'SameSiteLax' | 'SameSiteUnspecifiedTreatedAsLax' | 'SameSiteNoneInsecure' | 'UserPreferences' | 'ThirdPartyPhaseout' | 'ThirdPartyBlockedInFirstPartySet' | 'UnknownError' | 'SchemefulSameSiteStrict' | 'SchemefulSameSiteLax' | 'SchemefulSameSiteUnspecifiedTreatedAsLax' | 'SamePartyFromCrossPartyContext' | 'NameValuePairExceedsMaxSize');
|
10594
10594
|
|
10595
|
+
/**
|
10596
|
+
* Types of reasons why a cookie should have been blocked by 3PCD but is exempted for the request.
|
10597
|
+
*/
|
10598
|
+
export type CookieExemptionReason = ('None' | 'UserSetting' | 'TPCDMetadata' | 'TPCDDeprecationTrial' | 'TPCDHeuristics' | 'EnterprisePolicy' | 'StorageAccess' | 'TopLevelStorageAccess' | 'BrowserHeuristics');
|
10599
|
+
|
10595
10600
|
/**
|
10596
10601
|
* A cookie which was not stored from a response with the corresponding reason.
|
10597
10602
|
*/
|
@@ -10614,17 +10619,38 @@ export namespace Protocol {
|
|
10614
10619
|
}
|
10615
10620
|
|
10616
10621
|
/**
|
10617
|
-
* A cookie
|
10622
|
+
* A cookie should have been blocked by 3PCD but is exempted and stored from a response with the
|
10623
|
+
* corresponding reason. A cookie could only have at most one exemption reason.
|
10618
10624
|
*/
|
10619
|
-
export interface
|
10625
|
+
export interface ExemptedSetCookieWithReason {
|
10620
10626
|
/**
|
10621
|
-
* The reason
|
10627
|
+
* The reason the cookie was exempted.
|
10622
10628
|
*/
|
10623
|
-
|
10629
|
+
exemptionReason: CookieExemptionReason;
|
10630
|
+
/**
|
10631
|
+
* The cookie object representing the cookie.
|
10632
|
+
*/
|
10633
|
+
cookie: Cookie;
|
10634
|
+
}
|
10635
|
+
|
10636
|
+
/**
|
10637
|
+
* A cookie associated with the request which may or may not be sent with it.
|
10638
|
+
* Includes the cookies itself and reasons for blocking or exemption.
|
10639
|
+
*/
|
10640
|
+
export interface AssociatedCookie {
|
10624
10641
|
/**
|
10625
10642
|
* The cookie object representing the cookie which was not sent.
|
10626
10643
|
*/
|
10627
10644
|
cookie: Cookie;
|
10645
|
+
/**
|
10646
|
+
* The reason(s) the cookie was blocked. If empty means the cookie is included.
|
10647
|
+
*/
|
10648
|
+
blockedReasons: CookieBlockedReason[];
|
10649
|
+
/**
|
10650
|
+
* The reason the cookie should have been blocked by 3PCD but is exempted. A cookie could
|
10651
|
+
* only have at most one exemption reason.
|
10652
|
+
*/
|
10653
|
+
exemptionReason?: CookieExemptionReason;
|
10628
10654
|
}
|
10629
10655
|
|
10630
10656
|
/**
|
@@ -11110,6 +11136,11 @@ export namespace Protocol {
|
|
11110
11136
|
* If specified, deletes only cookies with the exact path.
|
11111
11137
|
*/
|
11112
11138
|
path?: string;
|
11139
|
+
/**
|
11140
|
+
* If specified, deletes only cookies with the the given name and partitionKey where domain
|
11141
|
+
* matches provided URL.
|
11142
|
+
*/
|
11143
|
+
partitionKey?: string;
|
11113
11144
|
}
|
11114
11145
|
|
11115
11146
|
export interface EmulateNetworkConditionsRequest {
|
@@ -11954,9 +11985,9 @@ export namespace Protocol {
|
|
11954
11985
|
requestId: RequestId;
|
11955
11986
|
/**
|
11956
11987
|
* A list of cookies potentially associated to the requested URL. This includes both cookies sent with
|
11957
|
-
* the request and the ones not sent; the latter are distinguished by having
|
11988
|
+
* the request and the ones not sent; the latter are distinguished by having blockedReasons field set.
|
11958
11989
|
*/
|
11959
|
-
associatedCookies:
|
11990
|
+
associatedCookies: AssociatedCookie[];
|
11960
11991
|
/**
|
11961
11992
|
* Raw request headers as they will be sent over the wire.
|
11962
11993
|
*/
|
@@ -12020,6 +12051,11 @@ export namespace Protocol {
|
|
12020
12051
|
* True if partitioned cookies are enabled, but the partition key is not serializeable to string.
|
12021
12052
|
*/
|
12022
12053
|
cookiePartitionKeyOpaque?: boolean;
|
12054
|
+
/**
|
12055
|
+
* A list of cookies which should have been blocked by 3PCD but are exempted and stored from
|
12056
|
+
* the response with the corresponding reason.
|
12057
|
+
*/
|
12058
|
+
exemptedCookies?: ExemptedSetCookieWithReason[];
|
12023
12059
|
}
|
12024
12060
|
|
12025
12061
|
export const enum TrustTokenOperationDoneEventStatus {
|