Closed Bug 1671378 Opened 5 years ago Closed 5 years ago

browser.runtime.getBrowserInfo() application should return a sensible value

Categories

(GeckoView :: Extensions, defect)

Unspecified
All
defect

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: evilpies, Unassigned)

Details

Firefox for Android Nightly currently returns "Firefox Nightly" for (await browser.runtime.getBrowserInfo()).application.
For reference Firefox (Desktop) Nightly returns just "Firefox". Previous versions of Firefox for Android returned "Fennec".

It would be nice if Fx for Android continued to return something that is identifiable as a mobile browser and doesn't change between stable and Nightly.

While this is obviously a breaking change, it seems kinda inconsistent that browser.runtime.getBrowserInfo() identified Firefox on Android as Fennec in the first place. After all there is browser.runtime.getPlatformInfo() in order to query the OS.

Discussed during triage, we don't really have plans to change this, if you want to know the platform you can use getPlatformInfo() as stated in Comment 1.

Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.