Closed BlueFyre closed 2 years ago
This commit should fix it.
Can you pull the branch locally, build it, yarn link
it and test if it works?
Thanks for the quick turnaround. I've tested the fix and the issue is resolved
This revision can now be installed as webext-bridge@6.0.0-rc2
.
Subscribe to #32 to be notified of further changes to 6.0.0
including when the final version is released.
Hi, I'm using code from the next branch due to https://github.com/zikaari/webext-bridge/issues/7 In the window code:
sendMessage("foo", "bar", "devtools");
In the devtools code:onMessage("foo", ({ data }) => console.log(data));
I'd expect this to log to the console when the sendMessage happensWhat I've observed happening is that inside background.js the portMap doesn't seem to contain
devtools@1833977967
destination but rather there's onlydevtools@1833977967.118
which seems like the onConnect always adds the frameIdIs this a bug or is there a problem in my usage?