Reviewed by Dave Hyatt.
authordarin <darin@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 6 Aug 2005 16:30:14 +0000 (16:30 +0000)
committerdarin <darin@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 6 Aug 2005 16:30:14 +0000 (16:30 +0000)
commit87d05796b791f28a62bab5d50cf8e7b467f931f2
tree93ca1541575ec1924690fdc205a9b65d1d877f2a
parentac9b4dee19059d890b061f435e02fbfb4d04689a
    Reviewed by Dave Hyatt.

        - fixed crash in one of the W3C DOM tests

        * khtml/xml/dom_nodeimpl.cpp: (DOM::NodeImpl::dispatchEvent): Check for NULL which means
        the passed object is not an event. Return without raising an exception because that's
        what Gecko does despite the fact that the DOM test expects a (platform-specific) exception.

        * layout-tests/dom/html/level2/events/dispatchEvent01-expected.txt: Added.
        * layout-tests/dom/html/level2/events/dispatchEvent01.html: Added.
        * layout-tests/dom/html/level2/events/dispatchEvent01.html-disabled: Removed.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@10071 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/dom/html/level2/events/dispatchEvent01-expected.txt [new file with mode: 0644]
LayoutTests/dom/html/level2/events/dispatchEvent01.html [moved from LayoutTests/dom/html/level2/events/dispatchEvent01.html-disabled with 100% similarity]
WebCore/ChangeLog-2005-08-23
WebCore/khtml/xml/dom_nodeimpl.cpp