This code is from background script and throws error in MS Edge (works fine in Chrome) when function is called:
const zoom = () => {
console.log('zoom function');
browser.tabs.getZoom(z => {
//.......
});
}
zoom function is written on console and then error is shown
SCRIPT5007: Object expected
I have tabs permission in manifest