chore: remove updated but unused variable (#11679)

This commit is contained in:
Darío Kondratiuk 2024-01-15 06:12:49 -03:00 committed by GitHub
parent 3b3b9c385f
commit f6c6d768df
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -63,11 +63,6 @@ export class FirefoxTargetManager
* Tracks which sessions attach to which target.
*/
#availableTargetsBySessionId = new Map<string, CdpTarget>();
/**
* If a target was filtered out by `targetFilterCallback`, we still receive
* events about it from CDP, but we don't forward them to the rest of Puppeteer.
*/
#ignoredTargets = new Set<string>();
#targetFilterCallback: TargetFilterCallback | undefined;
#targetFactory: TargetFactory;
@ -162,7 +157,6 @@ export class FirefoxTargetManager
const target = this.#targetFactory(event.targetInfo, undefined);
if (this.#targetFilterCallback && !this.#targetFilterCallback(target)) {
this.#ignoredTargets.add(event.targetInfo.targetId);
this.#finishInitializationIfReady(event.targetInfo.targetId);
return;
}