Clarify supported properties in tabs.Tab implementation on Android
Categories
(WebExtensions :: Android, task)
Tracking
(firefox152 fixed)
| Tracking | Status | |
|---|---|---|
| firefox152 | --- | fixed |
People
(Reporter: robwu, Assigned: robwu)
References
Details
(Keywords: dev-doc-needed, Whiteboard: [addons-jira])
Attachments
(1 file)
The tabs.Tab implementation for Android has several fields that contain an implementation that is effectively dead code, due to their reliance on implementation details from Fennec that have disappeared after Firefox 68 (when the Firefox for Android version was revamped, codename Fenix).
I came across this again when I was reviewing a patch, so let's clean this up to avoid more confusion.
Updated•3 months ago
|
| Assignee | ||
Comment 1•3 months ago
|
||
Remove misleading dead code, and add comments referencing relevant bugs
where applicable.
| Assignee | ||
Comment 2•3 months ago
|
||
Also putting dev-doc-needed here, because the BCD for tabs.Tab still lists properties as supported on Firefox for Android even when they are not. For the actual support status, see the patch for this bug, and look at the properties at class Tab extends TabBase {.
And while we are at updating the BCD, please also update the BCD for tabs.onUpdated: https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/tabs/onUpdated#browser_compatibility
The only supported changeInfo right are status, url and title. Everything else is not supported on Android right now.
Comment 4•2 months ago
|
||
| bugherder | ||
Description
•