What I did:
- Tried to get the background page from a click event
- Tried to open a new tab from a click event
What happens:
- browser.sidebarAction is undefined.
- browser.runtime.getBackgroundPage is not a function.
- browser.tabs is undefined.
What I expected:
- The sidebar to open.
- An alert showing a message stored in main.js.
- A new tab loading mozilla.org to open.