Bug 22635 - Crash when destroying element being animated in its start animation event
Summary: Crash when destroying element being animated in its start animation event
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: 528+ (Nightly build)
Hardware: Macintosh OS X 10.5
: P2 Normal
Assignee: Chris Marrin
Depends on:
Reported: 2008-12-03 14:34 PST by Simon Fraser (smfr)
Modified: 2008-12-05 17:42 PST (History)
0 users

See Also:

Patch, including LayoutTest files (22.94 KB, patch)
2008-12-03 17:56 PST, Chris Marrin
hyatt: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Simon Fraser (smfr) 2008-12-03 14:34:34 PST
We should make LayoutTests for element destruction inside onAnimationStart/onAnimationIteration event handler callbacks (e.g. see bug 22499).
Comment 1 Chris Marrin 2008-12-03 17:40:38 PST
In making the testcases for element destruction in the iteration and start events, I got a crash in the start event case. I'm fixing it now. I'll send in the new tests along with the fix.
Comment 2 Chris Marrin 2008-12-03 17:56:21 PST
Created attachment 25729 [details]
Patch, including LayoutTest files
Comment 3 Dave Hyatt 2008-12-05 13:22:34 PST
Comment on attachment 25729 [details]
Patch, including LayoutTest files

Comment 4 Chris Marrin 2008-12-05 17:42:35 PST
Sending        LayoutTests/ChangeLog
Adding         LayoutTests/animations/animation-iteration-event-destroy-renderer-expected.txt
Adding         LayoutTests/animations/animation-iteration-event-destroy-renderer.html
Adding         LayoutTests/animations/animation-start-event-destroy-renderer-expected.txt
Adding         LayoutTests/animations/animation-start-event-destroy-renderer.html
Sending        WebCore/ChangeLog
Sending        WebCore/page/animation/AnimationBase.cpp
Sending        WebCore/page/animation/AnimationController.cpp
Sending        WebCore/page/animation/CompositeAnimation.cpp
Sending        WebCore/page/animation/CompositeAnimation.h
Transmitting file data ..........
Committed revision 39059.