Closed
Bug 979936
Opened 10 years ago
Closed 10 years ago
delete unused `quiet' param-handling code in setup.js
Categories
(Testing :: Mochitest, defect)
Testing
Mochitest
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla30
People
(Reporter: froydnj, Assigned: froydnj)
Details
Attachments
(1 file, 1 obsolete file)
2.44 KB,
patch
|
froydnj
:
review+
|
Details | Diff | Splinter Review |
No description provided.
Assignee | ||
Comment 1•10 years ago
|
||
AFAICS from mochitest_options.py or runtests.py's buildURLOptions: http://mxr.mozilla.org/mozilla-central/source/testing/mochitest/runtests.py#291 there's no `quiet' param that can be provided as a URL parameter.
Attachment #8386208 -
Flags: review?(jmaher)
Comment 2•10 years ago
|
||
Comment on attachment 8386208 [details] [diff] [review] delete unused `quiet' param-handling code in setup.js Review of attachment 8386208 [details] [diff] [review]: ----------------------------------------------------------------- good find.
Attachment #8386208 -
Flags: review?(jmaher) → review+
Assignee | ||
Comment 3•10 years ago
|
||
So, thinking about this and testing this shows the previous patch to be spectacularly wrong, since if |params.quiet| does not exist, then |!params.quiet| is always true. Hence, the logging listener was always added. Deleting the logging listener, therefore, causes lots of things to go wrong, such as TEST_{START,END,etc.} messages not being printed... I've corrected that mistake in the attached patch, moving the addListener() call down close to initialization code, rather than in the middle of checking params for various values. I don't see anything wrong with carrying over r+ on this, though I am going to sanity-check this with Try, just to make sure.
Attachment #8386208 -
Attachment is obsolete: true
Attachment #8387122 -
Flags: review+
Assignee | ||
Comment 4•10 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/334db4ff0617
Flags: in-testsuite-
Assignee | ||
Updated•10 years ago
|
Assignee: nobody → nfroyd
Comment 5•10 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/334db4ff0617
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla30
You need to log in
before you can comment on or make changes to this bug.
Description
•