This is the first time I’m writing an extension so I apologise if I’ve missed something obvious.
When I’m calling browser.tabs.getCurrent() from inside a content script with both the “activeTab” and the “tabs” permission I get the aforementioned error. Any help would be much appreciated.