devtools-protocol 0.0.937044 → 0.0.938504

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.
@@ -1496,6 +1496,7 @@
1496
1496
  {
1497
1497
  "name": "message",
1498
1498
  "description": "The content of the deprecation issue (this won't be translated),\ne.g. \"window.inefficientLegacyStorageMethod will be removed in M97,\naround January 2022. Please use Web Storage or Indexed Database\ninstead. This standard was abandoned in January, 1970. See\nhttps://www.chromestatus.com/feature/5684870116278272 for more details.\"",
1499
+ "deprecated": true,
1499
1500
  "optional": true,
1500
1501
  "type": "string"
1501
1502
  }
@@ -6096,6 +6097,35 @@
6096
6097
  }
6097
6098
  ]
6098
6099
  },
6100
+ {
6101
+ "domain": "EventBreakpoints",
6102
+ "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.",
6103
+ "experimental": true,
6104
+ "commands": [
6105
+ {
6106
+ "name": "setInstrumentationBreakpoint",
6107
+ "description": "Sets breakpoint on particular native event.",
6108
+ "parameters": [
6109
+ {
6110
+ "name": "eventName",
6111
+ "description": "Instrumentation name to stop on.",
6112
+ "type": "string"
6113
+ }
6114
+ ]
6115
+ },
6116
+ {
6117
+ "name": "removeInstrumentationBreakpoint",
6118
+ "description": "Removes breakpoint on particular native event.",
6119
+ "parameters": [
6120
+ {
6121
+ "name": "eventName",
6122
+ "description": "Instrumentation name to stop on.",
6123
+ "type": "string"
6124
+ }
6125
+ ]
6126
+ }
6127
+ ]
6128
+ },
6099
6129
  {
6100
6130
  "domain": "DOMSnapshot",
6101
6131
  "description": "This domain facilitates obtaining document snapshots with DOM, layout, and style information.",
@@ -10453,8 +10483,8 @@
10453
10483
  },
10454
10484
  {
10455
10485
  "name": "timestamp",
10456
- "description": "Issuance date.",
10457
- "$ref": "TimeSinceEpoch"
10486
+ "description": "Issuance date. Unlike TimeSinceEpoch, this contains the number of\nmilliseconds since January 1, 1970, UTC, not the number of seconds.",
10487
+ "type": "number"
10458
10488
  },
10459
10489
  {
10460
10490
  "name": "hashAlgorithm",
@@ -17755,7 +17785,8 @@
17755
17785
  },
17756
17786
  {
17757
17787
  "name": "explanations",
17758
- "description": "List of explanations for the security state. If the overall security state is `insecure` or\n`warning`, at least one corresponding explanation should be included.",
17788
+ "description": "Previously a list of explanations for the security state. Now always\nempty.",
17789
+ "deprecated": true,
17759
17790
  "type": "array",
17760
17791
  "items": {
17761
17792
  "$ref": "SecurityStateExplanation"
@@ -17769,7 +17800,8 @@
17769
17800
  },
17770
17801
  {
17771
17802
  "name": "summary",
17772
- "description": "Overrides user-visible description of the state.",
17803
+ "description": "Overrides user-visible description of the state. Always omitted.",
17804
+ "deprecated": true,
17773
17805
  "optional": true,
17774
17806
  "type": "string"
17775
17807
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devtools-protocol",
3
- "version": "0.0.937044",
3
+ "version": "0.0.938504",
4
4
  "description": "The Chrome DevTools Protocol JSON",
5
5
  "repository": "https://github.com/ChromeDevTools/devtools-protocol",
6
6
  "author": "The Chromium Authors",
@@ -723,7 +723,7 @@ experimental domain Audits
723
723
  # around January 2022. Please use Web Storage or Indexed Database
724
724
  # instead. This standard was abandoned in January, 1970. See
725
725
  # https://www.chromestatus.com/feature/5684870116278272 for more details."
726
- optional string message
726
+ deprecated optional string message
727
727
 
728
728
  # A unique identifier for the type of issue. Each type may use one of the
729
729
  # optional fields in InspectorIssueDetails to convey more specific
@@ -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
@@ -4767,8 +4784,9 @@ domain Network
4767
4784
  string logDescription
4768
4785
  # Log ID.
4769
4786
  string logId
4770
- # Issuance date.
4771
- TimeSinceEpoch timestamp
4787
+ # Issuance date. Unlike TimeSinceEpoch, this contains the number of
4788
+ # milliseconds since January 1, 1970, UTC, not the number of seconds.
4789
+ number timestamp
4772
4790
  # Hash algorithm.
4773
4791
  string hashAlgorithm
4774
4792
  # Signature algorithm.
@@ -8325,13 +8343,13 @@ domain Security
8325
8343
  SecurityState securityState
8326
8344
  # True if the page was loaded over cryptographic transport such as HTTPS.
8327
8345
  deprecated boolean schemeIsCryptographic
8328
- # List of explanations for the security state. If the overall security state is `insecure` or
8329
- # `warning`, at least one corresponding explanation should be included.
8330
- array of SecurityStateExplanation explanations
8346
+ # Previously a list of explanations for the security state. Now always
8347
+ # empty.
8348
+ deprecated array of SecurityStateExplanation explanations
8331
8349
  # Information about insecure content on the page.
8332
8350
  deprecated InsecureContentStatus insecureContentStatus
8333
- # Overrides user-visible description of the state.
8334
- optional string summary
8351
+ # Overrides user-visible description of the state. Always omitted.
8352
+ deprecated optional string summary
8335
8353
 
8336
8354
  experimental domain ServiceWorker
8337
8355
  depends on Target
@@ -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
  */
@@ -9069,9 +9092,10 @@ export namespace Protocol {
9069
9092
  */
9070
9093
  logId: string;
9071
9094
  /**
9072
- * Issuance date.
9095
+ * Issuance date. Unlike TimeSinceEpoch, this contains the number of
9096
+ * milliseconds since January 1, 1970, UTC, not the number of seconds.
9073
9097
  */
9074
- timestamp: TimeSinceEpoch;
9098
+ timestamp: number;
9075
9099
  /**
9076
9100
  * Hash algorithm.
9077
9101
  */
@@ -13742,8 +13766,8 @@ export namespace Protocol {
13742
13766
  */
13743
13767
  schemeIsCryptographic: boolean;
13744
13768
  /**
13745
- * List of explanations for the security state. If the overall security state is `insecure` or
13746
- * `warning`, at least one corresponding explanation should be included.
13769
+ * Previously a list of explanations for the security state. Now always
13770
+ * empty.
13747
13771
  */
13748
13772
  explanations: SecurityStateExplanation[];
13749
13773
  /**
@@ -13751,7 +13775,7 @@ export namespace Protocol {
13751
13775
  */
13752
13776
  insecureContentStatus: InsecureContentStatus;
13753
13777
  /**
13754
- * Overrides user-visible description of the state.
13778
+ * Overrides user-visible description of the state. Always omitted.
13755
13779
  */
13756
13780
  summary?: string;
13757
13781
  }