-
inferno@chromium.org authored
Reviewed by Adam Barth. Not allow drag and drop across different origins. https://bugs.webkit.org/show_bug.cgi?id=49098 Test: http/tests/security/drag-drop-different-origin.html * page/DragController.cpp: (WebCore::DragController::tryDocumentDrag): * page/SecurityOrigin.cpp: (WebCore::SecurityOrigin::canDropOnTarget): * page/SecurityOrigin.h: 2010-11-10 Abhishek Arya <inferno@chromium.org> Reviewed by Adam Barth. Check that drag and drop is not allowed across different origins. https://bugs.webkit.org/show_bug.cgi?id=49098 * http/tests/security/drag-drop-different-origin-expected.txt: Added. * http/tests/security/drag-drop-different-origin.html: Added. * http/tests/security/resources/drag-drop.html: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@71925 268f45cc-cd09-0410-ab3c-d52691b4dbfc
1d255ef5