Closed Bug 1361712 Opened 7 years ago Closed 4 years ago

List environment variables Firefox pays attention to in about:support

Categories

(Toolkit :: General, task)

task

Tracking

()

RESOLVED FIXED
81 Branch
Tracking Status
firefox-esr68 --- wontfix
firefox76 --- wontfix
firefox77 --- wontfix
firefox78 --- wontfix
firefox81 --- fixed

People

(Reporter: ato, Assigned: jaws)

References

Details

Attachments

(1 file)

Environment variables such as MOZ_HEADLESS, MOZ_LOG, MOZ_APP_RESTART, XRE_PROFILE_PATH, XRE_PROFILE_LOCAL_PATH, XRE_PROFILE_NAME, MOZ_MARIONETTE et al. affect how Firefox behaves.  Some of these variables can change the behaviour of Firefox substantially, which for example is the case with MOZ_MARIONETTE.

As part of the security follow-up from https://bugzilla.mozilla.org/show_bug.cgi?id=marionette-security and https://bugzilla.mozilla.org/show_bug.cgi?id=1355888#c87, it was discovered that whilst many other useful things are listed in about:support, such as ‘Important Modified Preferences’, we don’t list what environment variables the browser is paying attention to anywhere.

As any environment variables may, by indirection, affect the behaviour of Firefox (e.g. DISPLAY or GDK settings), maybe listing everything from env(1) would be a good idea.

Not having this bit us in bug 1630095. Bumping to S2 to hopefully get this looked at.

Severity: normal → S2
Type: enhancement → defect
See Also: → 1630095

S1 or S2 bugs need an assignee - could you find someone for this bug?

Flags: needinfo?(dolske)
Type: defect → task
Flags: needinfo?(jdinbox) → needinfo?(bwinton)
Assignee: nobody → jaws
Status: NEW → ASSIGNED
Flags: needinfo?(bwinton)
Pushed by jwein@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/bbcf06d9a1f0
Show environment variables in about:support. r=Gijs
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 81 Branch
Regressions: 1660264
Regressions: 1660558
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: