WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
UNCONFIRMED
42874
DragEvent.dataTransfer.setData and/or DragEvent.dataTransfer.getData fail
https://bugs.webkit.org/show_bug.cgi?id=42874
Summary
DragEvent.dataTransfer.setData and/or DragEvent.dataTransfer.getData fail
Jason
Reported
2010-07-23 00:09:09 PDT
Created
attachment 62383
[details]
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.
Attachments
Simple test case of bug. Drag the image. The dialog that pops up should say 1 = 1. It currently says 1 = undefined.
(41 bytes, text/plain)
2010-07-23 00:09 PDT
,
Jason
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Daniel Trebbien
Comment 1
2013-07-22 14:02:50 PDT
I think that this is a duplicate of
https://bugs.webkit.org/show_bug.cgi?id=23695
Using the latest nightly,
r152754
built on 17 July 2013, I am seeing 1 = 1.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug