LayoutTests:
authorantti <antti@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 25 Mar 2007 22:42:31 +0000 (22:42 +0000)
committerantti <antti@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 25 Mar 2007 22:42:31 +0000 (22:42 +0000)
commit1ea78ee09fc20d4ad499674528d44bd43cdc0ade
tree2025f0e61869a0a255790d8070dc7e2d3501718b
parentff082b29d75a0ff8acd80363934fea3026b2850b
LayoutTests:

        Reviewed by Adam.

        Test for <rdar://problem/5049842>
        Gmail Editor: Dragging message text in the message body results in a crash at WebCore::Frame::eventHandler()

        * editing/pasteboard/drag-drop-dead-frame-expected.checksum: Added.
        * editing/pasteboard/drag-drop-dead-frame-expected.png: Added.
        * editing/pasteboard/drag-drop-dead-frame-expected.txt: Added.
        * editing/pasteboard/drag-drop-dead-frame.html: Added.

WebCore:

        Reviewed by Adam.

        Fix <rdar://problem/5049842>
        Gmail Editor: Dragging message text in the message body results in a crash at WebCore::Frame::eventHandler()

        Null check frame in m_dragTarget, it might be gone already.

        * page/EventHandler.cpp:
        (WebCore::EventHandler::updateDragAndDrop):
        (WebCore::EventHandler::cancelDragAndDrop):
        (WebCore::EventHandler::performDragAndDrop):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@20490 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/editing/pasteboard/drag-drop-dead-frame-expected.checksum [new file with mode: 0644]
LayoutTests/editing/pasteboard/drag-drop-dead-frame-expected.png [new file with mode: 0644]
LayoutTests/editing/pasteboard/drag-drop-dead-frame-expected.txt [new file with mode: 0644]
LayoutTests/editing/pasteboard/drag-drop-dead-frame.html [new file with mode: 0644]
WebCore/ChangeLog
WebCore/page/EventHandler.cpp