Open Bug 610964 Opened 14 years ago Updated 2 years ago

Missing tests for attachments that are emails, drag-and-drop in the composition window

Categories

(Thunderbird :: Testing Infrastructure, defect)

x86_64
Linux
defect

Tracking

(Not tracked)

People

(Reporter: protz, Unassigned)

References

Details

So we've been unable to test some features in the two blocked bugs (namely bugs 559559, 195702) and I definitely think we should write some tests for these cases.

- Tests for attached .eml files depend on bug 606699. Currently, there's no size information broadcast from libmime for .eml attachments (gloda's mime representation works around this by counting the bytes in the part and presenting it as the size, maybe we should do the same trick).
- Tests for drag&drop depend on having support for this in mozmill. I don't know if this is part of any bug. If it is, we should make this bug depend on it.

Jim, I took the liberty of assigning to you :-). Hope you don't mind!
Assignee: nobody → squibblyflabbetydoo
Adding dependency on the Mozmill "drag-and-drop in chrome" bug. It sounds like it will get added in 1.5.2, but I believe Thunderbird is currently using 1.4.2b1, so it may be a while before I can write these tests.
Depends on: 515776
The tests in bug 661993 do 1/3 of this (attachments that are emails in the composer). Still remaining to do:

* Attachments that are emails in the reader
* Drag-and-drop anything (ugh)
Depends on: 661993
In the origin bug it was alleged that we only currently have tests for intra-window d-n-d.  We actually do have tests in tab-mail that do inter-window stuff:
http://mxr.mozilla.org/comm-central/source/mail/test/mozmill/tabmail/test-tabmail-dragndrop.js

The test has its own drag-and-drop synthesis logic because the built-in stuff didn't work, likely because of the aforementioned "mozmill 1.4.2 can't do it" problem.  It's worth noting that it's not hard to get mozmill 1.5.x running; I already have a patch on bug 656736 that I think fixes everything that breaks.
No longer depends on: 559559
Depends on: 559559
I'm probably not going to work on this anytime soon...
Assignee: squibblyflabbetydoo → nobody
Status: ASSIGNED → NEW
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.