Closed Bug 633492 Opened 15 years ago Closed 15 years ago

remove useless test-window-helpers.js dump statements

Categories

(Thunderbird :: Testing Infrastructure, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Thunderbird 3.3a3

People

(Reporter: asuth, Assigned: asuth)

Details

Attachments

(1 file)

I left a bunch of annoying dump statements in test-window-helpers.js. They may have been useful at some point, but they just seem to add useless gibberish to the output at this point.
Attachment #511708 - Flags: review?(sid.bugzilla)
Comment on attachment 511708 [details] [diff] [review] remove dump statements > > try { >- dump("::: calling\n"); > try { > let runner = new frame.Runner(collector); > runner.wrapper(this.subTestFunc, troller); > } > catch (ex) { >- dump("problem running: " + ex.fileName + ":" + ex.lineNumber + ": " + ex + "\n"); > } I think this should result in a failure, so please remove the try/catch as well.
Attachment #511708 - Flags: review?(sid.bugzilla) → review+
(In reply to comment #1) > I think this should result in a failure, so please remove the try/catch as > well. It appears the wrapper function takes care of all of the exception handling for us anyways, so that code was moot.
pushed to trunk with requested changed: http://hg.mozilla.org/comm-central/rev/625f6f4e11bd
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Target Milestone: --- → Thunderbird 3.3a3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: