devtools-protocol 0.0.1226504 → 0.0.1227788

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.
@@ -12262,6 +12262,17 @@
12262
12262
  "unspecifiedReason"
12263
12263
  ]
12264
12264
  },
12265
+ {
12266
+ "id": "ServiceWorkerRouterInfo",
12267
+ "experimental": true,
12268
+ "type": "object",
12269
+ "properties": [
12270
+ {
12271
+ "name": "ruleIdMatched",
12272
+ "type": "integer"
12273
+ }
12274
+ ]
12275
+ },
12265
12276
  {
12266
12277
  "id": "Response",
12267
12278
  "description": "HTTP response data.",
@@ -12352,6 +12363,13 @@
12352
12363
  "optional": true,
12353
12364
  "type": "boolean"
12354
12365
  },
12366
+ {
12367
+ "name": "serviceWorkerRouterInfo",
12368
+ "description": "Infomation about how Service Worker Static Router was used.",
12369
+ "experimental": true,
12370
+ "optional": true,
12371
+ "$ref": "ServiceWorkerRouterInfo"
12372
+ },
12355
12373
  {
12356
12374
  "name": "encodedDataLength",
12357
12375
  "description": "Total number of bytes received for this request so far.",
@@ -12625,6 +12643,7 @@
12625
12643
  "name": "sameParty",
12626
12644
  "description": "True if cookie is SameParty.",
12627
12645
  "experimental": true,
12646
+ "deprecated": true,
12628
12647
  "type": "boolean"
12629
12648
  },
12630
12649
  {
@@ -17679,23 +17698,6 @@
17679
17698
  }
17680
17699
  ]
17681
17700
  },
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
17701
  {
17700
17702
  "name": "getFrameTree",
17701
17703
  "description": "Returns present frame tree structure.",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devtools-protocol",
3
- "version": "0.0.1226504",
3
+ "version": "0.0.1227788",
4
4
  "description": "The Chrome DevTools Protocol JSON",
5
5
  "repository": "https://github.com/ChromeDevTools/devtools-protocol",
6
6
  "author": "The Chromium Authors",
@@ -5679,6 +5679,10 @@ domain Network
5679
5679
  # This value is used when the reason is unknown.
5680
5680
  unspecifiedReason
5681
5681
 
5682
+ experimental type ServiceWorkerRouterInfo extends object
5683
+ properties
5684
+ integer ruleIdMatched
5685
+
5682
5686
  # HTTP response data.
5683
5687
  type Response extends object
5684
5688
  properties
@@ -5712,6 +5716,8 @@ domain Network
5712
5716
  optional boolean fromServiceWorker
5713
5717
  # Specifies that the request was served from the prefetch cache.
5714
5718
  optional boolean fromPrefetchCache
5719
+ # Infomation about how Service Worker Static Router was used.
5720
+ experimental optional ServiceWorkerRouterInfo serviceWorkerRouterInfo
5715
5721
  # Total number of bytes received for this request so far.
5716
5722
  number encodedDataLength
5717
5723
  # Timing information for the given request.
@@ -5827,7 +5833,7 @@ domain Network
5827
5833
  # Cookie Priority
5828
5834
  experimental CookiePriority priority
5829
5835
  # True if cookie is SameParty.
5830
- experimental boolean sameParty
5836
+ experimental deprecated boolean sameParty
5831
5837
  # Cookie source scheme type.
5832
5838
  experimental CookieSourceScheme sourceScheme
5833
5839
  # Cookie source port. Valid values are {-1, [1, 65535]}, -1 indicates an unspecified port.
@@ -8155,16 +8161,6 @@ domain Page
8155
8161
  # as an ad. Only sent if frame is labelled as an ad and id is available.
8156
8162
  optional AdScriptId adScriptId
8157
8163
 
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
8164
  # Returns present frame tree structure.
8169
8165
  command getFrameTree
8170
8166
  returns
@@ -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
  */
@@ -10239,6 +10239,10 @@ export namespace Protocol {
10239
10239
  */
10240
10240
  export type AlternateProtocolUsage = ('alternativeJobWonWithoutRace' | 'alternativeJobWonRace' | 'mainJobWonRace' | 'mappingMissing' | 'broken' | 'dnsAlpnH3JobWonWithoutRace' | 'dnsAlpnH3JobWonRace' | 'unspecifiedReason');
10241
10241
 
10242
+ export interface ServiceWorkerRouterInfo {
10243
+ ruleIdMatched: integer;
10244
+ }
10245
+
10242
10246
  /**
10243
10247
  * HTTP response data.
10244
10248
  */
@@ -10303,6 +10307,10 @@ export namespace Protocol {
10303
10307
  * Specifies that the request was served from the prefetch cache.
10304
10308
  */
10305
10309
  fromPrefetchCache?: boolean;
10310
+ /**
10311
+ * Infomation about how Service Worker Static Router was used.
10312
+ */
10313
+ serviceWorkerRouterInfo?: ServiceWorkerRouterInfo;
10306
10314
  /**
10307
10315
  * Total number of bytes received for this request so far.
10308
10316
  */
@@ -13631,13 +13639,6 @@ export namespace Protocol {
13631
13639
  adScriptId?: AdScriptId;
13632
13640
  }
13633
13641
 
13634
- export interface GetCookiesResponse {
13635
- /**
13636
- * Array of cookie objects.
13637
- */
13638
- cookies: Network.Cookie[];
13639
- }
13640
-
13641
13642
  export interface GetFrameTreeResponse {
13642
13643
  /**
13643
13644
  * Present frame tree structure.