devtools-protocol 0.0.1742540 → 0.0.1744848

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.
@@ -3601,6 +3601,20 @@
3601
3601
  "type": "string"
3602
3602
  }
3603
3603
  ]
3604
+ },
3605
+ {
3606
+ "name": "simulateGATTMtuChange",
3607
+ "description": "Simulates the ATT MTU exchange procedure from Bluetooth Core Specification\nVol 3 Part F 3.4.2 establishing |mtu| for the connection to the peripheral\nwith |address|.",
3608
+ "parameters": [
3609
+ {
3610
+ "name": "address",
3611
+ "type": "string"
3612
+ },
3613
+ {
3614
+ "name": "mtu",
3615
+ "type": "integer"
3616
+ }
3617
+ ]
3604
3618
  }
3605
3619
  ],
3606
3620
  "events": [
@@ -7391,7 +7405,6 @@
7391
7405
  "select-listbox",
7392
7406
  "permission-icon",
7393
7407
  "overscroll-area-parent",
7394
- "overscroll-backdrop",
7395
7408
  "skeleton"
7396
7409
  ]
7397
7410
  },
@@ -574,6 +574,28 @@
574
574
  }
575
575
  ]
576
576
  },
577
+ {
578
+ "name": "getScopeChain",
579
+ "description": "Returns the current scope chain of the given call frame. Unlike the scope chain reported\nwith the `paused` event, it reflects changes made to variables since then (e.g. via\n`evaluateOnCallFrame` or `setVariableValue`).",
580
+ "experimental": true,
581
+ "parameters": [
582
+ {
583
+ "name": "callFrameId",
584
+ "description": "Call frame identifier to get the scope chain for.",
585
+ "$ref": "CallFrameId"
586
+ }
587
+ ],
588
+ "returns": [
589
+ {
590
+ "name": "scopeChain",
591
+ "description": "Scope chain for the call frame.",
592
+ "type": "array",
593
+ "items": {
594
+ "$ref": "Scope"
595
+ }
596
+ }
597
+ ]
598
+ },
577
599
  {
578
600
  "name": "getScriptSource",
579
601
  "description": "Returns source for the script with given id.",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devtools-protocol",
3
- "version": "0.0.1742540",
3
+ "version": "0.0.1744848",
4
4
  "description": "The Chrome DevTools Protocol JSON",
5
5
  "repository": "https://github.com/ChromeDevTools/devtools-protocol",
6
6
  "author": "The Chromium Authors",
@@ -200,6 +200,14 @@ experimental domain BluetoothEmulation
200
200
  parameters
201
201
  string address
202
202
 
203
+ # Simulates the ATT MTU exchange procedure from Bluetooth Core Specification
204
+ # Vol 3 Part F 3.4.2 establishing |mtu| for the connection to the peripheral
205
+ # with |address|.
206
+ command simulateGATTMtuChange
207
+ parameters
208
+ string address
209
+ integer mtu
210
+
203
211
  # Event for when a GATT operation of |type| to the peripheral with |address|
204
212
  # happened.
205
213
  event gattOperationReceived
@@ -79,7 +79,6 @@ domain DOM
79
79
  select-listbox
80
80
  permission-icon
81
81
  overscroll-area-parent
82
- overscroll-backdrop
83
82
  skeleton
84
83
 
85
84
  # Shadow root type.
@@ -246,6 +246,17 @@ domain Debugger
246
246
  # List of the possible breakpoint locations.
247
247
  array of BreakLocation locations
248
248
 
249
+ # Returns the current scope chain of the given call frame. Unlike the scope chain reported
250
+ # with the `paused` event, it reflects changes made to variables since then (e.g. via
251
+ # `evaluateOnCallFrame` or `setVariableValue`).
252
+ experimental command getScopeChain
253
+ parameters
254
+ # Call frame identifier to get the scope chain for.
255
+ CallFrameId callFrameId
256
+ returns
257
+ # Scope chain for the call frame.
258
+ array of Scope scopeChain
259
+
249
260
  # Returns source for the script with given id.
250
261
  command getScriptSource
251
262
  parameters
@@ -1146,6 +1146,16 @@ export namespace ProtocolMapping {
1146
1146
  paramsType: [Protocol.Debugger.GetPossibleBreakpointsRequest];
1147
1147
  returnType: Protocol.Debugger.GetPossibleBreakpointsResponse;
1148
1148
  };
1149
+ /**
1150
+ * Returns the current scope chain of the given call frame. Unlike the scope chain reported
1151
+ * with the `paused` event, it reflects changes made to variables since then (e.g. via
1152
+ * `evaluateOnCallFrame` or `setVariableValue`).
1153
+ * @experimental
1154
+ */
1155
+ 'Debugger.getScopeChain': {
1156
+ paramsType: [Protocol.Debugger.GetScopeChainRequest];
1157
+ returnType: Protocol.Debugger.GetScopeChainResponse;
1158
+ };
1149
1159
  /**
1150
1160
  * Returns source for the script with given id.
1151
1161
  */
@@ -2039,6 +2049,15 @@ export namespace ProtocolMapping {
2039
2049
  paramsType: [Protocol.BluetoothEmulation.SimulateGATTDisconnectionRequest];
2040
2050
  returnType: void;
2041
2051
  };
2052
+ /**
2053
+ * Simulates the ATT MTU exchange procedure from Bluetooth Core Specification
2054
+ * Vol 3 Part F 3.4.2 establishing |mtu| for the connection to the peripheral
2055
+ * with |address|.
2056
+ */
2057
+ 'BluetoothEmulation.simulateGATTMtuChange': {
2058
+ paramsType: [Protocol.BluetoothEmulation.SimulateGATTMtuChangeRequest];
2059
+ returnType: void;
2060
+ };
2042
2061
  /**
2043
2062
  * Set permission settings for given embedding and embedded origins.
2044
2063
  * @experimental
@@ -187,6 +187,14 @@ export namespace ProtocolProxyApi {
187
187
  */
188
188
  getPossibleBreakpoints(params: Protocol.Debugger.GetPossibleBreakpointsRequest): Promise<Protocol.Debugger.GetPossibleBreakpointsResponse>;
189
189
 
190
+ /**
191
+ * Returns the current scope chain of the given call frame. Unlike the scope chain reported
192
+ * with the `paused` event, it reflects changes made to variables since then (e.g. via
193
+ * `evaluateOnCallFrame` or `setVariableValue`).
194
+ * @experimental
195
+ */
196
+ getScopeChain(params: Protocol.Debugger.GetScopeChainRequest): Promise<Protocol.Debugger.GetScopeChainResponse>;
197
+
190
198
  /**
191
199
  * Returns source for the script with given id.
192
200
  */
@@ -1028,6 +1036,13 @@ export namespace ProtocolProxyApi {
1028
1036
  */
1029
1037
  simulateGATTDisconnection(params: Protocol.BluetoothEmulation.SimulateGATTDisconnectionRequest): Promise<void>;
1030
1038
 
1039
+ /**
1040
+ * Simulates the ATT MTU exchange procedure from Bluetooth Core Specification
1041
+ * Vol 3 Part F 3.4.2 establishing |mtu| for the connection to the peripheral
1042
+ * with |address|.
1043
+ */
1044
+ simulateGATTMtuChange(params: Protocol.BluetoothEmulation.SimulateGATTMtuChangeRequest): Promise<void>;
1045
+
1031
1046
  /**
1032
1047
  * Event for when a GATT operation of |type| to the peripheral with |address|
1033
1048
  * happened.
@@ -189,6 +189,14 @@ export namespace ProtocolTestsProxyApi {
189
189
  */
190
190
  getPossibleBreakpoints(params: Protocol.Debugger.GetPossibleBreakpointsRequest): Promise<{id: number, result: Protocol.Debugger.GetPossibleBreakpointsResponse, sessionId: string}>;
191
191
 
192
+ /**
193
+ * Returns the current scope chain of the given call frame. Unlike the scope chain reported
194
+ * with the `paused` event, it reflects changes made to variables since then (e.g. via
195
+ * `evaluateOnCallFrame` or `setVariableValue`).
196
+ * @experimental
197
+ */
198
+ getScopeChain(params: Protocol.Debugger.GetScopeChainRequest): Promise<{id: number, result: Protocol.Debugger.GetScopeChainResponse, sessionId: string}>;
199
+
192
200
  /**
193
201
  * Returns source for the script with given id.
194
202
  */
@@ -1092,6 +1100,13 @@ export namespace ProtocolTestsProxyApi {
1092
1100
  */
1093
1101
  simulateGATTDisconnection(params: Protocol.BluetoothEmulation.SimulateGATTDisconnectionRequest): Promise<{id: number, result: void, sessionId: string}>;
1094
1102
 
1103
+ /**
1104
+ * Simulates the ATT MTU exchange procedure from Bluetooth Core Specification
1105
+ * Vol 3 Part F 3.4.2 establishing |mtu| for the connection to the peripheral
1106
+ * with |address|.
1107
+ */
1108
+ simulateGATTMtuChange(params: Protocol.BluetoothEmulation.SimulateGATTMtuChangeRequest): Promise<{id: number, result: void, sessionId: string}>;
1109
+
1095
1110
  /**
1096
1111
  * Event for when a GATT operation of |type| to the peripheral with |address|
1097
1112
  * happened.
@@ -437,6 +437,20 @@ export namespace Protocol {
437
437
  locations: BreakLocation[];
438
438
  }
439
439
 
440
+ export interface GetScopeChainRequest {
441
+ /**
442
+ * Call frame identifier to get the scope chain for.
443
+ */
444
+ callFrameId: CallFrameId;
445
+ }
446
+
447
+ export interface GetScopeChainResponse {
448
+ /**
449
+ * Scope chain for the call frame.
450
+ */
451
+ scopeChain: Scope[];
452
+ }
453
+
440
454
  export interface GetScriptSourceRequest {
441
455
  /**
442
456
  * Id of the script to get source for.
@@ -4659,6 +4673,11 @@ export namespace Protocol {
4659
4673
  address: string;
4660
4674
  }
4661
4675
 
4676
+ export interface SimulateGATTMtuChangeRequest {
4677
+ address: string;
4678
+ mtu: integer;
4679
+ }
4680
+
4662
4681
  /**
4663
4682
  * Event for when a GATT operation of |type| to the peripheral with |address|
4664
4683
  * happened.
@@ -7141,7 +7160,7 @@ export namespace Protocol {
7141
7160
  /**
7142
7161
  * Pseudo element type.
7143
7162
  */
7144
- export type PseudoType = ('first-line' | 'first-letter' | 'checkmark' | 'before' | 'after' | 'expand-icon' | 'picker-icon' | 'interest-button' | 'marker' | 'backdrop' | 'column' | 'selection' | 'search-text' | 'target-text' | 'spelling-error' | 'grammar-error' | 'highlight' | 'first-line-inherited' | 'scroll-marker' | 'scroll-marker-group' | 'scroll-button' | 'scrollbar' | 'scrollbar-thumb' | 'scrollbar-button' | 'scrollbar-track' | 'scrollbar-track-piece' | 'scrollbar-corner' | 'resizer' | 'input-list-button' | 'view-transition' | 'view-transition-group' | 'view-transition-image-pair' | 'view-transition-group-children' | 'view-transition-old' | 'view-transition-new' | 'placeholder' | 'file-selector-button' | 'details-content' | 'picker' | 'select-listbox' | 'permission-icon' | 'overscroll-area-parent' | 'overscroll-backdrop' | 'skeleton');
7163
+ export type PseudoType = ('first-line' | 'first-letter' | 'checkmark' | 'before' | 'after' | 'expand-icon' | 'picker-icon' | 'interest-button' | 'marker' | 'backdrop' | 'column' | 'selection' | 'search-text' | 'target-text' | 'spelling-error' | 'grammar-error' | 'highlight' | 'first-line-inherited' | 'scroll-marker' | 'scroll-marker-group' | 'scroll-button' | 'scrollbar' | 'scrollbar-thumb' | 'scrollbar-button' | 'scrollbar-track' | 'scrollbar-track-piece' | 'scrollbar-corner' | 'resizer' | 'input-list-button' | 'view-transition' | 'view-transition-group' | 'view-transition-image-pair' | 'view-transition-group-children' | 'view-transition-old' | 'view-transition-new' | 'placeholder' | 'file-selector-button' | 'details-content' | 'picker' | 'select-listbox' | 'permission-icon' | 'overscroll-area-parent' | 'skeleton');
7145
7164
 
7146
7165
  /**
7147
7166
  * Shadow root type.