Open
Bug 1388471
Opened 7 years ago
Updated 11 months ago
Add a configuration option for "this is a local development build"
Categories
(Firefox Build System :: General, enhancement)
Firefox Build System
General
Tracking
(firefox57 wontfix)
NEW
Tracking | Status | |
---|---|---|
firefox57 | --- | wontfix |
People
(Reporter: bgrins, Unassigned)
References
(Blocks 1 open bug)
Details
Spinning this discussion out from https://bugzilla.mozilla.org/show_bug.cgi?id=1385452#c9.
There's a few places where we want to run code or change a preference only in a local development build. Right now we use !MOZILLA_OFFICIAL for that, but it's not obvious what it means when reading the code, and it's potentially not reliable.
Reporter | ||
Comment 1•7 years ago
|
||
Copying over needinfo from the other bug:
(In reply to Gregory Szorc [:gps] from comment #9)
> glandium: Clearly identifying "is this a dev build" has come up a few times
> recently. Could we expose something explicit so consumers don't key off
> MOZILLA_RELEASE or things like whether omni.ja is flat (like what the OS X
> sandbox is doing, ugh). I think I'd be ok with a variable that is implied
> unless --enable-release or MOZ_AUTOMATION are in play.
Flags: needinfo?(mh+mozilla)
Reporter | ||
Comment 2•7 years ago
|
||
There are a couple of usages of Services.appinfo.isOfficial that could potentially be switched to a new option as well
Updated•7 years ago
|
status-firefox57:
--- → wontfix
Updated•7 years ago
|
Product: Core → Firefox Build System
Updated•2 years ago
|
Severity: normal → S3
Comment 3•11 months ago
|
||
Rereading this after all these years... isn't this covered by DEVELOPER_OPTIONS?
Flags: needinfo?(mh+mozilla)
You need to log in
before you can comment on or make changes to this bug.
Description
•