Every tab in google chrome has an id that is unique for that browsing session, even across windows. The id is automatically assigned by chrome’s internals when you call chrome.tabs.create(). Can this value ever be set to zero?
My reason for this question is that I would like to do a boolean test based on the id and I need a truthy value when there is an id.
No, tab IDs start at 1 and go up from there (they’re stored as SessionID instances). -1 may also be returned in some cases.