Most browserAction methods allow me to catch errors such as invalid tab id by checking for
chrome.runtime.lastError in the callback -- with the exception of
chrome.browserAction.setBadgeText(), which doesn't accept callbacks. With this limitation, how do you guys catch invalid tab ids for
chrome.browserAction.setBadgeText()?
To be consistent, I propose making this method return a Promise object as well (similar to setIcon() and other methods) so we can better catch such errors.