[Webkit-unassigned] [Bug 67025] New: HTML5 Drag and Drop does not allow custom types

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Aug 26 02:11:33 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=67025

           Summary: HTML5 Drag and Drop does not allow custom types
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
               URL: http://jsfiddle.net/pimvdb/HU6Mk/10/
        OS/Version: Unspecified
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: New Bugs
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: pimvdb at live.nl


e.dataTransfer.setData("text/plain", "test");

allows one to fetch the data using

e.dataTransfer.getData("text/plain");

---

On the other hand, using a custom type like

e.dataTransfer.setData("custom", "test");

does *not* allow one to fetch the data using

e.dataTransfer.getData("custom");

---

This is not as it should according to the specs:

http://dev.w3.org/html5/spec/Overview.html#the-drag-data-item-type-string

"The API does not enforce the use of MIME types; other values can be used as well."

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list