Bug 67476

Summary: drag&drop between an iframe and parent window in other domain does not work
Product: WebKit Reporter: Julien Bachmann <julien.bachmann>
Component: UI EventsAssignee: Nobody <webkit-unassigned>
Status: UNCONFIRMED    
Severity: Normal CC: ap, dbates, dtrebbien, oliver, sam
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Mac (Intel)   
OS: OS X 10.6   
URL: http://jsfiddle.net/julbmann/7XScV/

Julien Bachmann
Reported 2011-09-02 05:04:00 PDT
What steps will reproduce the problem? 1. Open URL http://jsfiddle.net/julbmann/7XScV/ 2. try to drag and drop red square to the drop zone What is the expected result? An alert display the message "Clipboard content :-)" What happens instead? Nothing happens. No events are triggered(dragenter, dragover, drop) I also make a test where iframe is in the same domain as parent and in this case drag&drop is working (http://jsfiddle.net/julbmann/dXeM6/). So the bug is only when iframe is in another domain. It is a wrong cross domain check somewhere. Because if you open two different windows with the test URL you can drag&drop between two window but not in the same window.
Attachments
Note You need to log in before you can comment on or make changes to this bug.