refactor: remove extra variable on onTargetInfoChanged (#11249)
This commit is contained in:
parent
ab15aa5af8
commit
9db4a94617
@ -284,9 +284,6 @@ export class ChromeTargetManager
|
|||||||
target._initializedDeferred.value() === InitializationStatus.SUCCESS;
|
target._initializedDeferred.value() === InitializationStatus.SUCCESS;
|
||||||
|
|
||||||
if (isPageTargetBecomingPrimary(target, event.targetInfo)) {
|
if (isPageTargetBecomingPrimary(target, event.targetInfo)) {
|
||||||
const target = this.#attachedTargetsByTargetId.get(
|
|
||||||
event.targetInfo.targetId
|
|
||||||
);
|
|
||||||
const session = target?._session();
|
const session = target?._session();
|
||||||
assert(
|
assert(
|
||||||
session,
|
session,
|
||||||
|
Loading…
Reference in New Issue
Block a user