devtools-protocol 0.0.937044 → 0.0.937072

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.
@@ -6096,6 +6096,35 @@
6096
6096
  }
6097
6097
  ]
6098
6098
  },
6099
+ {
6100
+ "domain": "EventBreakpoints",
6101
+ "description": "EventBreakpoints permits setting breakpoints on particular operations and\nevents in targets that run JavaScript but do not have a DOM.\nJavaScript execution will stop on these operations as if there was a regular\nbreakpoint set.",
6102
+ "experimental": true,
6103
+ "commands": [
6104
+ {
6105
+ "name": "setInstrumentationBreakpoint",
6106
+ "description": "Sets breakpoint on particular native event.",
6107
+ "parameters": [
6108
+ {
6109
+ "name": "eventName",
6110
+ "description": "Instrumentation name to stop on.",
6111
+ "type": "string"
6112
+ }
6113
+ ]
6114
+ },
6115
+ {
6116
+ "name": "removeInstrumentationBreakpoint",
6117
+ "description": "Removes breakpoint on particular native event.",
6118
+ "parameters": [
6119
+ {
6120
+ "name": "eventName",
6121
+ "description": "Instrumentation name to stop on.",
6122
+ "type": "string"
6123
+ }
6124
+ ]
6125
+ }
6126
+ ]
6127
+ },
6099
6128
  {
6100
6129
  "domain": "DOMSnapshot",
6101
6130
  "description": "This domain facilitates obtaining document snapshots with DOM, layout, and style information.",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devtools-protocol",
3
- "version": "0.0.937044",
3
+ "version": "0.0.937072",
4
4
  "description": "The Chrome DevTools Protocol JSON",
5
5
  "repository": "https://github.com/ChromeDevTools/devtools-protocol",
6
6
  "author": "The Chromium Authors",
@@ -2842,6 +2842,23 @@ domain DOMDebugger
2842
2842
  # Resource URL substring. All XHRs having this substring in the URL will get stopped upon.
2843
2843
  string url
2844
2844
 
2845
+ # EventBreakpoints permits setting breakpoints on particular operations and
2846
+ # events in targets that run JavaScript but do not have a DOM.
2847
+ # JavaScript execution will stop on these operations as if there was a regular
2848
+ # breakpoint set.
2849
+ experimental domain EventBreakpoints
2850
+ # Sets breakpoint on particular native event.
2851
+ command setInstrumentationBreakpoint
2852
+ parameters
2853
+ # Instrumentation name to stop on.
2854
+ string eventName
2855
+
2856
+ # Removes breakpoint on particular native event.
2857
+ command removeInstrumentationBreakpoint
2858
+ parameters
2859
+ # Instrumentation name to stop on.
2860
+ string eventName
2861
+
2845
2862
  # This domain facilitates obtaining document snapshots with DOM, layout, and style information.
2846
2863
  experimental domain DOMSnapshot
2847
2864
  depends on CSS
@@ -2205,6 +2205,20 @@ export namespace ProtocolMapping {
2205
2205
  paramsType: [Protocol.DOMDebugger.SetXHRBreakpointRequest];
2206
2206
  returnType: void;
2207
2207
  };
2208
+ /**
2209
+ * Sets breakpoint on particular native event.
2210
+ */
2211
+ 'EventBreakpoints.setInstrumentationBreakpoint': {
2212
+ paramsType: [Protocol.EventBreakpoints.SetInstrumentationBreakpointRequest];
2213
+ returnType: void;
2214
+ };
2215
+ /**
2216
+ * Removes breakpoint on particular native event.
2217
+ */
2218
+ 'EventBreakpoints.removeInstrumentationBreakpoint': {
2219
+ paramsType: [Protocol.EventBreakpoints.RemoveInstrumentationBreakpointRequest];
2220
+ returnType: void;
2221
+ };
2208
2222
  /**
2209
2223
  * Disables DOM snapshot agent for the given page.
2210
2224
  */
@@ -42,6 +42,8 @@ export namespace ProtocolProxyApi {
42
42
 
43
43
  DOMDebugger: DOMDebuggerApi;
44
44
 
45
+ EventBreakpoints: EventBreakpointsApi;
46
+
45
47
  DOMSnapshot: DOMSnapshotApi;
46
48
 
47
49
  DOMStorage: DOMStorageApi;
@@ -1501,6 +1503,19 @@ export namespace ProtocolProxyApi {
1501
1503
 
1502
1504
  }
1503
1505
 
1506
+ export interface EventBreakpointsApi {
1507
+ /**
1508
+ * Sets breakpoint on particular native event.
1509
+ */
1510
+ setInstrumentationBreakpoint(params: Protocol.EventBreakpoints.SetInstrumentationBreakpointRequest): Promise<void>;
1511
+
1512
+ /**
1513
+ * Removes breakpoint on particular native event.
1514
+ */
1515
+ removeInstrumentationBreakpoint(params: Protocol.EventBreakpoints.RemoveInstrumentationBreakpointRequest): Promise<void>;
1516
+
1517
+ }
1518
+
1504
1519
  export interface DOMSnapshotApi {
1505
1520
  /**
1506
1521
  * Disables DOM snapshot agent for the given page.
@@ -6281,6 +6281,29 @@ export namespace Protocol {
6281
6281
  }
6282
6282
  }
6283
6283
 
6284
+ /**
6285
+ * EventBreakpoints permits setting breakpoints on particular operations and
6286
+ * events in targets that run JavaScript but do not have a DOM.
6287
+ * JavaScript execution will stop on these operations as if there was a regular
6288
+ * breakpoint set.
6289
+ */
6290
+ export namespace EventBreakpoints {
6291
+
6292
+ export interface SetInstrumentationBreakpointRequest {
6293
+ /**
6294
+ * Instrumentation name to stop on.
6295
+ */
6296
+ eventName: string;
6297
+ }
6298
+
6299
+ export interface RemoveInstrumentationBreakpointRequest {
6300
+ /**
6301
+ * Instrumentation name to stop on.
6302
+ */
6303
+ eventName: string;
6304
+ }
6305
+ }
6306
+
6284
6307
  /**
6285
6308
  * This domain facilitates obtaining document snapshots with DOM, layout, and style information.
6286
6309
  */