devtools-protocol 0.0.1379457 → 0.0.1380148

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.
@@ -4889,7 +4889,7 @@
4889
4889
  },
4890
4890
  {
4891
4891
  "name": "trackComputedStyleUpdatesForNode",
4892
- "description": "Starts tracking the given node for the computed style updates\nand whenever the computed style is updated for node, it queues\na `computedStyleUpdated` event with throttling.",
4892
+ "description": "Starts tracking the given node for the computed style updates\nand whenever the computed style is updated for node, it queues\na `computedStyleUpdated` event with throttling.\nThere can only be 1 node tracked for computed style updates\nso passing a new node id removes tracking from the previous node.\nPass `undefined` to disable tracking.",
4893
4893
  "experimental": true,
4894
4894
  "parameters": [
4895
4895
  {
@@ -12421,7 +12421,7 @@
12421
12421
  },
12422
12422
  {
12423
12423
  "id": "RequestId",
12424
- "description": "Unique request identifier.",
12424
+ "description": "Unique network request identifier.\nNote that this does not identify individual HTTP requests that are part of\na network request.",
12425
12425
  "type": "string"
12426
12426
  },
12427
12427
  {
@@ -13369,7 +13369,7 @@
13369
13369
  },
13370
13370
  {
13371
13371
  "name": "stack",
13372
- "description": "Initiator JavaScript stack trace, set for Script only.",
13372
+ "description": "Initiator JavaScript stack trace, set for Script only.\nRequires the Debugger domain to be enabled.",
13373
13373
  "optional": true,
13374
13374
  "$ref": "Runtime.StackTrace"
13375
13375
  },
@@ -24535,7 +24535,7 @@
24535
24535
  "types": [
24536
24536
  {
24537
24537
  "id": "RequestId",
24538
- "description": "Unique request identifier.",
24538
+ "description": "Unique request identifier.\nNote that this does not identify individual HTTP requests that are part of\na network request.",
24539
24539
  "type": "string"
24540
24540
  },
24541
24541
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devtools-protocol",
3
- "version": "0.0.1379457",
3
+ "version": "0.0.1380148",
4
4
  "description": "The Chrome DevTools Protocol JSON",
5
5
  "repository": "https://github.com/ChromeDevTools/devtools-protocol",
6
6
  "author": "The Chromium Authors",
@@ -2322,6 +2322,9 @@ experimental domain CSS
2322
2322
  # Starts tracking the given node for the computed style updates
2323
2323
  # and whenever the computed style is updated for node, it queues
2324
2324
  # a `computedStyleUpdated` event with throttling.
2325
+ # There can only be 1 node tracked for computed style updates
2326
+ # so passing a new node id removes tracking from the previous node.
2327
+ # Pass `undefined` to disable tracking.
2325
2328
  experimental command trackComputedStyleUpdatesForNode
2326
2329
  parameters
2327
2330
  optional DOM.NodeId nodeId
@@ -5704,7 +5707,9 @@ domain Network
5704
5707
  # Unique loader identifier.
5705
5708
  type LoaderId extends string
5706
5709
 
5707
- # Unique request identifier.
5710
+ # Unique network request identifier.
5711
+ # Note that this does not identify individual HTTP requests that are part of
5712
+ # a network request.
5708
5713
  type RequestId extends string
5709
5714
 
5710
5715
  # Unique intercepted request identifier.
@@ -6218,6 +6223,7 @@ domain Network
6218
6223
  preflight
6219
6224
  other
6220
6225
  # Initiator JavaScript stack trace, set for Script only.
6226
+ # Requires the Debugger domain to be enabled.
6221
6227
  optional Runtime.StackTrace stack
6222
6228
  # Initiator URL, set for Parser type or for Script type (when script is importing module) or for SignedExchange type.
6223
6229
  optional string url
@@ -11503,6 +11509,8 @@ domain Fetch
11503
11509
  depends on Page
11504
11510
 
11505
11511
  # Unique request identifier.
11512
+ # Note that this does not identify individual HTTP requests that are part of
11513
+ # a network request.
11506
11514
  type RequestId extends string
11507
11515
 
11508
11516
  # Stages of the request to handle. Request will intercept before the request is
@@ -1877,6 +1877,9 @@ export namespace ProtocolMapping {
1877
1877
  * Starts tracking the given node for the computed style updates
1878
1878
  * and whenever the computed style is updated for node, it queues
1879
1879
  * a `computedStyleUpdated` event with throttling.
1880
+ * There can only be 1 node tracked for computed style updates
1881
+ * so passing a new node id removes tracking from the previous node.
1882
+ * Pass `undefined` to disable tracking.
1880
1883
  */
1881
1884
  'CSS.trackComputedStyleUpdatesForNode': {
1882
1885
  paramsType: [Protocol.CSS.TrackComputedStyleUpdatesForNodeRequest?];
@@ -1106,6 +1106,9 @@ export namespace ProtocolProxyApi {
1106
1106
  * Starts tracking the given node for the computed style updates
1107
1107
  * and whenever the computed style is updated for node, it queues
1108
1108
  * a `computedStyleUpdated` event with throttling.
1109
+ * There can only be 1 node tracked for computed style updates
1110
+ * so passing a new node id removes tracking from the previous node.
1111
+ * Pass `undefined` to disable tracking.
1109
1112
  */
1110
1113
  trackComputedStyleUpdatesForNode(params: Protocol.CSS.TrackComputedStyleUpdatesForNodeRequest): Promise<void>;
1111
1114
 
@@ -1174,6 +1174,9 @@ export namespace ProtocolTestsProxyApi {
1174
1174
  * Starts tracking the given node for the computed style updates
1175
1175
  * and whenever the computed style is updated for node, it queues
1176
1176
  * a `computedStyleUpdated` event with throttling.
1177
+ * There can only be 1 node tracked for computed style updates
1178
+ * so passing a new node id removes tracking from the previous node.
1179
+ * Pass `undefined` to disable tracking.
1177
1180
  */
1178
1181
  trackComputedStyleUpdatesForNode(params: Protocol.CSS.TrackComputedStyleUpdatesForNodeRequest): Promise<{id: number, result: void, sessionId: string}>;
1179
1182
 
@@ -10291,7 +10291,9 @@ export namespace Protocol {
10291
10291
  export type LoaderId = string;
10292
10292
 
10293
10293
  /**
10294
- * Unique request identifier.
10294
+ * Unique network request identifier.
10295
+ * Note that this does not identify individual HTTP requests that are part of
10296
+ * a network request.
10295
10297
  */
10296
10298
  export type RequestId = string;
10297
10299
 
@@ -10924,6 +10926,7 @@ export namespace Protocol {
10924
10926
  type: ('parser' | 'script' | 'preload' | 'SignedExchange' | 'preflight' | 'other');
10925
10927
  /**
10926
10928
  * Initiator JavaScript stack trace, set for Script only.
10929
+ * Requires the Debugger domain to be enabled.
10927
10930
  */
10928
10931
  stack?: Runtime.StackTrace;
10929
10932
  /**
@@ -17573,6 +17576,8 @@ export namespace Protocol {
17573
17576
 
17574
17577
  /**
17575
17578
  * Unique request identifier.
17579
+ * Note that this does not identify individual HTTP requests that are part of
17580
+ * a network request.
17576
17581
  */
17577
17582
  export type RequestId = string;
17578
17583