Skip to content

Commit

Permalink
fix: emit for target id (#1979)
Browse files Browse the repository at this point in the history
Related to puppeteer/puppeteer#12054
We need to emit with the `id` to be able to scope to which event are you
subscribed this only covers the base case of
`CdpTarget === BrowsingContext`, but should be sufficient until we
implement a way to subscribe to a specific CDP sessionId
  • Loading branch information
Lightning00Blade authored Mar 8, 2024
1 parent 9eebf4f commit d1091bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bidiMapper/domains/context/CdpTarget.ts
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ export class CdpTarget {
session: this.cdpSessionId,
},
},
null
this.id
);
});
}
Expand Down

0 comments on commit d1091bd

Please sign in to comment.