Closed Bug 644513 Opened 13 years ago Closed 13 years ago

Remove the presshell argument to nsEudoraEditor::Init as it's no longer necessary

Categories

(MailNews Core :: Import, defect)

x86
Windows 7
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Thunderbird 5.0b1

People

(Reporter: philip.chee, Assigned: neil)

References

Details

This needs to be fixed on comm-central after it branches.

http://hg.mozilla.org/mozilla-central/rev/820c0e4e88db
Bug 407127 - Part 6: Remove the presshell argument to nsIEditor::Init as it's no longer necessary
Summary: Remove the presshell argument to nsEudoraEditor::Init as it's no longer necessar → Remove the presshell argument to nsEudoraEditor::Init as it's no longer necessary
Fixed
Neil pushed http://hg.mozilla.org/comm-central/rev/c5792851ad63
Assignee: nobody → neil
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → Thunderbird 3.3a4
Hmm, what is nsEudoraEditor?  Does anybody use it?  I'll be breaking many of the editor APIs in the mid-term future, so I need to coordinate with downstream users of the API, if there are any...
It is in some of our import code, I can't quite remember what it does, but its some sort of processing on import. Bienvenu may rememeber.
Yes, eudora import (and to a lesser extend, Outlook import, iirc), uses a fake compose window to import message contents, and then exports the message from the compose window and saves *that* to the local message store - it allows the import code to create correctly structured mime messages, e.g., for messages with attachments.
FYI, part of this fake compose window includes simulating the OutputToString and GetEmbeddedObjects methods on the editor.
Well, I'm probably safe to assume that we have zero tests which cover this in comm-central.  ;-)  So, this is probably worth keeping in mind for Thunderbird QA!
You need to log in before you can comment on or make changes to this bug.