tabGroups.TAB_GROUP_ID_NONE
The tab group ID value returned when a tab isn't in a tab group.
Its value is -1.
This value can appear as groupId in these API functions:
The tabGroups.TAB_GROUP_ID_NONE constant is part of the tabGroups namespace, which is only available when the tabGroups permission is granted. If your extension doesn't require the tabGroups permission, use -1 instead of tabGroups.TAB_GROUP_ID_NONE.
Browser compatibility
Loading…