Closed Bug 2032928 Opened 3 months ago Closed 2 months ago

Clarify supported properties in tabs.Tab implementation on Android

Categories

(WebExtensions :: Android, task)

task

Tracking

(firefox152 fixed)

RESOLVED FIXED
152 Branch
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.

See Also: → 1555094

Remove misleading dead code, and add comments referencing relevant bugs
where applicable.

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.

Keywords: dev-doc-needed
Pushed by rob@robwu.nl: https://github.com/mozilla-firefox/firefox/commit/905400f97041 https://hg.mozilla.org/integration/autoland/rev/fc5cb57f56fd Clarify misleading Tab API support for Android r=willdurand,geckoview-reviewers,ohall
Status: NEW → RESOLVED
Closed: 2 months ago
Resolution: --- → FIXED
Target Milestone: --- → 152 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: