Closed Bug 2070022 Opened 2 months ago Closed 2 months ago

Remove unused MIME emitters

Categories

(MailNews Core :: MIME, task)

task

Tracking

(Not tracked)

RESOLVED FIXED
157 Branch

People

(Reporter: darktrojan, Assigned: darktrojan)

References

Details

Attachments

(5 external files)

nsStreamConverter and friends contain a bunch of unused code from old uses that no longer work as they once did. Let's remove it!

Saving to these file types uses the stream converter in ways that don't currently have test coverage.

This is being used, but the output is completely ignored (it's for quoting messages when quoting
is disabled), so it might as well not be here.

Saving a message as a text file uses this print output to work around an ancient bug. The output
is identical if the save-as output is used, and besides, the feature's been broken from as far
back as I can check until recently, so nobody's going to complain about regressions.

Depends on: 2070074
Target Milestone: --- → 157 Branch

Pushed by geoff@darktrojan.net:
https://hg.mozilla.org/comm-central/rev/fb10c22011d2
Add test coverage for saving a message as .txt or .html. r=BenC
https://hg.mozilla.org/comm-central/rev/e7230c5f948b
Annotate nsStreamConverter options with what uses them. r=BenC
https://hg.mozilla.org/comm-central/rev/a3118300cd2b
Remove the unused XML emitter. r=BenC
https://hg.mozilla.org/comm-central/rev/ccad56f3caa8
Remove the unused plain-text emitter. r=BenC
https://hg.mozilla.org/comm-central/rev/9b3ce180d478
Stop using and remove the nsStreamConverter print output. r=mkmelin

Status: ASSIGNED → RESOLVED
Closed: 2 months ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: