[Webkit-unassigned] [Bug 42874] New: DragEvent.dataTransfer.setData and/or DragEvent.dataTransfer.getData fail

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jul 23 00:09:09 PDT 2010


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

           Summary: DragEvent.dataTransfer.setData and/or
                    DragEvent.dataTransfer.getData fail
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
               URL: http://decafbad.com/2009/07/drag-and-drop/api-demos.ht
                    ml#data_transfer
        OS/Version: Windows 7
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: New Bugs
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: JasonGross9 at gmail.com


Created an attachment (id=62383)
 --> (https://bugs.webkit.org/attachment.cgi?id=62383)
Simple test case of bug.  Drag the image.  The dialog that pops up should say 1 = 1.  It currently says 1 = undefined.

The DragEvent.dataTransfer.getData(format) returns undefined when DragEvent.dataTransfer.setData(format, data) was used immediately preceding.  See http://decafbad.com/2009/07/drag-and-drop/api-demos.html#data_transfer for an example of this failing.  Alternatively, the attached file calls DragEvent.dataTransfer.setData('text/plain', '1'), and then alerts DragEvent.dataTransfer.getData('text/plain').  Currently, it alerts that it it undefined.

-- 
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