devtools-protocol 0.0.1025565 → 0.0.1027117

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.
@@ -281,6 +281,12 @@
281
281
  "optional": true,
282
282
  "$ref": "AXValue"
283
283
  },
284
+ {
285
+ "name": "chromeRole",
286
+ "description": "This `Node`'s Chrome raw role.",
287
+ "optional": true,
288
+ "$ref": "AXValue"
289
+ },
284
290
  {
285
291
  "name": "name",
286
292
  "description": "The accessible name for this `Node`.",
@@ -1560,6 +1566,7 @@
1560
1566
  "DeprecationExample",
1561
1567
  "DocumentDomainSettingWithoutOriginAgentClusterHeader",
1562
1568
  "EventPath",
1569
+ "ExpectCTHeader",
1563
1570
  "GeolocationInsecureOrigin",
1564
1571
  "GeolocationInsecureOriginDeprecatedNotRemoved",
1565
1572
  "GetUserMediaInsecureOrigin",
@@ -1570,11 +1577,14 @@
1570
1577
  "LocalCSSFileExtensionRejected",
1571
1578
  "MediaSourceAbortRemove",
1572
1579
  "MediaSourceDurationTruncatingBuffered",
1580
+ "NavigateEventRestoreScroll",
1581
+ "NavigateEventTransitionWhile",
1573
1582
  "NoSysexWebMIDIWithoutPermission",
1574
1583
  "NotificationInsecureOrigin",
1575
1584
  "NotificationPermissionRequestedIframe",
1576
1585
  "ObsoleteWebRtcCipherSuite",
1577
1586
  "OpenWebDatabaseInsecureContext",
1587
+ "OverflowVisibleOnReplacedElement",
1578
1588
  "PictureSourceSrc",
1579
1589
  "PrefixedCancelAnimationFrame",
1580
1590
  "PrefixedRequestAnimationFrame",
@@ -19112,6 +19122,22 @@
19112
19122
  }
19113
19123
  ]
19114
19124
  },
19125
+ {
19126
+ "name": "clearDataForStorageKey",
19127
+ "description": "Clears storage for storage key.",
19128
+ "parameters": [
19129
+ {
19130
+ "name": "storageKey",
19131
+ "description": "Storage key.",
19132
+ "type": "string"
19133
+ },
19134
+ {
19135
+ "name": "storageTypes",
19136
+ "description": "Comma separated list of StorageType to clear.",
19137
+ "type": "string"
19138
+ }
19139
+ ]
19140
+ },
19115
19141
  {
19116
19142
  "name": "getCookies",
19117
19143
  "description": "Returns all browser cookies.",
@@ -332,6 +332,29 @@
332
332
  }
333
333
  ]
334
334
  },
335
+ {
336
+ "id": "WasmDisassemblyChunk",
337
+ "experimental": true,
338
+ "type": "object",
339
+ "properties": [
340
+ {
341
+ "name": "lines",
342
+ "description": "The next chunk of disassembled lines.",
343
+ "type": "array",
344
+ "items": {
345
+ "type": "string"
346
+ }
347
+ },
348
+ {
349
+ "name": "bytecodeOffsets",
350
+ "description": "The bytecode offsets describing the start of each line.",
351
+ "type": "array",
352
+ "items": {
353
+ "type": "integer"
354
+ }
355
+ }
356
+ ]
357
+ },
335
358
  {
336
359
  "id": "ScriptLanguage",
337
360
  "description": "Enum of possible script languages.",
@@ -542,6 +565,61 @@
542
565
  }
543
566
  ]
544
567
  },
568
+ {
569
+ "name": "disassembleWasmModule",
570
+ "experimental": true,
571
+ "parameters": [
572
+ {
573
+ "name": "scriptId",
574
+ "description": "Id of the script to disassemble",
575
+ "$ref": "Runtime.ScriptId"
576
+ }
577
+ ],
578
+ "returns": [
579
+ {
580
+ "name": "streamId",
581
+ "description": "For large modules, return a stream from which additional chunks of\ndisassembly can be read successively.",
582
+ "optional": true,
583
+ "type": "string"
584
+ },
585
+ {
586
+ "name": "totalNumberOfLines",
587
+ "description": "The total number of lines in the disassembly text.",
588
+ "type": "integer"
589
+ },
590
+ {
591
+ "name": "functionBodyOffsets",
592
+ "description": "The offsets of all function bodies plus one additional entry pointing\none by past the end of the last function.",
593
+ "type": "array",
594
+ "items": {
595
+ "type": "integer"
596
+ }
597
+ },
598
+ {
599
+ "name": "chunk",
600
+ "description": "The first chunk of disassembly.",
601
+ "$ref": "WasmDisassemblyChunk"
602
+ }
603
+ ]
604
+ },
605
+ {
606
+ "name": "nextWasmDisassemblyChunk",
607
+ "description": "Disassemble the next chunk of lines for the module corresponding to the\nstream. If disassembly is complete, this API will invalidate the streamId\nand return an empty chunk. Any subsequent calls for the now invalid stream\nwill return errors.",
608
+ "experimental": true,
609
+ "parameters": [
610
+ {
611
+ "name": "streamId",
612
+ "type": "string"
613
+ }
614
+ ],
615
+ "returns": [
616
+ {
617
+ "name": "chunk",
618
+ "description": "The next chunk of disassembly.",
619
+ "$ref": "WasmDisassemblyChunk"
620
+ }
621
+ ]
622
+ },
545
623
  {
546
624
  "name": "getWasmBytecode",
547
625
  "description": "This command is deprecated. Use getScriptSource instead.",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devtools-protocol",
3
- "version": "0.0.1025565",
3
+ "version": "0.0.1027117",
4
4
  "description": "The Chrome DevTools Protocol JSON",
5
5
  "repository": "https://github.com/ChromeDevTools/devtools-protocol",
6
6
  "author": "The Chromium Authors",
@@ -168,6 +168,8 @@ experimental domain Accessibility
168
168
  optional array of AXProperty ignoredReasons
169
169
  # This `Node`'s role, whether explicit or implicit.
170
170
  optional AXValue role
171
+ # This `Node`'s Chrome raw role.
172
+ optional AXValue chromeRole
171
173
  # The accessible name for this `Node`.
172
174
  optional AXValue name
173
175
  # The accessible description for this `Node`.
@@ -754,6 +756,7 @@ experimental domain Audits
754
756
  DeprecationExample
755
757
  DocumentDomainSettingWithoutOriginAgentClusterHeader
756
758
  EventPath
759
+ ExpectCTHeader
757
760
  GeolocationInsecureOrigin
758
761
  GeolocationInsecureOriginDeprecatedNotRemoved
759
762
  GetUserMediaInsecureOrigin
@@ -764,11 +767,14 @@ experimental domain Audits
764
767
  LocalCSSFileExtensionRejected
765
768
  MediaSourceAbortRemove
766
769
  MediaSourceDurationTruncatingBuffered
770
+ NavigateEventRestoreScroll
771
+ NavigateEventTransitionWhile
767
772
  NoSysexWebMIDIWithoutPermission
768
773
  NotificationInsecureOrigin
769
774
  NotificationPermissionRequestedIframe
770
775
  ObsoleteWebRtcCipherSuite
771
776
  OpenWebDatabaseInsecureContext
777
+ OverflowVisibleOnReplacedElement
772
778
  PictureSourceSrc
773
779
  PrefixedCancelAnimationFrame
774
780
  PrefixedRequestAnimationFrame
@@ -2679,7 +2685,7 @@ domain DOM
2679
2685
  array of NodeId nodeIds
2680
2686
 
2681
2687
  # Returns NodeIds of current top layer elements.
2682
- # Top layer is rendered closest to the user within a viewport, therefore its elements always
2688
+ # Top layer is rendered closest to the user within a viewport, therefore its elements always
2683
2689
  # appear on top of all other content.
2684
2690
  experimental command getTopLayerElements
2685
2691
  returns
@@ -8987,6 +8993,14 @@ experimental domain Storage
8987
8993
  # Comma separated list of StorageType to clear.
8988
8994
  string storageTypes
8989
8995
 
8996
+ # Clears storage for storage key.
8997
+ command clearDataForStorageKey
8998
+ parameters
8999
+ # Storage key.
9000
+ string storageKey
9001
+ # Comma separated list of StorageType to clear.
9002
+ string storageTypes
9003
+
8990
9004
  # Returns all browser cookies.
8991
9005
  command getCookies
8992
9006
  parameters
@@ -244,6 +244,40 @@ domain Debugger
244
244
  # Wasm bytecode.
245
245
  optional binary bytecode
246
246
 
247
+ experimental type WasmDisassemblyChunk extends object
248
+ properties
249
+ # The next chunk of disassembled lines.
250
+ array of string lines
251
+ # The bytecode offsets describing the start of each line.
252
+ array of integer bytecodeOffsets
253
+
254
+ experimental command disassembleWasmModule
255
+ parameters
256
+ # Id of the script to disassemble
257
+ Runtime.ScriptId scriptId
258
+ returns
259
+ # For large modules, return a stream from which additional chunks of
260
+ # disassembly can be read successively.
261
+ optional string streamId
262
+ # The total number of lines in the disassembly text.
263
+ integer totalNumberOfLines
264
+ # The offsets of all function bodies plus one additional entry pointing
265
+ # one by past the end of the last function.
266
+ array of integer functionBodyOffsets
267
+ # The first chunk of disassembly.
268
+ WasmDisassemblyChunk chunk
269
+
270
+ # Disassemble the next chunk of lines for the module corresponding to the
271
+ # stream. If disassembly is complete, this API will invalidate the streamId
272
+ # and return an empty chunk. Any subsequent calls for the now invalid stream
273
+ # will return errors.
274
+ experimental command nextWasmDisassemblyChunk
275
+ parameters
276
+ string streamId
277
+ returns
278
+ # The next chunk of disassembly.
279
+ WasmDisassemblyChunk chunk
280
+
247
281
  # This command is deprecated. Use getScriptSource instead.
248
282
  deprecated command getWasmBytecode
249
283
  parameters
@@ -766,6 +766,20 @@ export namespace ProtocolMapping {
766
766
  paramsType: [Protocol.Debugger.GetScriptSourceRequest];
767
767
  returnType: Protocol.Debugger.GetScriptSourceResponse;
768
768
  };
769
+ 'Debugger.disassembleWasmModule': {
770
+ paramsType: [Protocol.Debugger.DisassembleWasmModuleRequest];
771
+ returnType: Protocol.Debugger.DisassembleWasmModuleResponse;
772
+ };
773
+ /**
774
+ * Disassemble the next chunk of lines for the module corresponding to the
775
+ * stream. If disassembly is complete, this API will invalidate the streamId
776
+ * and return an empty chunk. Any subsequent calls for the now invalid stream
777
+ * will return errors.
778
+ */
779
+ 'Debugger.nextWasmDisassemblyChunk': {
780
+ paramsType: [Protocol.Debugger.NextWasmDisassemblyChunkRequest];
781
+ returnType: Protocol.Debugger.NextWasmDisassemblyChunkResponse;
782
+ };
769
783
  /**
770
784
  * This command is deprecated. Use getScriptSource instead.
771
785
  */
@@ -3982,6 +3996,13 @@ export namespace ProtocolMapping {
3982
3996
  paramsType: [Protocol.Storage.ClearDataForOriginRequest];
3983
3997
  returnType: void;
3984
3998
  };
3999
+ /**
4000
+ * Clears storage for storage key.
4001
+ */
4002
+ 'Storage.clearDataForStorageKey': {
4003
+ paramsType: [Protocol.Storage.ClearDataForStorageKeyRequest];
4004
+ returnType: void;
4005
+ };
3985
4006
  /**
3986
4007
  * Returns all browser cookies.
3987
4008
  */
@@ -162,6 +162,16 @@ export namespace ProtocolProxyApi {
162
162
  */
163
163
  getScriptSource(params: Protocol.Debugger.GetScriptSourceRequest): Promise<Protocol.Debugger.GetScriptSourceResponse>;
164
164
 
165
+ disassembleWasmModule(params: Protocol.Debugger.DisassembleWasmModuleRequest): Promise<Protocol.Debugger.DisassembleWasmModuleResponse>;
166
+
167
+ /**
168
+ * Disassemble the next chunk of lines for the module corresponding to the
169
+ * stream. If disassembly is complete, this API will invalidate the streamId
170
+ * and return an empty chunk. Any subsequent calls for the now invalid stream
171
+ * will return errors.
172
+ */
173
+ nextWasmDisassemblyChunk(params: Protocol.Debugger.NextWasmDisassemblyChunkRequest): Promise<Protocol.Debugger.NextWasmDisassemblyChunkResponse>;
174
+
165
175
  /**
166
176
  * This command is deprecated. Use getScriptSource instead.
167
177
  */
@@ -3234,6 +3244,11 @@ export namespace ProtocolProxyApi {
3234
3244
  */
3235
3245
  clearDataForOrigin(params: Protocol.Storage.ClearDataForOriginRequest): Promise<void>;
3236
3246
 
3247
+ /**
3248
+ * Clears storage for storage key.
3249
+ */
3250
+ clearDataForStorageKey(params: Protocol.Storage.ClearDataForStorageKeyRequest): Promise<void>;
3251
+
3237
3252
  /**
3238
3253
  * Returns all browser cookies.
3239
3254
  */
@@ -253,6 +253,17 @@ export namespace Protocol {
253
253
  type?: ('debuggerStatement' | 'call' | 'return');
254
254
  }
255
255
 
256
+ export interface WasmDisassemblyChunk {
257
+ /**
258
+ * The next chunk of disassembled lines.
259
+ */
260
+ lines: string[];
261
+ /**
262
+ * The bytecode offsets describing the start of each line.
263
+ */
264
+ bytecodeOffsets: integer[];
265
+ }
266
+
256
267
  /**
257
268
  * Enum of possible script languages.
258
269
  */
@@ -404,6 +415,45 @@ export namespace Protocol {
404
415
  bytecode?: string;
405
416
  }
406
417
 
418
+ export interface DisassembleWasmModuleRequest {
419
+ /**
420
+ * Id of the script to disassemble
421
+ */
422
+ scriptId: Runtime.ScriptId;
423
+ }
424
+
425
+ export interface DisassembleWasmModuleResponse {
426
+ /**
427
+ * For large modules, return a stream from which additional chunks of
428
+ * disassembly can be read successively.
429
+ */
430
+ streamId?: string;
431
+ /**
432
+ * The total number of lines in the disassembly text.
433
+ */
434
+ totalNumberOfLines: integer;
435
+ /**
436
+ * The offsets of all function bodies plus one additional entry pointing
437
+ * one by past the end of the last function.
438
+ */
439
+ functionBodyOffsets: integer[];
440
+ /**
441
+ * The first chunk of disassembly.
442
+ */
443
+ chunk: WasmDisassemblyChunk;
444
+ }
445
+
446
+ export interface NextWasmDisassemblyChunkRequest {
447
+ streamId: string;
448
+ }
449
+
450
+ export interface NextWasmDisassemblyChunkResponse {
451
+ /**
452
+ * The next chunk of disassembly.
453
+ */
454
+ chunk: WasmDisassemblyChunk;
455
+ }
456
+
407
457
  export interface GetWasmBytecodeRequest {
408
458
  /**
409
459
  * Id of the Wasm script to get source for.
@@ -2727,6 +2777,10 @@ export namespace Protocol {
2727
2777
  * This `Node`'s role, whether explicit or implicit.
2728
2778
  */
2729
2779
  role?: AXValue;
2780
+ /**
2781
+ * This `Node`'s Chrome raw role.
2782
+ */
2783
+ chromeRole?: AXValue;
2730
2784
  /**
2731
2785
  * The accessible name for this `Node`.
2732
2786
  */
@@ -3417,7 +3471,7 @@ export namespace Protocol {
3417
3471
  frameId?: Page.FrameId;
3418
3472
  }
3419
3473
 
3420
- export type DeprecationIssueType = ('AuthorizationCoveredByWildcard' | 'CanRequestURLHTTPContainingNewline' | 'ChromeLoadTimesConnectionInfo' | 'ChromeLoadTimesFirstPaintAfterLoadTime' | 'ChromeLoadTimesWasAlternateProtocolAvailable' | 'CookieWithTruncatingChar' | 'CrossOriginAccessBasedOnDocumentDomain' | 'CrossOriginWindowAlert' | 'CrossOriginWindowConfirm' | 'CSSSelectorInternalMediaControlsOverlayCastButton' | 'DeprecationExample' | 'DocumentDomainSettingWithoutOriginAgentClusterHeader' | 'EventPath' | 'GeolocationInsecureOrigin' | 'GeolocationInsecureOriginDeprecatedNotRemoved' | 'GetUserMediaInsecureOrigin' | 'HostCandidateAttributeGetter' | 'IdentityInCanMakePaymentEvent' | 'InsecurePrivateNetworkSubresourceRequest' | 'LegacyConstraintGoogIPv6' | 'LocalCSSFileExtensionRejected' | 'MediaSourceAbortRemove' | 'MediaSourceDurationTruncatingBuffered' | 'NoSysexWebMIDIWithoutPermission' | 'NotificationInsecureOrigin' | 'NotificationPermissionRequestedIframe' | 'ObsoleteWebRtcCipherSuite' | 'OpenWebDatabaseInsecureContext' | 'PictureSourceSrc' | 'PrefixedCancelAnimationFrame' | 'PrefixedRequestAnimationFrame' | 'PrefixedStorageInfo' | 'PrefixedVideoDisplayingFullscreen' | 'PrefixedVideoEnterFullscreen' | 'PrefixedVideoEnterFullScreen' | 'PrefixedVideoExitFullscreen' | 'PrefixedVideoExitFullScreen' | 'PrefixedVideoSupportsFullscreen' | 'RangeExpand' | 'RequestedSubresourceWithEmbeddedCredentials' | 'RTCConstraintEnableDtlsSrtpFalse' | 'RTCConstraintEnableDtlsSrtpTrue' | 'RTCPeerConnectionComplexPlanBSdpUsingDefaultSdpSemantics' | 'RTCPeerConnectionSdpSemanticsPlanB' | 'RtcpMuxPolicyNegotiate' | 'SharedArrayBufferConstructedWithoutIsolation' | 'TextToSpeech_DisallowedByAutoplay' | 'V8SharedArrayBufferConstructedInExtensionWithoutIsolation' | 'XHRJSONEncodingDetection' | 'XMLHttpRequestSynchronousInNonWorkerOutsideBeforeUnload' | 'XRSupportsSession');
3474
+ export type DeprecationIssueType = ('AuthorizationCoveredByWildcard' | 'CanRequestURLHTTPContainingNewline' | 'ChromeLoadTimesConnectionInfo' | 'ChromeLoadTimesFirstPaintAfterLoadTime' | 'ChromeLoadTimesWasAlternateProtocolAvailable' | 'CookieWithTruncatingChar' | 'CrossOriginAccessBasedOnDocumentDomain' | 'CrossOriginWindowAlert' | 'CrossOriginWindowConfirm' | 'CSSSelectorInternalMediaControlsOverlayCastButton' | 'DeprecationExample' | 'DocumentDomainSettingWithoutOriginAgentClusterHeader' | 'EventPath' | 'ExpectCTHeader' | 'GeolocationInsecureOrigin' | 'GeolocationInsecureOriginDeprecatedNotRemoved' | 'GetUserMediaInsecureOrigin' | 'HostCandidateAttributeGetter' | 'IdentityInCanMakePaymentEvent' | 'InsecurePrivateNetworkSubresourceRequest' | 'LegacyConstraintGoogIPv6' | 'LocalCSSFileExtensionRejected' | 'MediaSourceAbortRemove' | 'MediaSourceDurationTruncatingBuffered' | 'NavigateEventRestoreScroll' | 'NavigateEventTransitionWhile' | 'NoSysexWebMIDIWithoutPermission' | 'NotificationInsecureOrigin' | 'NotificationPermissionRequestedIframe' | 'ObsoleteWebRtcCipherSuite' | 'OpenWebDatabaseInsecureContext' | 'OverflowVisibleOnReplacedElement' | 'PictureSourceSrc' | 'PrefixedCancelAnimationFrame' | 'PrefixedRequestAnimationFrame' | 'PrefixedStorageInfo' | 'PrefixedVideoDisplayingFullscreen' | 'PrefixedVideoEnterFullscreen' | 'PrefixedVideoEnterFullScreen' | 'PrefixedVideoExitFullscreen' | 'PrefixedVideoExitFullScreen' | 'PrefixedVideoSupportsFullscreen' | 'RangeExpand' | 'RequestedSubresourceWithEmbeddedCredentials' | 'RTCConstraintEnableDtlsSrtpFalse' | 'RTCConstraintEnableDtlsSrtpTrue' | 'RTCPeerConnectionComplexPlanBSdpUsingDefaultSdpSemantics' | 'RTCPeerConnectionSdpSemanticsPlanB' | 'RtcpMuxPolicyNegotiate' | 'SharedArrayBufferConstructedWithoutIsolation' | 'TextToSpeech_DisallowedByAutoplay' | 'V8SharedArrayBufferConstructedInExtensionWithoutIsolation' | 'XHRJSONEncodingDetection' | 'XMLHttpRequestSynchronousInNonWorkerOutsideBeforeUnload' | 'XRSupportsSession');
3421
3475
 
3422
3476
  /**
3423
3477
  * This issue tracks information needed to print a deprecation message.
@@ -14504,6 +14558,17 @@ export namespace Protocol {
14504
14558
  storageTypes: string;
14505
14559
  }
14506
14560
 
14561
+ export interface ClearDataForStorageKeyRequest {
14562
+ /**
14563
+ * Storage key.
14564
+ */
14565
+ storageKey: string;
14566
+ /**
14567
+ * Comma separated list of StorageType to clear.
14568
+ */
14569
+ storageTypes: string;
14570
+ }
14571
+
14507
14572
  export interface GetCookiesRequest {
14508
14573
  /**
14509
14574
  * Browser context to use when called on the browser endpoint.