yields a discarded tab that’s missing its title (not an issue) and its favicon (my issue).
I’ve thought of one way to solve this: create a regular non-discarded, non-active tab, and then have tabs.onUpdated listen for a non-null favIconUrl property change to trigger a tabs.discard() on it (and then remove the listener). I’ve yet to try it.
Are there better ways to do this? Something from the webRequest API? Guidance appreciated.
Creating brand new tabs, possibly many at once. I’m concerned whether your method, which adds an onUpdated listener per tab, is efficient. Given a list of tabs to create, would it be better to have one listener for them all?