devtools-protocol 0.0.1404580 → 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": [
@@ -23771,6 +23801,18 @@
23771
23801
  "type": "integer"
23772
23802
  }
23773
23803
  ]
23804
+ },
23805
+ {
23806
+ "id": "WindowState",
23807
+ "description": "The state of the target window.",
23808
+ "experimental": true,
23809
+ "type": "string",
23810
+ "enum": [
23811
+ "normal",
23812
+ "minimized",
23813
+ "maximized",
23814
+ "fullscreen"
23815
+ ]
23774
23816
  }
23775
23817
  ],
23776
23818
  "commands": [
@@ -23947,6 +23989,12 @@
23947
23989
  "optional": true,
23948
23990
  "type": "integer"
23949
23991
  },
23992
+ {
23993
+ "name": "windowState",
23994
+ "description": "Frame window state (requires newWindow to be true or headless shell).\nDefault is normal.",
23995
+ "optional": true,
23996
+ "$ref": "WindowState"
23997
+ },
23950
23998
  {
23951
23999
  "name": "browserContextId",
23952
24000
  "description": "The browser context to create the page in.",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devtools-protocol",
3
- "version": "0.0.1404580",
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
 
@@ -11174,6 +11189,14 @@ domain Target
11174
11189
  string host
11175
11190
  integer port
11176
11191
 
11192
+ # The state of the target window.
11193
+ experimental type WindowState extends string
11194
+ enum
11195
+ normal
11196
+ minimized
11197
+ maximized
11198
+ fullscreen
11199
+
11177
11200
  # Activates (focuses) the target.
11178
11201
  command activateTarget
11179
11202
  parameters
@@ -11255,6 +11278,9 @@ domain Target
11255
11278
  optional integer width
11256
11279
  # Frame height in DIP (requires newWindow to be true or headless shell).
11257
11280
  optional integer height
11281
+ # Frame window state (requires newWindow to be true or headless shell).
11282
+ # Default is normal.
11283
+ optional WindowState windowState
11258
11284
  # The browser context to create the page in.
11259
11285
  experimental optional Browser.BrowserContextID browserContextId
11260
11286
  # Whether BeginFrames for this target will be controlled via DevTools (headless shell only,
@@ -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
  */
@@ -17101,6 +17120,11 @@ export namespace Protocol {
17101
17120
  port: integer;
17102
17121
  }
17103
17122
 
17123
+ /**
17124
+ * The state of the target window.
17125
+ */
17126
+ export type WindowState = ('normal' | 'minimized' | 'maximized' | 'fullscreen');
17127
+
17104
17128
  export interface ActivateTargetRequest {
17105
17129
  targetId: TargetID;
17106
17130
  }
@@ -17203,6 +17227,11 @@ export namespace Protocol {
17203
17227
  * Frame height in DIP (requires newWindow to be true or headless shell).
17204
17228
  */
17205
17229
  height?: integer;
17230
+ /**
17231
+ * Frame window state (requires newWindow to be true or headless shell).
17232
+ * Default is normal.
17233
+ */
17234
+ windowState?: WindowState;
17206
17235
  /**
17207
17236
  * The browser context to create the page in.
17208
17237
  */