devtools-protocol 0.0.1527314 → 0.0.1532728
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 +6 -0
- package/package.json +1 -1
- package/pdl/domains/Inspector.pdl +3 -0
- package/pdl/domains/Network.pdl +1 -0
- package/types/protocol-mapping.d.ts +5 -0
- package/types/protocol-proxy-api.d.ts +6 -0
- package/types/protocol-tests-proxy-api.d.ts +8 -0
- package/types/protocol.d.ts +2 -1
|
@@ -13804,6 +13804,11 @@
|
|
|
13804
13804
|
{
|
|
13805
13805
|
"name": "targetReloadedAfterCrash",
|
|
13806
13806
|
"description": "Fired when debugging target has reloaded after crash"
|
|
13807
|
+
},
|
|
13808
|
+
{
|
|
13809
|
+
"name": "workerScriptLoaded",
|
|
13810
|
+
"description": "Fired on worker targets when main worker script and any imported scripts have been evaluated.",
|
|
13811
|
+
"experimental": true
|
|
13807
13812
|
}
|
|
13808
13813
|
]
|
|
13809
13814
|
},
|
|
@@ -15864,6 +15869,7 @@
|
|
|
15864
15869
|
"preload",
|
|
15865
15870
|
"SignedExchange",
|
|
15866
15871
|
"preflight",
|
|
15872
|
+
"FedCM",
|
|
15867
15873
|
"other"
|
|
15868
15874
|
]
|
|
15869
15875
|
},
|
package/package.json
CHANGED
|
@@ -23,3 +23,6 @@ experimental domain Inspector
|
|
|
23
23
|
|
|
24
24
|
# Fired when debugging target has reloaded after crash
|
|
25
25
|
event targetReloadedAfterCrash
|
|
26
|
+
|
|
27
|
+
# Fired on worker targets when main worker script and any imported scripts have been evaluated.
|
|
28
|
+
experimental event workerScriptLoaded
|
package/pdl/domains/Network.pdl
CHANGED
|
@@ -339,6 +339,11 @@ export namespace ProtocolMapping {
|
|
|
339
339
|
* Fired when debugging target has reloaded after crash
|
|
340
340
|
*/
|
|
341
341
|
'Inspector.targetReloadedAfterCrash': [];
|
|
342
|
+
/**
|
|
343
|
+
* Fired on worker targets when main worker script and any imported scripts have been evaluated.
|
|
344
|
+
* @experimental
|
|
345
|
+
*/
|
|
346
|
+
'Inspector.workerScriptLoaded': [];
|
|
342
347
|
'LayerTree.layerPainted': [Protocol.LayerTree.LayerPaintedEvent];
|
|
343
348
|
'LayerTree.layerTreeDidChange': [Protocol.LayerTree.LayerTreeDidChangeEvent];
|
|
344
349
|
/**
|
|
@@ -2767,6 +2767,12 @@ export namespace ProtocolProxyApi {
|
|
|
2767
2767
|
*/
|
|
2768
2768
|
on(event: 'targetReloadedAfterCrash', listener: () => void): void;
|
|
2769
2769
|
|
|
2770
|
+
/**
|
|
2771
|
+
* Fired on worker targets when main worker script and any imported scripts have been evaluated.
|
|
2772
|
+
* @experimental
|
|
2773
|
+
*/
|
|
2774
|
+
on(event: 'workerScriptLoaded', listener: () => void): void;
|
|
2775
|
+
|
|
2770
2776
|
}
|
|
2771
2777
|
|
|
2772
2778
|
export interface LayerTreeApi {
|
|
@@ -2919,6 +2919,14 @@ export namespace ProtocolTestsProxyApi {
|
|
|
2919
2919
|
offTargetReloadedAfterCrash(listener: () => void): void;
|
|
2920
2920
|
onceTargetReloadedAfterCrash(eventMatcher?: () => boolean): Promise<void>;
|
|
2921
2921
|
|
|
2922
|
+
/**
|
|
2923
|
+
* Fired on worker targets when main worker script and any imported scripts have been evaluated.
|
|
2924
|
+
* @experimental
|
|
2925
|
+
*/
|
|
2926
|
+
onWorkerScriptLoaded(listener: () => void): void;
|
|
2927
|
+
offWorkerScriptLoaded(listener: () => void): void;
|
|
2928
|
+
onceWorkerScriptLoaded(eventMatcher?: () => boolean): Promise<void>;
|
|
2929
|
+
|
|
2922
2930
|
}
|
|
2923
2931
|
|
|
2924
2932
|
export interface LayerTreeApi {
|
package/types/protocol.d.ts
CHANGED
|
@@ -12686,6 +12686,7 @@ export namespace Protocol {
|
|
|
12686
12686
|
Preload = 'preload',
|
|
12687
12687
|
SignedExchange = 'SignedExchange',
|
|
12688
12688
|
Preflight = 'preflight',
|
|
12689
|
+
FedCM = 'FedCM',
|
|
12689
12690
|
Other = 'other',
|
|
12690
12691
|
}
|
|
12691
12692
|
|
|
@@ -12696,7 +12697,7 @@ export namespace Protocol {
|
|
|
12696
12697
|
/**
|
|
12697
12698
|
* Type of this initiator.
|
|
12698
12699
|
*/
|
|
12699
|
-
type: ('parser' | 'script' | 'preload' | 'SignedExchange' | 'preflight' | 'other');
|
|
12700
|
+
type: ('parser' | 'script' | 'preload' | 'SignedExchange' | 'preflight' | 'FedCM' | 'other');
|
|
12700
12701
|
/**
|
|
12701
12702
|
* Initiator JavaScript stack trace, set for Script only.
|
|
12702
12703
|
* Requires the Debugger domain to be enabled.
|