Prevent drag-and-drop events from firing over cross-site, same-page frames.
This is done by storing the source RenderViewHost and RenderProcessHost for each dragstart. Then, for other drag events (like dragover), if the target frame for that event is in the same RenderViewHost, but different RenderProcessHost, than the source, then the event is not fired. Note that this patch will not affect behavior on Mac, and a subsequent CL will enforce the same thing for Mac. BUG=666858 Review-Url: https://codereview.chromium.org/2568893002 Cr-Commit-Position: refs/heads/master@{#438609}
Showing
Please register or sign in to comment