devtools-protocol 0.0.1406504 → 0.0.1409451

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.
@@ -23063,6 +23063,36 @@
23063
23063
  }
23064
23064
  }
23065
23065
  ]
23066
+ },
23067
+ {
23068
+ "name": "getAffectedUrlsForThirdPartyCookieMetadata",
23069
+ "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",
23070
+ "experimental": true,
23071
+ "parameters": [
23072
+ {
23073
+ "name": "firstPartyUrl",
23074
+ "description": "The URL of the page currently being visited.",
23075
+ "type": "string"
23076
+ },
23077
+ {
23078
+ "name": "thirdPartyUrls",
23079
+ "description": "The list of embedded resource URLs from the page.",
23080
+ "type": "array",
23081
+ "items": {
23082
+ "type": "string"
23083
+ }
23084
+ }
23085
+ ],
23086
+ "returns": [
23087
+ {
23088
+ "name": "matchedUrls",
23089
+ "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.",
23090
+ "type": "array",
23091
+ "items": {
23092
+ "type": "string"
23093
+ }
23094
+ }
23095
+ ]
23066
23096
  }
23067
23097
  ],
23068
23098
  "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.1409451",
4
4
  "description": "The Chrome DevTools Protocol JSON",
5
5
  "repository": "https://github.com/ChromeDevTools/devtools-protocol",
6
6
  "author": "The Chromium Authors",
@@ -10985,6 +10985,21 @@ experimental domain Storage
10985
10985
  returns
10986
10986
  array of RelatedWebsiteSet sets
10987
10987
 
10988
+ # Returns the list of URLs from a page and its embedded resources that match
10989
+ # existing grace period URL pattern rules.
10990
+ # https://developers.google.com/privacy-sandbox/cookies/temporary-exceptions/grace-period
10991
+ experimental command getAffectedUrlsForThirdPartyCookieMetadata
10992
+ parameters
10993
+ # The URL of the page currently being visited.
10994
+ string firstPartyUrl
10995
+ # The list of embedded resource URLs from the page.
10996
+ array of string thirdPartyUrls
10997
+
10998
+ returns
10999
+ # Array of matching URLs. If there is a primary pattern match for the first-
11000
+ # party URL, only the first-party URL is returned in the array.
11001
+ array of string matchedUrls
11002
+
10988
11003
  # The SystemInfo domain defines methods and events for querying low-level system information.
10989
11004
  experimental domain SystemInfo
10990
11005
 
@@ -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
  */
@@ -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
  */