2011-02-10 Mads Ager <ager@chromium.org>
authorager@chromium.org <ager@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 11 Feb 2011 06:50:38 +0000 (06:50 +0000)
committerager@chromium.org <ager@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 11 Feb 2011 06:50:38 +0000 (06:50 +0000)
commitedf07dd8c6c7d7c6073f16e27afeef895ab18dd4
tree36eeeee50f6083459dacbcf812ca1c2aed5c3f44
parent403efba7b5bb977bf667239f757e03d3ce1566ef
2011-02-10  Mads Ager  <ager@chromium.org>

        Reviewed by Nate Chapin.

        [V8] Don't crash on exception getting event handler function
        https://bugs.webkit.org/show_bug.cgi?id=54216

        Check for exceptions when attempting to get the handleEvent property
        of an event-handler object.

        Test: fast/dom/exception-getting-event-handler.html

        * bindings/v8/V8EventListener.cpp:
        (WebCore::V8EventListener::getListenerFunction):
2011-02-10  Mads Ager  <ager@chromium.org>

        Reviewed by Nate Chapin.

        [V8] Don't crash on exception getting event handler function
        https://bugs.webkit.org/show_bug.cgi?id=54216

        Add crash regression test with custom chromium expectations.

        * fast/dom/exception-getting-event-handler-expected.txt: Added.
        * fast/dom/exception-getting-event-handler.html: Added.
        * platform/chromium/fast/dom/exception-getting-event-handler-expected.txt: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@78316 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/fast/dom/exception-getting-event-handler-expected.txt [new file with mode: 0644]
LayoutTests/fast/dom/exception-getting-event-handler.html [new file with mode: 0644]
LayoutTests/platform/chromium/fast/dom/exception-getting-event-handler-expected.txt [new file with mode: 0644]
Source/WebCore/ChangeLog
Source/WebCore/bindings/v8/V8EventListener.cpp