Closed CameronDowner closed 11 months ago
Hi @CameronDowner, so far so good, however this doesn't quite fix #42 as it stands. You'll need to do a similar check for the tab ID when listening for messages as well.
In the message handler callback on line 29, we need to compare the tab ID of the sender (provided as a 2nd arg to the callback) with the inspected window tab ID, and return early if it does not match.
Hi @bttf,
I've updated the PR to include tabId
conditional check in the message listener.
Thanks @CameronDowner This LGTM. CI is failing due to a dependency being out of date - I will merge this and folow up with a separate commit to its versioning.
This change sends a message to the specific tab being inspected by the Chrome devtools currently being used.
fixes #42, fixes #39