2006-04-21 Jon Shier <jshier@iastate.edu>
authoreseidel <eseidel@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 23 Apr 2006 22:39:07 +0000 (22:39 +0000)
committereseidel <eseidel@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 23 Apr 2006 22:39:07 +0000 (22:39 +0000)
commit4f0f9102b0ad117107b01140aedaf4f3939b847c
tree200392af687e354606340baea6fd11f2dec4dffa
parent28af4425f4bf56d8eae84b448bacd2fa0327c1f5
2006-04-21  Jon Shier  <jshier@iastate.edu>

        Reviewed by ggaren.  Landed by eseidel.

        - Fix for http://bugzilla.opendarwin.org/show_bug.cgi?id=8511
        onerror JS property does not register listener properly

        * ChangeLog:
        * bindings/js/kjs_dom.cpp:
        (KJS::DOMEventTargetNode::getValueProperty): changed khtmlErrorEvent to errorEvent.
        (KJS::DOMEventTargetNode::putValueProperty): ditto.
        * bindings/js/kjs_window.cpp:
        (KJS::Window::getValueProperty): ditto.
        (KJS::Window::put):
        * dom/EventNames.h: Removed khtmlError macro.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@14025 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/fast/dom/onerror-img-expected.txt [new file with mode: 0644]
LayoutTests/fast/dom/onerror-img.html [new file with mode: 0644]
WebCore/ChangeLog
WebCore/bindings/js/kjs_dom.cpp
WebCore/bindings/js/kjs_window.cpp
WebCore/dom/EventNames.h
WebCore/loader/CachedObject.cpp
WebCore/rendering/RenderCanvas.cpp
WebCore/rendering/RenderObject.cpp