Comment #10 on issue 2141 by [email protected]: Drag and Drop, dataTransfer.getData("URL") returns undefined http://code.google.com/p/chromium/issues/detail?id=2141
It looks like you're trying to use the getData method during the dragstart event. That's not possible. For security reasons, you can only use getData during the drop operation. See this webkit developer doc for more information: http://developer.apple.com/DOCUMENTATION/AppleApplications/Conceptual/SafariJSProgTop ics/Tasks/DragAndDrop.html I tried this in Firefox 3.0, IE7, and Safari 3.1.1 and got the same behavior (i.e., the drag data was not modified). I think if you change your handling to ondrop, it should work. -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings --~--~---------~--~----~------------~-------~--~----~ Automated mail from issue updates at http://crbug.com/ Subscription options: http://groups.google.com/group/chromium-bugs -~----------~----~----~----~------~----~------~--~---
