devtools-protocol 0.0.1406504 → 0.0.1410712

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.
@@ -13696,7 +13696,8 @@
13696
13696
  "EnterprisePolicy",
13697
13697
  "StorageAccess",
13698
13698
  "TopLevelStorageAccess",
13699
- "Scheme"
13699
+ "Scheme",
13700
+ "SameSiteNoneCookiesInSandbox"
13700
13701
  ]
13701
13702
  },
13702
13703
  {
@@ -23063,6 +23064,36 @@
23063
23064
  }
23064
23065
  }
23065
23066
  ]
23067
+ },
23068
+ {
23069
+ "name": "getAffectedUrlsForThirdPartyCookieMetadata",
23070
+ "description": "Returns the list of URLs from a page and its embedded resources that match\nexisting grace period URL pattern rules.\nhttps://developers.google.com/privacy-sandbox/cookies/temporary-exceptions/grace-period",
23071
+ "experimental": true,
23072
+ "parameters": [
23073
+ {
23074
+ "name": "firstPartyUrl",
23075
+ "description": "The URL of the page currently being visited.",
23076
+ "type": "string"
23077
+ },
23078
+ {
23079
+ "name": "thirdPartyUrls",
23080
+ "description": "The list of embedded resource URLs from the page.",
23081
+ "type": "array",
23082
+ "items": {
23083
+ "type": "string"
23084
+ }
23085
+ }
23086
+ ],
23087
+ "returns": [
23088
+ {
23089
+ "name": "matchedUrls",
23090
+ "description": "Array of matching URLs. If there is a primary pattern match for the first-\nparty URL, only the first-party URL is returned in the array.",
23091
+ "type": "array",
23092
+ "items": {
23093
+ "type": "string"
23094
+ }
23095
+ }
23096
+ ]
23066
23097
  }
23067
23098
  ],
23068
23099
  "events": [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devtools-protocol",
3
- "version": "0.0.1406504",
3
+ "version": "0.0.1410712",
4
4
  "description": "The Chrome DevTools Protocol JSON",
5
5
  "repository": "https://github.com/ChromeDevTools/devtools-protocol",
6
6
  "author": "The Chromium Authors",
@@ -6495,6 +6495,8 @@ domain Network
6495
6495
  TopLevelStorageAccess
6496
6496
  # The cookie should have been blocked by 3PCD but is exempted by the first-party URL scheme.
6497
6497
  Scheme
6498
+ # The cookie was included due to the 'allow-same-site-none-cookies' value being set in the sandboxing policy.
6499
+ SameSiteNoneCookiesInSandbox
6498
6500
 
6499
6501
  # A cookie which was not stored from a response with the corresponding reason.
6500
6502
  experimental type BlockedSetCookieWithReason extends object
@@ -10985,6 +10987,21 @@ experimental domain Storage
10985
10987
  returns
10986
10988
  array of RelatedWebsiteSet sets
10987
10989
 
10990
+ # Returns the list of URLs from a page and its embedded resources that match
10991
+ # existing grace period URL pattern rules.
10992
+ # https://developers.google.com/privacy-sandbox/cookies/temporary-exceptions/grace-period
10993
+ experimental command getAffectedUrlsForThirdPartyCookieMetadata
10994
+ parameters
10995
+ # The URL of the page currently being visited.
10996
+ string firstPartyUrl
10997
+ # The list of embedded resource URLs from the page.
10998
+ array of string thirdPartyUrls
10999
+
11000
+ returns
11001
+ # Array of matching URLs. If there is a primary pattern match for the first-
11002
+ # party URL, only the first-party URL is returned in the array.
11003
+ array of string matchedUrls
11004
+
10988
11005
  # The SystemInfo domain defines methods and events for querying low-level system information.
10989
11006
  experimental domain SystemInfo
10990
11007
 
@@ -4604,6 +4604,15 @@ export namespace ProtocolMapping {
4604
4604
  paramsType: [];
4605
4605
  returnType: Protocol.Storage.GetRelatedWebsiteSetsResponse;
4606
4606
  };
4607
+ /**
4608
+ * Returns the list of URLs from a page and its embedded resources that match
4609
+ * existing grace period URL pattern rules.
4610
+ * https://developers.google.com/privacy-sandbox/cookies/temporary-exceptions/grace-period
4611
+ */
4612
+ 'Storage.getAffectedUrlsForThirdPartyCookieMetadata': {
4613
+ paramsType: [Protocol.Storage.GetAffectedUrlsForThirdPartyCookieMetadataRequest];
4614
+ returnType: Protocol.Storage.GetAffectedUrlsForThirdPartyCookieMetadataResponse;
4615
+ };
4607
4616
  /**
4608
4617
  * Returns information about the system.
4609
4618
  */
@@ -3671,6 +3671,13 @@ export namespace ProtocolProxyApi {
3671
3671
  */
3672
3672
  getRelatedWebsiteSets(): Promise<Protocol.Storage.GetRelatedWebsiteSetsResponse>;
3673
3673
 
3674
+ /**
3675
+ * Returns the list of URLs from a page and its embedded resources that match
3676
+ * existing grace period URL pattern rules.
3677
+ * https://developers.google.com/privacy-sandbox/cookies/temporary-exceptions/grace-period
3678
+ */
3679
+ getAffectedUrlsForThirdPartyCookieMetadata(params: Protocol.Storage.GetAffectedUrlsForThirdPartyCookieMetadataRequest): Promise<Protocol.Storage.GetAffectedUrlsForThirdPartyCookieMetadataResponse>;
3680
+
3674
3681
  /**
3675
3682
  * A cache's contents have been modified.
3676
3683
  */
@@ -3953,6 +3953,13 @@ export namespace ProtocolTestsProxyApi {
3953
3953
  */
3954
3954
  getRelatedWebsiteSets(): Promise<{id: number, result: Protocol.Storage.GetRelatedWebsiteSetsResponse, sessionId: string}>;
3955
3955
 
3956
+ /**
3957
+ * Returns the list of URLs from a page and its embedded resources that match
3958
+ * existing grace period URL pattern rules.
3959
+ * https://developers.google.com/privacy-sandbox/cookies/temporary-exceptions/grace-period
3960
+ */
3961
+ getAffectedUrlsForThirdPartyCookieMetadata(params: Protocol.Storage.GetAffectedUrlsForThirdPartyCookieMetadataRequest): Promise<{id: number, result: Protocol.Storage.GetAffectedUrlsForThirdPartyCookieMetadataResponse, sessionId: string}>;
3962
+
3956
3963
  /**
3957
3964
  * A cache's contents have been modified.
3958
3965
  */
@@ -11120,7 +11120,7 @@ export namespace Protocol {
11120
11120
  /**
11121
11121
  * Types of reasons why a cookie should have been blocked by 3PCD but is exempted for the request.
11122
11122
  */
11123
- export type CookieExemptionReason = ('None' | 'UserSetting' | 'TPCDMetadata' | 'TPCDDeprecationTrial' | 'TopLevelTPCDDeprecationTrial' | 'TPCDHeuristics' | 'EnterprisePolicy' | 'StorageAccess' | 'TopLevelStorageAccess' | 'Scheme');
11123
+ export type CookieExemptionReason = ('None' | 'UserSetting' | 'TPCDMetadata' | 'TPCDDeprecationTrial' | 'TopLevelTPCDDeprecationTrial' | 'TPCDHeuristics' | 'EnterprisePolicy' | 'StorageAccess' | 'TopLevelStorageAccess' | 'Scheme' | 'SameSiteNoneCookiesInSandbox');
11124
11124
 
11125
11125
  /**
11126
11126
  * A cookie which was not stored from a response with the corresponding reason.
@@ -16614,6 +16614,25 @@ export namespace Protocol {
16614
16614
  sets: RelatedWebsiteSet[];
16615
16615
  }
16616
16616
 
16617
+ export interface GetAffectedUrlsForThirdPartyCookieMetadataRequest {
16618
+ /**
16619
+ * The URL of the page currently being visited.
16620
+ */
16621
+ firstPartyUrl: string;
16622
+ /**
16623
+ * The list of embedded resource URLs from the page.
16624
+ */
16625
+ thirdPartyUrls: string[];
16626
+ }
16627
+
16628
+ export interface GetAffectedUrlsForThirdPartyCookieMetadataResponse {
16629
+ /**
16630
+ * Array of matching URLs. If there is a primary pattern match for the first-
16631
+ * party URL, only the first-party URL is returned in the array.
16632
+ */
16633
+ matchedUrls: string[];
16634
+ }
16635
+
16617
16636
  /**
16618
16637
  * A cache's contents have been modified.
16619
16638
  */