devtools-protocol 0.0.1225305 → 0.0.1227218

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.
@@ -12625,6 +12625,7 @@
12625
12625
  "name": "sameParty",
12626
12626
  "description": "True if cookie is SameParty.",
12627
12627
  "experimental": true,
12628
+ "deprecated": true,
12628
12629
  "type": "boolean"
12629
12630
  },
12630
12631
  {
@@ -17679,23 +17680,6 @@
17679
17680
  }
17680
17681
  ]
17681
17682
  },
17682
- {
17683
- "name": "getCookies",
17684
- "description": "Returns all browser cookies for the page and all of its subframes. Depending\non the backend support, will return detailed cookie information in the\n`cookies` field.",
17685
- "experimental": true,
17686
- "deprecated": true,
17687
- "redirect": "Network",
17688
- "returns": [
17689
- {
17690
- "name": "cookies",
17691
- "description": "Array of cookie objects.",
17692
- "type": "array",
17693
- "items": {
17694
- "$ref": "Network.Cookie"
17695
- }
17696
- }
17697
- ]
17698
- },
17699
17683
  {
17700
17684
  "name": "getFrameTree",
17701
17685
  "description": "Returns present frame tree structure.",
@@ -17998,6 +17982,13 @@
17998
17982
  "experimental": true,
17999
17983
  "optional": true,
18000
17984
  "type": "boolean"
17985
+ },
17986
+ {
17987
+ "name": "generateDocumentOutline",
17988
+ "description": "Whether or not to embed the document outline into the PDF.",
17989
+ "experimental": true,
17990
+ "optional": true,
17991
+ "type": "boolean"
18001
17992
  }
18002
17993
  ],
18003
17994
  "returns": [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devtools-protocol",
3
- "version": "0.0.1225305",
3
+ "version": "0.0.1227218",
4
4
  "description": "The Chrome DevTools Protocol JSON",
5
5
  "repository": "https://github.com/ChromeDevTools/devtools-protocol",
6
6
  "author": "The Chromium Authors",
@@ -5827,7 +5827,7 @@ domain Network
5827
5827
  # Cookie Priority
5828
5828
  experimental CookiePriority priority
5829
5829
  # True if cookie is SameParty.
5830
- experimental boolean sameParty
5830
+ experimental deprecated boolean sameParty
5831
5831
  # Cookie source scheme type.
5832
5832
  experimental CookieSourceScheme sourceScheme
5833
5833
  # Cookie source port. Valid values are {-1, [1, 65535]}, -1 indicates an unspecified port.
@@ -8155,16 +8155,6 @@ domain Page
8155
8155
  # as an ad. Only sent if frame is labelled as an ad and id is available.
8156
8156
  optional AdScriptId adScriptId
8157
8157
 
8158
- # Returns all browser cookies for the page and all of its subframes. Depending
8159
- # on the backend support, will return detailed cookie information in the
8160
- # `cookies` field.
8161
- experimental deprecated command getCookies
8162
- # Use 'Network.getCookies' instead
8163
- redirect Network
8164
- returns
8165
- # Array of cookie objects.
8166
- array of Network.Cookie cookies
8167
-
8168
8158
  # Returns present frame tree structure.
8169
8159
  command getFrameTree
8170
8160
  returns
@@ -8307,6 +8297,8 @@ domain Page
8307
8297
  ReturnAsStream
8308
8298
  # Whether or not to generate tagged (accessible) PDF. Defaults to embedder choice.
8309
8299
  experimental optional boolean generateTaggedPDF
8300
+ # Whether or not to embed the document outline into the PDF.
8301
+ experimental optional boolean generateDocumentOutline
8310
8302
  returns
8311
8303
  # Base64-encoded pdf data. Empty if |returnAsStream| is specified.
8312
8304
  binary data
@@ -3678,15 +3678,6 @@ export namespace ProtocolMapping {
3678
3678
  paramsType: [Protocol.Page.GetAdScriptIdRequest];
3679
3679
  returnType: Protocol.Page.GetAdScriptIdResponse;
3680
3680
  };
3681
- /**
3682
- * Returns all browser cookies for the page and all of its subframes. Depending
3683
- * on the backend support, will return detailed cookie information in the
3684
- * `cookies` field.
3685
- */
3686
- 'Page.getCookies': {
3687
- paramsType: [];
3688
- returnType: Protocol.Page.GetCookiesResponse;
3689
- };
3690
3681
  /**
3691
3682
  * Returns present frame tree structure.
3692
3683
  */
@@ -2816,13 +2816,6 @@ export namespace ProtocolProxyApi {
2816
2816
 
2817
2817
  getAdScriptId(params: Protocol.Page.GetAdScriptIdRequest): Promise<Protocol.Page.GetAdScriptIdResponse>;
2818
2818
 
2819
- /**
2820
- * Returns all browser cookies for the page and all of its subframes. Depending
2821
- * on the backend support, will return detailed cookie information in the
2822
- * `cookies` field.
2823
- */
2824
- getCookies(): Promise<Protocol.Page.GetCookiesResponse>;
2825
-
2826
2819
  /**
2827
2820
  * Returns present frame tree structure.
2828
2821
  */
@@ -13631,13 +13631,6 @@ export namespace Protocol {
13631
13631
  adScriptId?: AdScriptId;
13632
13632
  }
13633
13633
 
13634
- export interface GetCookiesResponse {
13635
- /**
13636
- * Array of cookie objects.
13637
- */
13638
- cookies: Network.Cookie[];
13639
- }
13640
-
13641
13634
  export interface GetFrameTreeResponse {
13642
13635
  /**
13643
13636
  * Present frame tree structure.
@@ -13856,6 +13849,10 @@ export namespace Protocol {
13856
13849
  * Whether or not to generate tagged (accessible) PDF. Defaults to embedder choice.
13857
13850
  */
13858
13851
  generateTaggedPDF?: boolean;
13852
+ /**
13853
+ * Whether or not to embed the document outline into the PDF.
13854
+ */
13855
+ generateDocumentOutline?: boolean;
13859
13856
  }
13860
13857
 
13861
13858
  export interface PrintToPDFResponse {