Closed
Bug 1073536
Opened 10 years ago
Closed 10 years ago
Allow me to find out if MOZILLA_OFFICIAL is set from an xpcshell-test
Categories
(Testing :: XPCShell Harness, defect)
Testing
XPCShell Harness
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla35
People
(Reporter: gfritzsche, Assigned: gfritzsche)
References
Details
Attachments
(1 file)
(deleted),
patch
|
ted
:
review+
|
Details | Diff | Splinter Review |
xpcshell.ini can tell this via |official|, but inside xpcshell-test we apparently have no way to check this.
Comment 1•10 years ago
|
||
While fixing a bunch of tests to not use the preprocessor I wound up just adding a bunch of things like that to nsIXULRuntime:
http://hg.mozilla.org/mozilla-central/annotate/5e704397529b/xpcom/system/nsIXULRuntime.idl#l143
They're pretty trivial to implement if you want to go that route:
http://hg.mozilla.org/mozilla-central/annotate/5e704397529b/toolkit/xre/nsAppRunner.cpp#l946
Assignee | ||
Comment 2•10 years ago
|
||
Ted, can you review this?
Updated•10 years ago
|
Attachment #8501033 -
Flags: review?(ted) → review+
Assignee | ||
Comment 3•10 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla35
You need to log in
before you can comment on or make changes to this bug.
Description
•