Warning: This event is deprecated. Use tabs.onActivated
instead.
Fires when the selected tab in a window changes. Note that the tab's URL may not be set at the time this event fired, but you can listen to tabs.onUpdated
events to be notified when a URL is set.