Closed
Bug 522357
Opened 15 years ago
Closed 15 years ago
test_compactOfflineStore.js hangs for a long time - Not enough arguments [nsIMsgImapMailFolder.markPendingRemoval]
Categories
(MailNews Core :: Backend, defect)
MailNews Core
Backend
Tracking
(Not tracked)
RESOLVED
FIXED
Thunderbird 3.0rc1
People
(Reporter: standard8, Assigned: standard8)
References
Details
(Keywords: fixed-seamonkey2.0.1)
Attachments
(1 file)
894 bytes,
patch
|
Bienvenu
:
review+
|
Details | Diff | Splinter Review |
I noticed this testing some patches earlier, test_compactOfflineStore.js hangs (0% cpu) for a long time (I'd actually thought a patch had broken it).
I ran it in interactive mode and found at the point it hangs:
[Exception... "Not enough arguments [nsIMsgImapMailFolder.markPendingRemoval]" nsresult: "0x80570001 (NS_ERROR_XPC_NOT_ENOUGH_ARGS)" location: "JS frame :: /Users/moztest/comm/main/tb/mozilla/_tests/xpcshell/test_imap/unit/test_compactOfflineStore.js :: testPendingRemoval :: line 101" data: no]
This is fallout from bug 521134.
The attached patch fixes the hang by providing the right number of arguments. It also changes the dump of an exception to a do_throw ensuring that the exception is actually handled as a failure rather than absorbing and hiding it.
Attachment #406318 -
Flags: review?(bienvenu)
Comment 1•15 years ago
|
||
Comment on attachment 406318 [details] [diff] [review]
The fix
oops, thx, Mark.
Attachment #406318 -
Flags: review?(bienvenu) → review+
Assignee | ||
Comment 2•15 years ago
|
||
Status: NEW → RESOLVED
Closed: 15 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Updated•15 years ago
|
Keywords: fixed-seamonkey2.0.1
You need to log in
before you can comment on or make changes to this bug.
Description
•