nsIMsgFolder.deleteMessages should notify listener in all cases
Categories
(MailNews Core :: General, enhancement)
Tracking
(Not tracked)
People
(Reporter: darktrojan, Assigned: darktrojan)
References
Details
Attachments
(2 files)
2.90 KB,
patch
|
mkmelin
:
review+
|
Details | Diff | Splinter Review |
1.95 KB,
patch
|
mkmelin
:
review+
|
Details | Diff | Splinter Review |
Some implementations of deleteMessage do nothing with the passed listener in some circumstances, e.g. IMAP when bypassing the trash folder. In order to make bug 1520338 easier, I'm looking into what does and doesn't use the listener, and then making everything use the listener.
Assignee | ||
Comment 1•6 years ago
|
||
That turned out to be easier than expected. I can't see any more implementations of the method.
Comment 2•6 years ago
|
||
Assignee | ||
Comment 3•6 years ago
|
||
It seems to have been superseded by kDeleteOrMoveMsgCompleted. Same goes for NotifyFolderLoaded. I'll remove them.
Assignee | ||
Comment 4•6 years ago
|
||
Updated•6 years ago
|
Pushed by geoff@darktrojan.net:
https://hg.mozilla.org/comm-central/rev/424dfd930d60
When a listener is passed to nsIMsgFolder.deleteMessages, notify it on completion; r=mkmelin
https://hg.mozilla.org/comm-central/rev/e8392f4d3862
Remove commented, unimplemented methods NotifyDeleteOrMoveMessagesCompleted, NotifyFolderLoaded; r=mkmelin
Assignee | ||
Updated•6 years ago
|
Assignee | ||
Comment 6•6 years ago
|
||
This broke a bunch of tests in mailnews/db/gloda/test/unit. :(
Comment 8•6 years ago
|
||
Backed out all three changesets:
https://hg.mozilla.org/comm-central/rev/a497d72c3d8aefee03941b0af2b18b673721ccbc
Pushed by geoff@darktrojan.net:
https://hg.mozilla.org/comm-central/rev/954fd69c1e3c
When a listener is passed to nsIMsgFolder.deleteMessages, notify it on completion; r=mkmelin
https://hg.mozilla.org/comm-central/rev/5565f32e3a87
Remove commented, unimplemented methods NotifyDeleteOrMoveMessagesCompleted, NotifyFolderLoaded; r=mkmelin
Description
•