I've read the examples and everything else but I'm still confused on how to use sinon-chrome.
The extension I'm building has a lot of communication between content and background scripts.
For example, when a user access some webpage (defined in my match rules), the extension icon must become active. Moreover, if the icon is clicked, a sidebar should open.
I've read the examples and everything else but I'm still confused on how to use sinon-chrome. The extension I'm building has a lot of communication between content and background scripts.
For example, when a user access some webpage (defined in my match rules), the extension icon must become active. Moreover, if the icon is clicked, a sidebar should open.
Currently, I'm trying to do something like this:
Am I misunderstanding something?