Open Bug 2057047 Opened 4 months ago Updated 16 days ago

Remove nsIMsgFolder.createSubfolder()

Categories

(MailNews Core :: General, task)

task

Tracking

(Not tracked)

People

(Reporter: benc, Unassigned)

References

(Depends on 1 open bug)

Details

Bug 1892531 adds async folder creation functions which should be able to render nsIMsgFolder.createSubfolder() obsolete.

.createSubFolder() takes an nsIMsgWindow, which (if non-null) is presumably used to pop up error dialogs.

The first step would be to go through the existing .createSubFolder() implementations and see how they use the nsIMsgWindow. Then we know what kind of responses need to be implemented.

In general, the aim is to make the error-display behaviour the responsibility of the caller, not the nsIMsgFolder itself (Bug 2057045)

Depends on: 2059386
Depends on: 2059388

Like I wrote in bug 2057045, nsIMsgWindow is always null now and it will be going away shortly.

Depends on: 2078063
See Also: → 2039001
You need to log in before you can comment on or make changes to this bug.