STR (affects both plaintext and HTML mail):
1) Compose a new mail, and attach a Filelink for Dropbox
2) Convert the Filelink to use YouSendIt instead
The old Filelink URL remains in the body of the message. When the conversion completes, the new URL is appended, and the old one still persists.
What should happen?
When converting, the old attachment URL should go away permanently.
Created attachment 612591 [details] [diff] [review]
First run at it, includes tests.
this patch doesn't apply - does the patch for 742538 need to go first? Or vice versa?
Comment on attachment 612591 [details] [diff] [review]
+ * Test that if we convert a Filelink from one provider to another, that the
+ * old Filelink is removed, and a new Filelink is added for the new provider.
This tests both html and plain text compose, right? Probably should add that to the comment.
Created attachment 615366 [details] [diff] [review]
Patch v2 (carrying over r+ from bienvenu)
Comment fixed and patch un-bitrotted.
Committed to comm-central as http://hg.mozilla.org/comm-central/rev/de274c897ab7
Committed to comm-aurora as http://hg.mozilla.org/releases/comm-aurora/rev/458415218fb7