Open Bug 1864824 Opened 2 years ago Updated 2 years ago

getBrowserInfo().name returns "Firefox Nightly"

Categories

(Firefox for Android :: WebExtensions, defect)

Firefox 121
All
Android
defect

Tracking

()

UNCONFIRMED

People

(Reporter: regseb, Unassigned)

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/119.0

Steps to reproduce:

  • Load extension as attachment (which only print browser.runtime.getBrowserInfo() and browser.runtime.getPlatformInfo()).
  • Open console.

Actual results:

{ name: "Firefox Nightly", vendor: "Mozilla", version: "121.0a1", buildID: "20231114213927" }
{ os: "android", arch: "aarch64" }

The name contains "Nightly".

Expected results:

{ name: "Firefox", vendor: "Mozilla", version: "121.0a1", buildID: "20231114213927" }
{ os: "android", arch: "aarch64" }

The name doesn't contain "Nightly".

Attached file nightly.zip
  • manifest.json:
{
  "manifest_version": 3,
  "name": "Test case",
  "version": "1.0.0",
  "background": {
    "scripts": ["background.js"],
    "type": "module"
  }
}
  • background.js:
console.log(await browser.runtime.getBrowserInfo());
console.log(await browser.runtime.getPlatformInfo());

I'm opening this bug to have the same value in Firefox Nightly on desktop and on Android.

Values in:

  • Firefox Nightly on Ubuntu: Firefox
  • Firefox Nightly on Android: Firefox Nightly
  • Firefox on Ubuntu: Firefox

The severity field is not set for this bug.
:jonalmeida, could you have a look please?

For more information, please visit BugBot documentation.

Flags: needinfo?(jonalmeida942)
Severity: -- → S3
Component: General → WebExtensions
Flags: needinfo?(jonalmeida942)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: