WebCore:
authorandersca <andersca@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 20 Oct 2006 21:53:01 +0000 (21:53 +0000)
committerandersca <andersca@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 20 Oct 2006 21:53:01 +0000 (21:53 +0000)
commit8782fe3c25e9d33d15a4ef661a8c6f1a85ad0f00
treecfd65e8a19240b53ae7093b565aabffe03b1a8b0
parent3efa512e8d24fee9bef9acabc85df9f2f369b9de
WebCore:

2006-10-20  Anders Carlsson  <acarlsson@apple.com>

        Reviewed by Geoff.

        * bindings/js/kjs_window.cpp:
        (KJS::Window::timerFired):
        Check if the timeout id is still in the table before trying to access it. If it isn't in the table
        it has been deleted inside of the execute method.

LayoutTests:

2006-10-20  Anders Carlsson  <acarlsson@apple.com>

        Reviewed by Goeff.

        Add test case for timer crash.

        * fast/dom/timer-clear-interval-in-handler-expected.txt: Added.
        * fast/dom/timer-clear-interval-in-handler.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@17173 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/fast/dom/timer-clear-interval-in-handler-expected.txt [new file with mode: 0644]
LayoutTests/fast/dom/timer-clear-interval-in-handler.html [new file with mode: 0644]
WebCore/ChangeLog
WebCore/bindings/js/kjs_window.cpp