The Leaves example asserts when navigating from the page (to another page with animation) ASSERTION FAILED: !running() (WebCore/page/animation/AnimationBase.cpp:704 void WebCore::AnimationBase::updateStateMachine(WebCore::AnimationBase::AnimStateInput, double))
Created attachment 23914 [details] zipfile of leaves example
Created attachment 23929 [details] Patch to fix bug
I haven't added a testcase to the patch, because I don't know how I would write an automated test for it. You need to open one file, then open another and then hit the back button. I'm not sure how you would automate that.
(In reply to comment #3) > I haven't added a testcase to the patch, because I don't know how I would write > an automated test for it. You need to open one file, then open another and then > hit the back button. I'm not sure how you would automate that. Here is something to try: have a "test driver" document that loads the first document in an iframe, then navigates to the second document in the same iframe, then invokes the history.back method in the iframe. (Before you begin, see if the bug reproduces with an iframe).
Comment on attachment 23929 [details] Patch to fix bug r=me
Sending WebCore/ChangeLog Sending WebCore/page/animation/AnimationBase.cpp Transmitting file data .. Committed revision 37454.