RESOLVED FIXED 30527
[Win] event.dataTransfer.types is NULL but should be the list formats set in the dragstart event
https://bugs.webkit.org/show_bug.cgi?id=30527
Summary [Win] event.dataTransfer.types is NULL but should be the list formats set in ...
Daniel Bates
Reported 2009-10-19 12:31:21 PDT
Following up from my comment on bug #30266. On Windows, event.dataTransfer.types is NULL on a successful drop despite any formats set in the dragstart event. According to section 7.9.2 of the HTML 5 spec (http://dev.w3.org/html5/spec/Overview.html#the-dragevent-and-datatransfer-interfaces), it should be the list of the formats that were set in the dragstart event.
Attachments
Example (9.47 KB, text/html)
2009-10-19 12:31 PDT, Daniel Bates
no flags
Patch (5.74 KB, patch)
2010-01-18 08:57 PST, Daniel Cheng
aroben: review+
aroben: commit-queue-
Daniel Bates
Comment 1 2009-10-19 12:31:43 PDT
Created attachment 41438 [details] Example
Sandro Mani
Comment 2 2009-12-13 16:11:27 PST
Actually it seems to work if the registered content type is text/plain, but seems to fail for other basic ones (text/html) for example.
Adam Roben (:aroben)
Comment 3 2010-01-18 06:21:38 PST
*** Bug 33738 has been marked as a duplicate of this bug. ***
Daniel Cheng
Comment 4 2010-01-18 08:57:57 PST
Adam Roben (:aroben)
Comment 5 2010-01-18 09:03:37 PST
Comment on attachment 46826 [details] Patch There are a couple of conflict markers in your ChangeLogs. I'll take care of them before landing. Thanks!
Adam Roben (:aroben)
Comment 6 2010-01-18 09:20:40 PST
Note You need to log in before you can comment on or make changes to this bug.