devtools-protocol 0.0.1693794 → 0.0.1695166
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 +2 -1
- package/json/js_protocol.json +10 -0
- package/package.json +1 -1
- package/pdl/domains/Network.pdl +1 -0
- package/pdl/js_protocol.pdl +9 -0
- package/types/protocol.d.ts +17 -4
|
@@ -18302,7 +18302,8 @@
|
|
|
18302
18302
|
"ServerRequested",
|
|
18303
18303
|
"InvalidSessionParams",
|
|
18304
18304
|
"RefreshFatalError",
|
|
18305
|
-
"DevTools"
|
|
18305
|
+
"DevTools",
|
|
18306
|
+
"Replaced"
|
|
18306
18307
|
]
|
|
18307
18308
|
}
|
|
18308
18309
|
]
|
package/json/js_protocol.json
CHANGED
|
@@ -280,6 +280,13 @@
|
|
|
280
280
|
"description": "Location in the source code where scope ends",
|
|
281
281
|
"optional": true,
|
|
282
282
|
"$ref": "Location"
|
|
283
|
+
},
|
|
284
|
+
{
|
|
285
|
+
"name": "empty",
|
|
286
|
+
"description": "True if the scope does not declare any variables or have a runtime context.\nOnly present if true.\nEmpty scopes are retained in the scope chain because\nthey can be targeted via `evaluateOnCallFrame` (using `scopeNumber`) or\nmatched against scopes in source maps.",
|
|
287
|
+
"experimental": true,
|
|
288
|
+
"optional": true,
|
|
289
|
+
"type": "boolean"
|
|
283
290
|
}
|
|
284
291
|
]
|
|
285
292
|
},
|
|
@@ -2371,6 +2378,7 @@
|
|
|
2371
2378
|
"dataview",
|
|
2372
2379
|
"webassemblymemory",
|
|
2373
2380
|
"wasmvalue",
|
|
2381
|
+
"deferredmodule",
|
|
2374
2382
|
"trustedtype"
|
|
2375
2383
|
]
|
|
2376
2384
|
},
|
|
@@ -2490,6 +2498,7 @@
|
|
|
2490
2498
|
"dataview",
|
|
2491
2499
|
"webassemblymemory",
|
|
2492
2500
|
"wasmvalue",
|
|
2501
|
+
"deferredmodule",
|
|
2493
2502
|
"trustedtype"
|
|
2494
2503
|
]
|
|
2495
2504
|
},
|
|
@@ -2586,6 +2595,7 @@
|
|
|
2586
2595
|
"dataview",
|
|
2587
2596
|
"webassemblymemory",
|
|
2588
2597
|
"wasmvalue",
|
|
2598
|
+
"deferredmodule",
|
|
2589
2599
|
"trustedtype"
|
|
2590
2600
|
]
|
|
2591
2601
|
}
|
package/package.json
CHANGED
package/pdl/domains/Network.pdl
CHANGED
package/pdl/js_protocol.pdl
CHANGED
|
@@ -143,6 +143,12 @@ domain Debugger
|
|
|
143
143
|
optional Location startLocation
|
|
144
144
|
# Location in the source code where scope ends
|
|
145
145
|
optional Location endLocation
|
|
146
|
+
# True if the scope does not declare any variables or have a runtime context.
|
|
147
|
+
# Only present if true.
|
|
148
|
+
# Empty scopes are retained in the scope chain because
|
|
149
|
+
# they can be targeted via `evaluateOnCallFrame` (using `scopeNumber`) or
|
|
150
|
+
# matched against scopes in source maps.
|
|
151
|
+
experimental optional boolean empty
|
|
146
152
|
|
|
147
153
|
# Search match for resource.
|
|
148
154
|
type SearchMatch extends object
|
|
@@ -1138,6 +1144,7 @@ domain Runtime
|
|
|
1138
1144
|
dataview
|
|
1139
1145
|
webassemblymemory
|
|
1140
1146
|
wasmvalue
|
|
1147
|
+
deferredmodule
|
|
1141
1148
|
# blink's subtypes.
|
|
1142
1149
|
trustedtype
|
|
1143
1150
|
# Object class (constructor) name. Specified for `object` type values only.
|
|
@@ -1201,6 +1208,7 @@ domain Runtime
|
|
|
1201
1208
|
dataview
|
|
1202
1209
|
webassemblymemory
|
|
1203
1210
|
wasmvalue
|
|
1211
|
+
deferredmodule
|
|
1204
1212
|
# blink's subtypes.
|
|
1205
1213
|
trustedtype
|
|
1206
1214
|
# String representation of the object.
|
|
@@ -1252,6 +1260,7 @@ domain Runtime
|
|
|
1252
1260
|
dataview
|
|
1253
1261
|
webassemblymemory
|
|
1254
1262
|
wasmvalue
|
|
1263
|
+
deferredmodule
|
|
1255
1264
|
# blink's subtypes.
|
|
1256
1265
|
trustedtype
|
|
1257
1266
|
|
package/types/protocol.d.ts
CHANGED
|
@@ -221,6 +221,15 @@ export namespace Protocol {
|
|
|
221
221
|
* Location in the source code where scope ends
|
|
222
222
|
*/
|
|
223
223
|
endLocation?: Location;
|
|
224
|
+
/**
|
|
225
|
+
* True if the scope does not declare any variables or have a runtime context.
|
|
226
|
+
* Only present if true.
|
|
227
|
+
* Empty scopes are retained in the scope chain because
|
|
228
|
+
* they can be targeted via `evaluateOnCallFrame` (using `scopeNumber`) or
|
|
229
|
+
* matched against scopes in source maps.
|
|
230
|
+
* @experimental
|
|
231
|
+
*/
|
|
232
|
+
empty?: boolean;
|
|
224
233
|
}
|
|
225
234
|
|
|
226
235
|
/**
|
|
@@ -1688,6 +1697,7 @@ export namespace Protocol {
|
|
|
1688
1697
|
Dataview = 'dataview',
|
|
1689
1698
|
Webassemblymemory = 'webassemblymemory',
|
|
1690
1699
|
Wasmvalue = 'wasmvalue',
|
|
1700
|
+
Deferredmodule = 'deferredmodule',
|
|
1691
1701
|
Trustedtype = 'trustedtype',
|
|
1692
1702
|
}
|
|
1693
1703
|
|
|
@@ -1704,7 +1714,7 @@ export namespace Protocol {
|
|
|
1704
1714
|
* NOTE: If you change anything here, make sure to also update
|
|
1705
1715
|
* `subtype` in `ObjectPreview` and `PropertyPreview` below.
|
|
1706
1716
|
*/
|
|
1707
|
-
subtype?: ('array' | 'null' | 'node' | 'regexp' | 'date' | 'map' | 'set' | 'weakmap' | 'weakset' | 'iterator' | 'generator' | 'error' | 'proxy' | 'promise' | 'typedarray' | 'arraybuffer' | 'dataview' | 'webassemblymemory' | 'wasmvalue' | 'trustedtype');
|
|
1717
|
+
subtype?: ('array' | 'null' | 'node' | 'regexp' | 'date' | 'map' | 'set' | 'weakmap' | 'weakset' | 'iterator' | 'generator' | 'error' | 'proxy' | 'promise' | 'typedarray' | 'arraybuffer' | 'dataview' | 'webassemblymemory' | 'wasmvalue' | 'deferredmodule' | 'trustedtype');
|
|
1708
1718
|
/**
|
|
1709
1719
|
* Object class (constructor) name. Specified for `object` type values only.
|
|
1710
1720
|
*/
|
|
@@ -1790,6 +1800,7 @@ export namespace Protocol {
|
|
|
1790
1800
|
Dataview = 'dataview',
|
|
1791
1801
|
Webassemblymemory = 'webassemblymemory',
|
|
1792
1802
|
Wasmvalue = 'wasmvalue',
|
|
1803
|
+
Deferredmodule = 'deferredmodule',
|
|
1793
1804
|
Trustedtype = 'trustedtype',
|
|
1794
1805
|
}
|
|
1795
1806
|
|
|
@@ -1805,7 +1816,7 @@ export namespace Protocol {
|
|
|
1805
1816
|
/**
|
|
1806
1817
|
* Object subtype hint. Specified for `object` type values only.
|
|
1807
1818
|
*/
|
|
1808
|
-
subtype?: ('array' | 'null' | 'node' | 'regexp' | 'date' | 'map' | 'set' | 'weakmap' | 'weakset' | 'iterator' | 'generator' | 'error' | 'proxy' | 'promise' | 'typedarray' | 'arraybuffer' | 'dataview' | 'webassemblymemory' | 'wasmvalue' | 'trustedtype');
|
|
1819
|
+
subtype?: ('array' | 'null' | 'node' | 'regexp' | 'date' | 'map' | 'set' | 'weakmap' | 'weakset' | 'iterator' | 'generator' | 'error' | 'proxy' | 'promise' | 'typedarray' | 'arraybuffer' | 'dataview' | 'webassemblymemory' | 'wasmvalue' | 'deferredmodule' | 'trustedtype');
|
|
1809
1820
|
/**
|
|
1810
1821
|
* String representation of the object.
|
|
1811
1822
|
*/
|
|
@@ -1856,6 +1867,7 @@ export namespace Protocol {
|
|
|
1856
1867
|
Dataview = 'dataview',
|
|
1857
1868
|
Webassemblymemory = 'webassemblymemory',
|
|
1858
1869
|
Wasmvalue = 'wasmvalue',
|
|
1870
|
+
Deferredmodule = 'deferredmodule',
|
|
1859
1871
|
Trustedtype = 'trustedtype',
|
|
1860
1872
|
}
|
|
1861
1873
|
|
|
@@ -1882,7 +1894,7 @@ export namespace Protocol {
|
|
|
1882
1894
|
/**
|
|
1883
1895
|
* Object subtype hint. Specified for `object` type values only.
|
|
1884
1896
|
*/
|
|
1885
|
-
subtype?: ('array' | 'null' | 'node' | 'regexp' | 'date' | 'map' | 'set' | 'weakmap' | 'weakset' | 'iterator' | 'generator' | 'error' | 'proxy' | 'promise' | 'typedarray' | 'arraybuffer' | 'dataview' | 'webassemblymemory' | 'wasmvalue' | 'trustedtype');
|
|
1897
|
+
subtype?: ('array' | 'null' | 'node' | 'regexp' | 'date' | 'map' | 'set' | 'weakmap' | 'weakset' | 'iterator' | 'generator' | 'error' | 'proxy' | 'promise' | 'typedarray' | 'arraybuffer' | 'dataview' | 'webassemblymemory' | 'wasmvalue' | 'deferredmodule' | 'trustedtype');
|
|
1886
1898
|
}
|
|
1887
1899
|
|
|
1888
1900
|
/**
|
|
@@ -14320,6 +14332,7 @@ export namespace Protocol {
|
|
|
14320
14332
|
InvalidSessionParams = 'InvalidSessionParams',
|
|
14321
14333
|
RefreshFatalError = 'RefreshFatalError',
|
|
14322
14334
|
DevTools = 'DevTools',
|
|
14335
|
+
Replaced = 'Replaced',
|
|
14323
14336
|
}
|
|
14324
14337
|
|
|
14325
14338
|
/**
|
|
@@ -14330,7 +14343,7 @@ export namespace Protocol {
|
|
|
14330
14343
|
/**
|
|
14331
14344
|
* The reason for a session being deleted.
|
|
14332
14345
|
*/
|
|
14333
|
-
deletionReason: ('Expired' | 'FailedToRestoreKey' | 'FailedToUnwrapKey' | 'StoragePartitionCleared' | 'ClearBrowsingData' | 'ServerRequested' | 'InvalidSessionParams' | 'RefreshFatalError' | 'DevTools');
|
|
14346
|
+
deletionReason: ('Expired' | 'FailedToRestoreKey' | 'FailedToUnwrapKey' | 'StoragePartitionCleared' | 'ClearBrowsingData' | 'ServerRequested' | 'InvalidSessionParams' | 'RefreshFatalError' | 'DevTools' | 'Replaced');
|
|
14334
14347
|
}
|
|
14335
14348
|
|
|
14336
14349
|
export const enum ChallengeEventDetailsChallengeResult {
|