devtools-protocol 0.0.1359167 → 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
@@ -788,6 +788,21 @@
|
|
788
788
|
}
|
789
789
|
]
|
790
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
|
+
},
|
791
806
|
{
|
792
807
|
"name": "setBlackboxPatterns",
|
793
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.",
|
@@ -800,6 +815,12 @@
|
|
800
815
|
"items": {
|
801
816
|
"type": "string"
|
802
817
|
}
|
818
|
+
},
|
819
|
+
{
|
820
|
+
"name": "skipAnonymous",
|
821
|
+
"description": "If true, also ignore scripts with no source url.",
|
822
|
+
"optional": true,
|
823
|
+
"type": "boolean"
|
803
824
|
}
|
804
825
|
]
|
805
826
|
},
|
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.
|
@@ -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
@@ -562,11 +562,22 @@ export namespace Protocol {
|
|
562
562
|
maxDepth: integer;
|
563
563
|
}
|
564
564
|
|
565
|
+
export interface SetBlackboxExecutionContextsRequest {
|
566
|
+
/**
|
567
|
+
* Array of execution context unique ids for the debugger to ignore.
|
568
|
+
*/
|
569
|
+
uniqueIds: string[];
|
570
|
+
}
|
571
|
+
|
565
572
|
export interface SetBlackboxPatternsRequest {
|
566
573
|
/**
|
567
574
|
* Array of regexps that will be used to check script url for blackbox state.
|
568
575
|
*/
|
569
576
|
patterns: string[];
|
577
|
+
/**
|
578
|
+
* If true, also ignore scripts with no source url.
|
579
|
+
*/
|
580
|
+
skipAnonymous?: boolean;
|
570
581
|
}
|
571
582
|
|
572
583
|
export interface SetBlackboxedRangesRequest {
|