Closed PikaDude closed 4 years ago
WTF. I also reviewed the chrome.tabs
docs for that PR and missed it as well. It's right there...
The majority of the chrome.tabs API can be used without declaring any permission. However, the "tabs" permission is required in order to populate the url, pendingUrl, title, and favIconUrl properties of Tab.
I just checked the Wayback Machine in case that was a recent clarification but no, it's always been there 🤡🤣
I swear I got a permission error too when I tried it without the perms, but I guess I was doing something different back then.
So I'm an idiot and thought we needed the "tabs" permission to check if tabs were playing audio. Nope I'm just a complete fool, we don't. At all. This PR completely removes it and changes the default tab audio behaviour option from "nothing" to "pause".