You cannot drop file to the file input control in the URL.
Created attachment 575388 [details] [diff] [review] Patch I don't know how to drop a file by synthesized event...
Created attachment 576860 [details] [diff] [review] Patch
Comment on attachment 576860 [details] [diff] [review] Patch Thanks for doing this event-listener-systemifying. This needs tests, I think. (Unfortunately writing dnd tests is quite painful.)
smaug: Do you know some examples for the tests? * I don't know how to write the dnd test with file. * I don't know how to get the bounding rect of native anonymous elements (text edit field and button).
Smaug: See above comment.
https://hg.mozilla.org/integration/mozilla-inbound/rev/fa2abb5852bd landed without tests since I don't have idea for creating them, see comment 4.