Closed
Bug 921293
Opened 11 years ago
Closed 11 years ago
Don't print NS_WARNINGs if an environment variable is set
Categories
(Core :: XPCOM, defect)
Tracking
()
RESOLVED
FIXED
mozilla27
People
(Reporter: billm, Assigned: billm)
References
Details
Attachments
(1 file)
959 bytes,
patch
|
benjamin
:
review+
|
Details | Diff | Splinter Review |
It's useful to be able to see JS errors on stdout when running debug builds. However, there's a lot of debug spew that gets in the way. Some of it can be disabled with MOZ_QUIET. However, there are still a lot of lines printed from NS_WARNINGs. Ideally we would fix these, but the same ones have been printing for quite a while and on every browser startup, so that seems unlikely. This patch adds another environment variable, MOZ_IGNORE_WARNINGS, that allows you to silence these messages. Possibly we should use MOZ_QUIET for this purpose as well?
Attachment #810877 -
Flags: review?(benjamin)
Updated•11 years ago
|
Attachment #810877 -
Flags: review?(benjamin) → review+
Assignee | ||
Comment 1•11 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/2cda3246c311
Comment 2•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/2cda3246c311
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla27
You need to log in
before you can comment on or make changes to this bug.
Description
•