LayoutTests:
authordarin <darin@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 29 Jan 2006 07:38:33 +0000 (07:38 +0000)
committerdarin <darin@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 29 Jan 2006 07:38:33 +0000 (07:38 +0000)
commitabea6d7752bfb3248c226236e3137f4d16f531df
tree08fa31567cd786fac51cc55b379528bae4f07e19
parent94d9eb95d91a0cd82363b6a0374845bad8c5420f
LayoutTests:

        Reviewed by Eric.

        - test for http://bugzilla.opendarwin.org/show_bug.cgi?id=6711
          crash if an event is dispatched to a listener that uses handleEvent

        * fast/events/dispatch-to-handle-event.html: Added.
        * fast/events/dispatch-to-handle-event-expected.txt: Added.

WebCore:

        Reviewed by Eric.

        - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=6711
          crash if an event is dispatched to a listener that uses handleEvent

        Test: fast/events/dispatch-to-handle-event.html

        * khtml/ecma/kjs_events.cpp: (KJS::JSAbstractEventListener::handleEvent):
        Remove boolean that is always false, and correct the one place that was
        checking it to check the correct pointer instead.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@12444 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/fast/events/dispatch-to-handle-event-expected.txt [new file with mode: 0644]
LayoutTests/fast/events/dispatch-to-handle-event.html [new file with mode: 0644]
WebCore/ChangeLog
WebCore/khtml/ecma/kjs_events.cpp