devtools-protocol 0.0.1025007 → 0.0.1026613
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.
- package/json/browser_protocol.json +13 -0
- package/json/js_protocol.json +78 -0
- package/package.json +1 -1
- package/pdl/browser_protocol.pdl +8 -0
- package/pdl/js_protocol.pdl +34 -0
- package/types/protocol-mapping.d.ts +14 -0
- package/types/protocol-proxy-api.d.ts +10 -0
- package/types/protocol.d.ts +61 -1
@@ -1571,6 +1571,8 @@
|
|
1571
1571
|
"LocalCSSFileExtensionRejected",
|
1572
1572
|
"MediaSourceAbortRemove",
|
1573
1573
|
"MediaSourceDurationTruncatingBuffered",
|
1574
|
+
"NavigateEventRestoreScroll",
|
1575
|
+
"NavigateEventTransitionWhile",
|
1574
1576
|
"NoSysexWebMIDIWithoutPermission",
|
1575
1577
|
"NotificationInsecureOrigin",
|
1576
1578
|
"NotificationPermissionRequestedIframe",
|
@@ -11132,6 +11134,17 @@
|
|
11132
11134
|
"name": "certificateTransparencyCompliance",
|
11133
11135
|
"description": "Whether the request complied with Certificate Transparency policy",
|
11134
11136
|
"$ref": "CertificateTransparencyCompliance"
|
11137
|
+
},
|
11138
|
+
{
|
11139
|
+
"name": "serverSignatureAlgorithm",
|
11140
|
+
"description": "The signature algorithm used by the server in the TLS server signature,\nrepresented as a TLS SignatureScheme code point. Omitted if not\napplicable or not known.",
|
11141
|
+
"optional": true,
|
11142
|
+
"type": "integer"
|
11143
|
+
},
|
11144
|
+
{
|
11145
|
+
"name": "encryptedClientHello",
|
11146
|
+
"description": "Whether the connection used Encrypted ClientHello",
|
11147
|
+
"type": "boolean"
|
11135
11148
|
}
|
11136
11149
|
]
|
11137
11150
|
},
|
package/json/js_protocol.json
CHANGED
@@ -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
package/pdl/browser_protocol.pdl
CHANGED
@@ -765,6 +765,8 @@ experimental domain Audits
|
|
765
765
|
LocalCSSFileExtensionRejected
|
766
766
|
MediaSourceAbortRemove
|
767
767
|
MediaSourceDurationTruncatingBuffered
|
768
|
+
NavigateEventRestoreScroll
|
769
|
+
NavigateEventTransitionWhile
|
768
770
|
NoSysexWebMIDIWithoutPermission
|
769
771
|
NotificationInsecureOrigin
|
770
772
|
NotificationPermissionRequestedIframe
|
@@ -5105,6 +5107,12 @@ domain Network
|
|
5105
5107
|
array of SignedCertificateTimestamp signedCertificateTimestampList
|
5106
5108
|
# Whether the request complied with Certificate Transparency policy
|
5107
5109
|
CertificateTransparencyCompliance certificateTransparencyCompliance
|
5110
|
+
# The signature algorithm used by the server in the TLS server signature,
|
5111
|
+
# represented as a TLS SignatureScheme code point. Omitted if not
|
5112
|
+
# applicable or not known.
|
5113
|
+
optional integer serverSignatureAlgorithm
|
5114
|
+
# Whether the connection used Encrypted ClientHello
|
5115
|
+
boolean encryptedClientHello
|
5108
5116
|
|
5109
5117
|
# Whether the request complied with Certificate Transparency policy.
|
5110
5118
|
type CertificateTransparencyCompliance extends string
|
package/pdl/js_protocol.pdl
CHANGED
@@ -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
|
*/
|
@@ -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
|
*/
|
package/types/protocol.d.ts
CHANGED
@@ -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.
|
@@ -3417,7 +3467,7 @@ export namespace Protocol {
|
|
3417
3467
|
frameId?: Page.FrameId;
|
3418
3468
|
}
|
3419
3469
|
|
3420
|
-
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' | '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');
|
3470
|
+
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' | '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
3471
|
|
3422
3472
|
/**
|
3423
3473
|
* This issue tracks information needed to print a deprecation message.
|
@@ -9550,6 +9600,16 @@ export namespace Protocol {
|
|
9550
9600
|
* Whether the request complied with Certificate Transparency policy
|
9551
9601
|
*/
|
9552
9602
|
certificateTransparencyCompliance: CertificateTransparencyCompliance;
|
9603
|
+
/**
|
9604
|
+
* The signature algorithm used by the server in the TLS server signature,
|
9605
|
+
* represented as a TLS SignatureScheme code point. Omitted if not
|
9606
|
+
* applicable or not known.
|
9607
|
+
*/
|
9608
|
+
serverSignatureAlgorithm?: integer;
|
9609
|
+
/**
|
9610
|
+
* Whether the connection used Encrypted ClientHello
|
9611
|
+
*/
|
9612
|
+
encryptedClientHello: boolean;
|
9553
9613
|
}
|
9554
9614
|
|
9555
9615
|
/**
|