Need to check NULL frame in EventHandler::updateDragAndDrop.
authorjianli@chromium.org <jianli@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 30 Sep 2009 17:52:33 +0000 (17:52 +0000)
committerjianli@chromium.org <jianli@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 30 Sep 2009 17:52:33 +0000 (17:52 +0000)
commit858e508f567985560b0a5ee7e1da334aafc45147
treeeeba4fe25ce06dd90d12a36b0b4cc5c3245b7e5b
parent281e47f2f604d9277d3db42224c0759af534026a
Need to check NULL frame in EventHandler::updateDragAndDrop.
https://bugs.webkit.org/show_bug.cgi?id=29929

Reviewed by Darin Adler.

WebCore:

Test: http/tests/misc/drag-over-iframe-invalid-source-crash.html

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

LayoutTests:

Add a new test for the bug.

* http/tests/misc/drag-over-iframe-invalid-source-crash-expected.txt: Added.
* http/tests/misc/drag-over-iframe-invalid-source-crash.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48934 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/http/tests/misc/drag-over-iframe-invalid-source-crash-expected.txt [new file with mode: 0644]
LayoutTests/http/tests/misc/drag-over-iframe-invalid-source-crash.html [new file with mode: 0644]
WebCore/ChangeLog
WebCore/page/EventHandler.cpp