Closed Bug 587582 Opened 14 years ago Closed 14 years ago

ReferenceError: gCurrStatus is not defined in various mailnews xpcshell-tests

Categories

(MailNews Core :: Testing Infrastructure, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: standard8, Assigned: standard8)

References

()

Details

Attachments

(1 file)

I think this has been highlighted by recent changes to do_timeout (bug 586692) - meaning that errors thrown within do_timeout callbacks are actually caught and handled properly as test failures.

This has shown that there's a set of mailnews tests that are using a big timeout in case the test fails, and try to report "gCurrStatus" but that isn't actually defined for those tests...
Assignee: nobody → bugzilla
Attached patch The fixSplinter Review
There's been too much copy and paste here ;-) All of these don't use the file that gives them gCurrStatus.
Attachment #466282 - Flags: review?(bienvenu)
Attachment #466282 - Flags: review?(bienvenu) → review+
Checked in: http://hg.mozilla.org/comm-central/rev/6468ea1719e6
Status: NEW → RESOLVED
Closed: 14 years ago
Flags: in-testsuite-
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: