Open Bug 1946975 Opened 1 month ago Updated 1 month ago

Add a tabs.Tab type in the tabs API to determine whether a tab is in a collapsed tab group.

Categories

(WebExtensions :: General, enhancement, P3)

Firefox 137
enhancement

Tracking

(Not tracked)

UNCONFIRMED

People

(Reporter: anonymous30901032, Unassigned)

References

(Depends on 1 open bug, Blocks 1 open bug)

Details

(Whiteboard: [wecg])

Steps to reproduce:

In Chrome, checking if a tab group is collapsed requires the chrome.tabGroups API. The 'tabGroups' permission is necessary and a user must accept the 'View and manage your tab groups' permission in a prompt to allow access to this API.

It would be helpful if there was a tabs.Tab type like 'isInCollapsedGroup', so the browser.tabGroups API (when developed) would not be required to determine whether a tab is in a collapsed tab group.

This would be somewhat equivalent to the tabs.Tab type 'hidden', which is accessible without the 'tabHide' permission.

The Bugbug bot thinks this bug should belong to the 'Firefox::Tabbed Browser' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → Tabbed Browser
Blocks: tab-groups
Component: Tabbed Browser → Frontend
Depends on: 1940631
Product: Firefox → WebExtensions
Component: Frontend → General
Severity: -- → N/A
Priority: -- → P3

That sounds reasonable, but given that we don't support the api yet, it would be better to discuss this in the WebExtensions Community Group. I suggest you open a proposal there: https://github.com/w3c/webextensions.

Severity: N/A → --
Priority: P3 → --
Whiteboard: [wecg]
Severity: -- → N/A
Priority: -- → P3
You need to log in before you can comment on or make changes to this bug.