Open
Bug 599708
Opened 14 years ago
Updated 2 years ago
UpdateFolderWithListener should properly indicate when it's done
Categories
(MailNews Core :: Filters, defect)
MailNews Core
Filters
Tracking
(Not tracked)
NEW
People
(Reporter: bugzilla, Unassigned)
References
Details
(Whiteboard: [patchlove])
Attachments
(1 file)
15.05 KB,
patch
|
Details | Diff | Splinter Review |
As Kent mentioned in bug 584327 comment #9 this could be a core bug. Perhaps this could be also related to the random oranges we get e.g. for test_imapUndo.js?
Comment 2•10 years ago
|
||
I spent quite a bit of time trying to get updateFolderWithListener working more reliably in tests, trying to get test_imapPlayback working with maildir in bug 1113275. The issues have to do with nsImapOfflineSync which returns early while urls are still running. I ultimately decided that, for the purposes of bug 1113275, then changes needed were too extensive and unrelated to getting maildir working. I could get maildir working by not trying to restart the test like we do in other tests. I'll post the patch I was working on, which does not work but a least shows some of the areas where the problems exist.
Comment 3•10 years ago
|
||
Updated•8 years ago
|
Whiteboard: [patchlove]
For me it seems like the reasons to upgrade UpdateFolderWithListener was the test infrastructure.
This reason should be gone with the usage of PromiseTestUtils.
PromiseUrlListener
Example Usage
If you have another usage besides the test infrastructure we could consider adding this feature.
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•