(In reply to comment #62)
> We have some automated tests for drag-and-drop, why can't we automate a test
> here?
Because of GetFiles(). It blocks us getting the files if the original event of the transferData was not "drop", but the way we make a dataTransfer in script is to synthesise a "dragstart" event and use that.
(In reply to comment #62)
> We have some automated tests for drag-and-drop, why can't we automate a test
> here?
Because of GetFiles(). It blocks us getting the files if the original event of the transferData was not "drop", but the way we make a dataTransfer in script is to synthesise a "dragstart" event and use that.