-
morrita@google.com authored
Reviewed by Tony Chang. Crash when dragging and dropping in a document with an invalid XHTML header https://bugs.webkit.org/show_bug.cgi?id=48799 * editing/pasteboard/drop-file-svg.html: Added. * editing/pasteboard/resources/drop-file-svg.svg: Added. 2011-03-13 MORITA Hajime <morrita@google.com> Reviewed by Tony Chang. Crash when dragging and dropping in a document with an invalid XHTML header https://bugs.webkit.org/show_bug.cgi?id=48799 DragController tried to dispatch textInput event even when the drag destination is not the editable area. This change skips the event dispatching on that case. Test: editing/pasteboard/drop-file-svg.html * page/DragController.cpp: (WebCore::DragController::dispatchTextInputEventFor): (WebCore::DragController::concludeEditDrag): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@81101 268f45cc-cd09-0410-ab3c-d52691b4dbfc
da878678