devtools-protocol 0.0.1400418 → 0.0.1402036

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.
@@ -15309,6 +15309,28 @@
15309
15309
  "$ref": "LoadNetworkResourcePageResult"
15310
15310
  }
15311
15311
  ]
15312
+ },
15313
+ {
15314
+ "name": "setCookieControls",
15315
+ "description": "Sets Controls for third-party cookie access\nPage reload is required before the new cookie bahavior will be observed",
15316
+ "experimental": true,
15317
+ "parameters": [
15318
+ {
15319
+ "name": "enableThirdPartyCookieRestriction",
15320
+ "description": "Whether 3pc restriction is enabled.",
15321
+ "type": "boolean"
15322
+ },
15323
+ {
15324
+ "name": "disableThirdPartyCookieMetadata",
15325
+ "description": "Whether 3pc grace period exception should be enabled; false by default.",
15326
+ "type": "boolean"
15327
+ },
15328
+ {
15329
+ "name": "disableThirdPartyCookieHeuristics",
15330
+ "description": "Whether 3pc heuristics exceptions should be enabled; false by default.",
15331
+ "type": "boolean"
15332
+ }
15333
+ ]
15312
15334
  }
15313
15335
  ],
15314
15336
  "events": [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devtools-protocol",
3
- "version": "0.0.1400418",
3
+ "version": "0.0.1402036",
4
4
  "description": "The Chrome DevTools Protocol JSON",
5
5
  "repository": "https://github.com/ChromeDevTools/devtools-protocol",
6
6
  "author": "The Chromium Authors",
@@ -7639,6 +7639,19 @@ domain Network
7639
7639
  returns
7640
7640
  LoadNetworkResourcePageResult resource
7641
7641
 
7642
+ # Sets Controls for third-party cookie access
7643
+ # Page reload is required before the new cookie bahavior will be observed
7644
+ experimental command setCookieControls
7645
+ parameters
7646
+ # Whether 3pc restriction is enabled.
7647
+ boolean enableThirdPartyCookieRestriction
7648
+
7649
+ # Whether 3pc grace period exception should be enabled; false by default.
7650
+ boolean disableThirdPartyCookieMetadata
7651
+
7652
+ # Whether 3pc heuristics exceptions should be enabled; false by default.
7653
+ boolean disableThirdPartyCookieHeuristics
7654
+
7642
7655
  # This domain provides various functionality related to drawing atop the inspected page.
7643
7656
  experimental domain Overlay
7644
7657
  depends on DOM
@@ -3601,6 +3601,14 @@ export namespace ProtocolMapping {
3601
3601
  paramsType: [Protocol.Network.LoadNetworkResourceRequest];
3602
3602
  returnType: Protocol.Network.LoadNetworkResourceResponse;
3603
3603
  };
3604
+ /**
3605
+ * Sets Controls for third-party cookie access
3606
+ * Page reload is required before the new cookie bahavior will be observed
3607
+ */
3608
+ 'Network.setCookieControls': {
3609
+ paramsType: [Protocol.Network.SetCookieControlsRequest];
3610
+ returnType: void;
3611
+ };
3604
3612
  /**
3605
3613
  * Disables domain notifications.
3606
3614
  */
@@ -2581,6 +2581,12 @@ export namespace ProtocolProxyApi {
2581
2581
  */
2582
2582
  loadNetworkResource(params: Protocol.Network.LoadNetworkResourceRequest): Promise<Protocol.Network.LoadNetworkResourceResponse>;
2583
2583
 
2584
+ /**
2585
+ * Sets Controls for third-party cookie access
2586
+ * Page reload is required before the new cookie bahavior will be observed
2587
+ */
2588
+ setCookieControls(params: Protocol.Network.SetCookieControlsRequest): Promise<void>;
2589
+
2584
2590
  /**
2585
2591
  * Fired when data chunk was received over the network.
2586
2592
  */
@@ -2723,6 +2723,12 @@ export namespace ProtocolTestsProxyApi {
2723
2723
  */
2724
2724
  loadNetworkResource(params: Protocol.Network.LoadNetworkResourceRequest): Promise<{id: number, result: Protocol.Network.LoadNetworkResourceResponse, sessionId: string}>;
2725
2725
 
2726
+ /**
2727
+ * Sets Controls for third-party cookie access
2728
+ * Page reload is required before the new cookie bahavior will be observed
2729
+ */
2730
+ setCookieControls(params: Protocol.Network.SetCookieControlsRequest): Promise<{id: number, result: void, sessionId: string}>;
2731
+
2726
2732
  /**
2727
2733
  * Fired when data chunk was received over the network.
2728
2734
  */
@@ -12093,6 +12093,21 @@ export namespace Protocol {
12093
12093
  resource: LoadNetworkResourcePageResult;
12094
12094
  }
12095
12095
 
12096
+ export interface SetCookieControlsRequest {
12097
+ /**
12098
+ * Whether 3pc restriction is enabled.
12099
+ */
12100
+ enableThirdPartyCookieRestriction: boolean;
12101
+ /**
12102
+ * Whether 3pc grace period exception should be enabled; false by default.
12103
+ */
12104
+ disableThirdPartyCookieMetadata: boolean;
12105
+ /**
12106
+ * Whether 3pc heuristics exceptions should be enabled; false by default.
12107
+ */
12108
+ disableThirdPartyCookieHeuristics: boolean;
12109
+ }
12110
+
12096
12111
  /**
12097
12112
  * Fired when data chunk was received over the network.
12098
12113
  */