question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Why does the firefox application.ini says CodeName=Nightly?

See original GitHub issue

I knew that back in the earlier versions of playwright, you were using the nightly version instead of the stable version. Now I see that you started using the Firefox stable version (https://playwright.dev/docs/browsers#firefox). However when I navigate to my browsers installation folder I found this in the firefox application.ini:

; This file is not used. If you modify it and want the application to use
; your modifications, move it under the browser/ subdirectory and start with
; the "-app /path/to/browser/application.ini" argument.
[App]
Vendor=Mozilla
Name=Firefox
RemotingName=firefox-default
CodeName=Nightly
Version=105.0.1
BuildID=20221003092848
ID={ec8030f7-c20a-464f-9b0e-13a3a9e97384}

[Gecko]
MinVersion=105.0.1
MaxVersion=105.0.1

[XRE]
EnableProfileMigrator=1


[AppUpdate]
URL=https://aus5.mozilla.org/update/6/%PRODUCT%/%VERSION%/%BUILD_ID%/%BUILD_TARGET%/%LOCALE%/%CHANNEL%/%OS_VERSION%/%SYSTEM_CAPABILITIES%/%DISTRIBUTION%/%DISTRIBUTION_VERSION%/update.xml

I am a bit confused whether you are using the nightly version but say that it is the stable version or if this file is actually outdated and is being overwritten by the playwright installer (I am using the playwright CLI to update browsers npx playwright install).

These are the versions of playwright I have installed:

"@playwright/test": "^1.27.1",
"playwright": "^1.27.1",
"playwright-core": "^1.27.1",

And the firefox folder I am in is: firefox-1357

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
aslushnikovcommented, Oct 21, 2022

@francopcwolfram we build firefox with “unofficial” branding. This is the default branding for un-official builds.

Also I would like to know the version/flavour you are using as base.

You can navigate to about:buildconfig in Firefox - it gives all the build configuration.

Hope it helps!

0reactions
francopcwolframcommented, Oct 17, 2022

See this is the default application.ini that you get when you download firefox for linux from their site:

; This file is not used. If you modify it and want the application to use
; your modifications, move it under the browser/ subdirectory and start with
; the "-app /path/to/browser/application.ini" argument.
[App]
Vendor=Mozilla
Name=Firefox
RemotingName=firefox
Version=105.0.3
BuildID=20221007134813
SourceRepository=https://hg.mozilla.org/releases/mozilla-release
SourceStamp=5a2af3ed86a64618b34bde6f427f2132b13f6bed
ID={ec8030f7-c20a-464f-9b0e-13a3a9e97384}

[Gecko]
MinVersion=105.0.3
MaxVersion=105.0.3

[XRE]
EnableProfileMigrator=1

[Crash Reporter]
Enabled=1
ServerURL=https://crash-reports.mozilla.com/submit?id={ec8030f7-c20a-464f-9b0e-13a3a9e97384}&version=105.0.3&buildid=20221007134813

[AppUpdate]
URL=https://aus5.mozilla.org/update/6/%PRODUCT%/%VERSION%/%BUILD_ID%/%BUILD_TARGET%/%LOCALE%/%CHANNEL%/%OS_VERSION%/%SYSTEM_CAPABILITIES%/%DISTRIBUTION%/%DISTRIBUTION_VERSION%/update.xml
Read more comments on GitHub >

github_iconTop Results From Across the Web

933803 - Firefox doesn't work with -app application.ini
ini. Specifically, It's not even changing vendor and/or name that is broken, it's changing the profile base directory, which, by default, derives from...
Read more >
[mozversion] Allow to retrieve the application code name ...
The official brand name is kept in a browser.dtd so we won't get proper results mapping the brand name against the source branches....
Read more >
application.ini Firefox 11+ (Thunderbird 11+ / SeaMonkey 2.8+)
With the removal of application.ini, maybe override.ini should be read by ... to have been regressed, so I no longer have anything to...
Read more >
Firefox won't start - can not find profile. Continually happens ...
Every time I start Firefox, the application gives me the error that it is missing the profile. I can got to the windows...
Read more >
Firefox options, preferences and settings - Mozilla Support
Options/Preferences panels give you access to Firefox settings. This article describes what types of settings are available in each panel.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found