fix: add filter to setDiscoverTargets for Firefox (#9693)
This commit is contained in:
parent
ef0fb5d872
commit
c09764e4c4
@ -166,7 +166,10 @@ export class FirefoxTargetManager
|
||||
}
|
||||
|
||||
async initialize(): Promise<void> {
|
||||
await this.#connection.send('Target.setDiscoverTargets', {discover: true});
|
||||
await this.#connection.send('Target.setDiscoverTargets', {
|
||||
discover: true,
|
||||
filter: [{}],
|
||||
});
|
||||
this.#targetsIdsForInit = new Set(this.#discoveredTargetsByTargetId.keys());
|
||||
await this.#initializePromise;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user