Closed
Bug 1048706
Opened 10 years ago
Closed 10 years ago
Log a message on startup when chaos mode is enabled
Categories
(Toolkit :: Startup and Profile System, defect)
Tracking
()
RESOLVED
FIXED
mozilla35
People
(Reporter: cjones, Assigned: cjones)
Details
Attachments
(1 file, 1 obsolete file)
1.21 KB,
patch
|
cjones
:
review+
|
Details | Diff | Splinter Review |
I enabled chaos mode, but after a suspiciously quick rebuild, I wasn't sure if I screwed something up or not. So this patch logs a (cheesy) message on startup if chaos mode is on.
Attachment #8467543 -
Flags: review?(jmathies)
Comment 1•10 years ago
|
||
Comment on attachment 8467543 [details] [diff] [review] Log a message on startup when chaos mode is enabled. Review of attachment 8467543 [details] [diff] [review]: ----------------------------------------------------------------- ::: toolkit/xre/nsAppRunner.cpp @@ +2851,5 @@ > > StartupTimeline::Record(StartupTimeline::MAIN); > > + if (ChaosMode::isActive()) { > + printf_stderr("[ [ [ [ [ C H A O S M O D E ] ] ] ] ]\n"); nit - a wee bit obnoxious, you might want to tone the message down. Something more simplistic like "*** You are running in chaos test mode. See ChaosMode.h. ***"
Attachment #8467543 -
Flags: review?(jmathies) → review+
Assignee | ||
Comment 2•10 years ago
|
||
Thanks for the quick review! I haven't had a chance to get back to this lately, but will address your comment when I do.
Assignee | ||
Comment 3•10 years ago
|
||
Changed message, carrying r=jimm.
Attachment #8467543 -
Attachment is obsolete: true
Attachment #8491676 -
Flags: review+
Assignee | ||
Updated•10 years ago
|
Keywords: checkin-needed
Comment 4•10 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/f03f4456e789
Assignee: nobody → cjones.bugs
Keywords: checkin-needed
Comment 5•10 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/f03f4456e789
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla35
Updated•10 years ago
|
Flags: qe-verify-
You need to log in
before you can comment on or make changes to this bug.
Description
•