-
https://bugs.webkit.org/show_bug.cgi?id=29276weinig@apple.com authored
REGRESSION(r48334): WebKit crashes on file select by drag Reviewed by Adele Peterson. Don't use Document.elementFromPoint since it returns null if the point is outside the viewport. Instead, just hit test ourselves. Test: fast/events/drag-file-crash.html * page/DragController.cpp: (WebCore::elementUnderMouse): (WebCore::DragController::tryDocumentDrag): (WebCore::DragController::concludeEditDrag): LayoutTests: Test for https://bugs.webkit.org/show_bug.cgi?id=29276 REGRESSION(r48334): WebKit crashes on file select by drag Reviewed by Adele Peterson. * fast/events/drag-file-crash-expected.txt: Added. * fast/events/drag-file-crash.html: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@48515 268f45cc-cd09-0410-ab3c-d52691b4dbfc
8d13417e