Chromium Code Reviews
DescriptionPrevent 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}
(cherry picked from commit 7dfa247951db2ccb10b8b5276eb58a33cda4728f)
Committed: https://chromium.googlesource.com/chromium/src/+/13b936546c5148df17caa25ee744d94307ff9e94
Patch Set 1 #
Messages
Total messages: 2 (1 generated)
|
|||||||||||||||||||||||||||||||||||||