You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In my test if I run chrome.tabs.sendMessage(tabId, Message), the tabId is the first parameter of the listener, which is inconsistent with the way chrome.runtime.sendMessage calls its listener.
I couldn't move the issue tracker with it. Are you still interested in contributing? I think you might be onto something here, it looks like we should change the arguments of the onMessageListeners
Hi!
I'm working with the code located in the
tabs.js
module of this project as per:From what I can see in the official docs for onMessage, the structure is as follows:
In my test if I run
chrome.tabs.sendMessage(tabId, Message)
, thetabId
is the first parameter of the listener, which is inconsistent with the waychrome.runtime.sendMessage
calls its listener.For more info, the listener I'm testing is
There's also the issue with the
sendResponse
, which I don't believe is covered here?Any guidance would be greatly appreciated :)
The text was updated successfully, but these errors were encountered: