Closed Bug 672691 Opened 13 years ago Closed 13 years ago

get rid of xpcshell test leaks in test_askuser.js

Categories

(Thunderbird :: Testing Infrastructure, defect)

x86
Windows 7
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Thunderbird 8.0

People

(Reporter: Bienvenu, Assigned: Bienvenu)

Details

Attachments

(1 file, 1 obsolete file)

Attached patch proposed fix (obsolete) — Splinter Review
extensions/mdn/test_askuser.js reports a bunch of leaks. We should get rid of the noise. Adding the mailshutdown code fixes the leaks. Picking on rkent because I've got a couple more patches for him to review :-)
Attachment #546946 - Flags: review?(kent)
Comment on attachment 546946 [details] [diff] [review]
proposed fix

requesting review from sid0 since I miss him :-)
Attachment #546946 - Flags: review?(kent) → review?(sid.bugzilla)
Comment on attachment 546946 [details] [diff] [review]
proposed fix

AFAICT this is the wrong way to use mailShutdown -- you need to add it either to a tail_ file or at the end of the test. I'd prefer a tail_ file so that other tests also benefit.
Attachment #546946 - Flags: review?(sid.bugzilla) → review-
Attachment #546946 - Attachment is obsolete: true
Attachment #546958 - Flags: review?(sid.bugzilla)
Comment on attachment 546958 [details] [diff] [review]
fix addressing comments

There's an extra line at the end of tail_mdn.js.

Assuming tests pass (I haven't checked), r+.
Attachment #546958 - Flags: review?(sid.bugzilla) → review+
http://hg.mozilla.org/comm-central/rev/de3adcbeac32
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
(In reply to comment #5)
> http://hg.mozilla.org/comm-central/rev/de3adcbeac32

and followup: http://hg.mozilla.org/comm-central/rev/a159b6b37680

"Someone should teach bienvenu about DONTBUILD" ;-)
Target Milestone: --- → Thunderbird 8.0
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: