devtools-protocol 0.0.1358005 → 0.0.1362837
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/js_protocol.json
CHANGED
@@ -374,7 +374,6 @@
|
|
374
374
|
"description": "Type of the debug symbols.",
|
375
375
|
"type": "string",
|
376
376
|
"enum": [
|
377
|
-
"None",
|
378
377
|
"SourceMap",
|
379
378
|
"EmbeddedDWARF",
|
380
379
|
"ExternalDWARF"
|
@@ -789,6 +788,21 @@
|
|
789
788
|
}
|
790
789
|
]
|
791
790
|
},
|
791
|
+
{
|
792
|
+
"name": "setBlackboxExecutionContexts",
|
793
|
+
"description": "Replace previous blackbox execution contexts with passed ones. Forces backend to skip\nstepping/pausing in scripts in these execution contexts. VM will try to leave blackboxed script by\nperforming 'step in' several times, finally resorting to 'step out' if unsuccessful.",
|
794
|
+
"experimental": true,
|
795
|
+
"parameters": [
|
796
|
+
{
|
797
|
+
"name": "uniqueIds",
|
798
|
+
"description": "Array of execution context unique ids for the debugger to ignore.",
|
799
|
+
"type": "array",
|
800
|
+
"items": {
|
801
|
+
"type": "string"
|
802
|
+
}
|
803
|
+
}
|
804
|
+
]
|
805
|
+
},
|
792
806
|
{
|
793
807
|
"name": "setBlackboxPatterns",
|
794
808
|
"description": "Replace previous blackbox patterns with passed ones. Forces backend to skip stepping/pausing in\nscripts with url matching one of the patterns. VM will try to leave blackboxed script by\nperforming 'step in' several times, finally resorting to 'step out' if unsuccessful.",
|
@@ -801,6 +815,12 @@
|
|
801
815
|
"items": {
|
802
816
|
"type": "string"
|
803
817
|
}
|
818
|
+
},
|
819
|
+
{
|
820
|
+
"name": "skipAnonymous",
|
821
|
+
"description": "If true, also ignore scripts with no source url.",
|
822
|
+
"optional": true,
|
823
|
+
"type": "boolean"
|
804
824
|
}
|
805
825
|
]
|
806
826
|
},
|
@@ -1456,10 +1476,13 @@
|
|
1456
1476
|
},
|
1457
1477
|
{
|
1458
1478
|
"name": "debugSymbols",
|
1459
|
-
"description": "If the scriptLanguage is
|
1479
|
+
"description": "If the scriptLanguage is WebAssembly, the source of debug symbols for the module.",
|
1460
1480
|
"experimental": true,
|
1461
1481
|
"optional": true,
|
1462
|
-
"
|
1482
|
+
"type": "array",
|
1483
|
+
"items": {
|
1484
|
+
"$ref": "Debugger.DebugSymbols"
|
1485
|
+
}
|
1463
1486
|
},
|
1464
1487
|
{
|
1465
1488
|
"name": "embedderName",
|
package/package.json
CHANGED
package/pdl/js_protocol.pdl
CHANGED
@@ -369,6 +369,14 @@ domain Debugger
|
|
369
369
|
# call stacks (default).
|
370
370
|
integer maxDepth
|
371
371
|
|
372
|
+
# Replace previous blackbox execution contexts with passed ones. Forces backend to skip
|
373
|
+
# stepping/pausing in scripts in these execution contexts. VM will try to leave blackboxed script by
|
374
|
+
# performing 'step in' several times, finally resorting to 'step out' if unsuccessful.
|
375
|
+
experimental command setBlackboxExecutionContexts
|
376
|
+
parameters
|
377
|
+
# Array of execution context unique ids for the debugger to ignore.
|
378
|
+
array of string uniqueIds
|
379
|
+
|
372
380
|
# Replace previous blackbox patterns with passed ones. Forces backend to skip stepping/pausing in
|
373
381
|
# scripts with url matching one of the patterns. VM will try to leave blackboxed script by
|
374
382
|
# performing 'step in' several times, finally resorting to 'step out' if unsuccessful.
|
@@ -376,6 +384,8 @@ domain Debugger
|
|
376
384
|
parameters
|
377
385
|
# Array of regexps that will be used to check script url for blackbox state.
|
378
386
|
array of string patterns
|
387
|
+
# If true, also ignore scripts with no source url.
|
388
|
+
optional boolean skipAnonymous
|
379
389
|
|
380
390
|
# Makes backend skip steps in the script in blackboxed ranges. VM will try leave blacklisted
|
381
391
|
# scripts by performing 'step in' several times, finally resorting to 'step out' if unsuccessful.
|
@@ -606,7 +616,6 @@ domain Debugger
|
|
606
616
|
properties
|
607
617
|
# Type of the debug symbols.
|
608
618
|
enum type
|
609
|
-
None
|
610
619
|
SourceMap
|
611
620
|
EmbeddedDWARF
|
612
621
|
ExternalDWARF
|
@@ -689,8 +698,8 @@ domain Debugger
|
|
689
698
|
experimental optional integer codeOffset
|
690
699
|
# The language of the script.
|
691
700
|
experimental optional Debugger.ScriptLanguage scriptLanguage
|
692
|
-
# If the scriptLanguage is
|
693
|
-
experimental optional Debugger.DebugSymbols debugSymbols
|
701
|
+
# If the scriptLanguage is WebAssembly, the source of debug symbols for the module.
|
702
|
+
experimental optional array of Debugger.DebugSymbols debugSymbols
|
694
703
|
# The name the embedder supplied for this script.
|
695
704
|
experimental optional string embedderName
|
696
705
|
|
@@ -936,6 +936,15 @@ export namespace ProtocolMapping {
|
|
936
936
|
paramsType: [Protocol.Debugger.SetAsyncCallStackDepthRequest];
|
937
937
|
returnType: void;
|
938
938
|
};
|
939
|
+
/**
|
940
|
+
* Replace previous blackbox execution contexts with passed ones. Forces backend to skip
|
941
|
+
* stepping/pausing in scripts in these execution contexts. VM will try to leave blackboxed script by
|
942
|
+
* performing 'step in' several times, finally resorting to 'step out' if unsuccessful.
|
943
|
+
*/
|
944
|
+
'Debugger.setBlackboxExecutionContexts': {
|
945
|
+
paramsType: [Protocol.Debugger.SetBlackboxExecutionContextsRequest];
|
946
|
+
returnType: void;
|
947
|
+
};
|
939
948
|
/**
|
940
949
|
* Replace previous blackbox patterns with passed ones. Forces backend to skip stepping/pausing in
|
941
950
|
* scripts with url matching one of the patterns. VM will try to leave blackboxed script by
|
@@ -242,6 +242,13 @@ export namespace ProtocolProxyApi {
|
|
242
242
|
*/
|
243
243
|
setAsyncCallStackDepth(params: Protocol.Debugger.SetAsyncCallStackDepthRequest): Promise<void>;
|
244
244
|
|
245
|
+
/**
|
246
|
+
* Replace previous blackbox execution contexts with passed ones. Forces backend to skip
|
247
|
+
* stepping/pausing in scripts in these execution contexts. VM will try to leave blackboxed script by
|
248
|
+
* performing 'step in' several times, finally resorting to 'step out' if unsuccessful.
|
249
|
+
*/
|
250
|
+
setBlackboxExecutionContexts(params: Protocol.Debugger.SetBlackboxExecutionContextsRequest): Promise<void>;
|
251
|
+
|
245
252
|
/**
|
246
253
|
* Replace previous blackbox patterns with passed ones. Forces backend to skip stepping/pausing in
|
247
254
|
* scripts with url matching one of the patterns. VM will try to leave blackboxed script by
|
@@ -244,6 +244,13 @@ export namespace ProtocolTestsProxyApi {
|
|
244
244
|
*/
|
245
245
|
setAsyncCallStackDepth(params: Protocol.Debugger.SetAsyncCallStackDepthRequest): Promise<{id: number, result: void, sessionId: string}>;
|
246
246
|
|
247
|
+
/**
|
248
|
+
* Replace previous blackbox execution contexts with passed ones. Forces backend to skip
|
249
|
+
* stepping/pausing in scripts in these execution contexts. VM will try to leave blackboxed script by
|
250
|
+
* performing 'step in' several times, finally resorting to 'step out' if unsuccessful.
|
251
|
+
*/
|
252
|
+
setBlackboxExecutionContexts(params: Protocol.Debugger.SetBlackboxExecutionContextsRequest): Promise<{id: number, result: void, sessionId: string}>;
|
253
|
+
|
247
254
|
/**
|
248
255
|
* Replace previous blackbox patterns with passed ones. Forces backend to skip stepping/pausing in
|
249
256
|
* scripts with url matching one of the patterns. VM will try to leave blackboxed script by
|
package/types/protocol.d.ts
CHANGED
@@ -270,7 +270,6 @@ export namespace Protocol {
|
|
270
270
|
export type ScriptLanguage = ('JavaScript' | 'WebAssembly');
|
271
271
|
|
272
272
|
export const enum DebugSymbolsType {
|
273
|
-
None = 'None',
|
274
273
|
SourceMap = 'SourceMap',
|
275
274
|
EmbeddedDWARF = 'EmbeddedDWARF',
|
276
275
|
ExternalDWARF = 'ExternalDWARF',
|
@@ -283,7 +282,7 @@ export namespace Protocol {
|
|
283
282
|
/**
|
284
283
|
* Type of the debug symbols. (DebugSymbolsType enum)
|
285
284
|
*/
|
286
|
-
type: ('
|
285
|
+
type: ('SourceMap' | 'EmbeddedDWARF' | 'ExternalDWARF');
|
287
286
|
/**
|
288
287
|
* URL of the external symbol source.
|
289
288
|
*/
|
@@ -563,11 +562,22 @@ export namespace Protocol {
|
|
563
562
|
maxDepth: integer;
|
564
563
|
}
|
565
564
|
|
565
|
+
export interface SetBlackboxExecutionContextsRequest {
|
566
|
+
/**
|
567
|
+
* Array of execution context unique ids for the debugger to ignore.
|
568
|
+
*/
|
569
|
+
uniqueIds: string[];
|
570
|
+
}
|
571
|
+
|
566
572
|
export interface SetBlackboxPatternsRequest {
|
567
573
|
/**
|
568
574
|
* Array of regexps that will be used to check script url for blackbox state.
|
569
575
|
*/
|
570
576
|
patterns: string[];
|
577
|
+
/**
|
578
|
+
* If true, also ignore scripts with no source url.
|
579
|
+
*/
|
580
|
+
skipAnonymous?: boolean;
|
571
581
|
}
|
572
582
|
|
573
583
|
export interface SetBlackboxedRangesRequest {
|
@@ -1023,9 +1033,9 @@ export namespace Protocol {
|
|
1023
1033
|
*/
|
1024
1034
|
scriptLanguage?: Debugger.ScriptLanguage;
|
1025
1035
|
/**
|
1026
|
-
* If the scriptLanguage is
|
1036
|
+
* If the scriptLanguage is WebAssembly, the source of debug symbols for the module.
|
1027
1037
|
*/
|
1028
|
-
debugSymbols?: Debugger.DebugSymbols;
|
1038
|
+
debugSymbols?: Debugger.DebugSymbols[];
|
1029
1039
|
/**
|
1030
1040
|
* The name the embedder supplied for this script.
|
1031
1041
|
*/
|