Implement sessions.getDevices WebExtensions API
Categories
(WebExtensions :: General, enhancement, P5)
Tracking
(Not tracked)
People
(Reporter: bsilverberg, Unassigned)
References
(Blocks 1 open bug)
Details
(Whiteboard: [sessions]triaged)
| Reporter | ||
Comment 1•9 years ago
|
||
Comment 2•8 years ago
|
||
| Reporter | ||
Comment 3•8 years ago
|
||
Comment 4•8 years ago
|
||
Comment 6•8 years ago
|
||
Comment 7•8 years ago
|
||
Updated•8 years ago
|
Updated•8 years ago
|
Comment 8•8 years ago
|
||
(In reply to Mike Conca [:mconca] from comment #8)
As of today, there are only 17 extensions on the Chrome web store that use
this API, so we will not be implementing this for compatibility reasons
(particularly given the platform differences mentioned in Comment 1).
I’m pretty sure that not a lot of Chrome extensions are using this API, but how did you find this information? It could good to have an up-to-date count.
Updated•3 years ago
|
Comment 10•3 years ago
|
||
The severity field for this bug is relatively low, S3. However, the bug has 43 votes.
:robwu, could you consider increasing the bug severity?
For more information, please visit auto_nag documentation.
Comment 11•3 years ago
|
||
The last needinfo from me was triggered in error by recent activity on the bug. I'm clearing the needinfo since this is a very old bug and I don't know if it's still relevant.
Updated•3 years ago
|
Updated•3 years ago
|
Comment 12•2 months ago
|
||
Adding a concrete current user/developer use case for renewed interest.
I wanted to build a small Firefox extension that exposes "Tabs from other devices" as a persistent searchable launchpad page. Desired workflow:
- List native synced tabs grouped by source device.
- Click a remote tab to open its URL in a new background tab, e.g. browser.tabs.create({ url, active: false }).
- Keep the launchpad page open so the user can open many remote tabs one by one without repeatedly navigating through Firefox View, the sidebar, or the account menu.
- Support search/filtering and possibly bulk-open actions.
Firefox already exposes this inventory in Firefox View, Synced Tabs, and the account panel, but WebExtensions do not appear to have read access to the native synced remote-tab data. Extension-managed storage.sync is not an acceptable substitute for this workflow because it cannot see iOS Firefox tabs, does not use the user's existing synced-tab inventory, and has sync/quota/platform limitations.
I don't think Chrome-compatible window/session semantics are necessary for this use case. A Firefox-shaped read-only API returning devices with flat tab metadata would be enough:
- device id/name/type
- tab title
- tab URL
- favicon URL when available
- last modified/accessed timestamp when available
Privacy-wise, an explicit permission warning seems appropriate because this exposes browsing activity. Read-only access alone would unlock a useful class of launchpad/tab-management extensions; remote close/send could be separate permissions or omitted initially.
This is a real user-facing product gap: the built-in UI works for occasional use, but not for a persistent command-center workflow for opening many remote tabs while staying on the list.
Description
•