https://bugs.webkit.org/show_bug.cgi?id=148442 should be covered by a LayoutTest on iOS simulator.
Created attachment 260015 [details] Patch
Comment on attachment 260015 [details] Patch Waaaay too many long delays in here. Also, it should run on all platforms.
Created attachment 260016 [details] Patch
Created attachment 260020 [details] Patch
Comment on attachment 260020 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=260020&action=review > LayoutTests/animations/crash-on-removing-animation.html:4 > + <meta name="viewport" content="initial-scale=1, maximum-scale=1"> I believe we force a particular viewport in layout tests, this should be unnecessary.
Comment on attachment 260020 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=260020&action=review >> LayoutTests/animations/crash-on-removing-animation.html:4 >> + <meta name="viewport" content="initial-scale=1, maximum-scale=1"> > > I believe we force a particular viewport in layout tests, this should be unnecessary. Good to know -- thanks!
Created attachment 260027 [details] Patch
Comment on attachment 260027 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=260027&action=review > LayoutTests/ChangeLog:8 > + Tests that stopping an animation early and simultaneously closing the window So glad that there's a test! It's not simultaneous, though :P > LayoutTests/animations/crash-on-removing-animation.html:24 > + if (window.testRunner == undefined) No need for the == undefined; every other test just does "if (window.testRunner)". Also possible that you might want to document.write("This test must be run in DRT/WKTR.") or something like that so that people (QA, mostly) don't open the test and see "If you are reading this, we managed to avoid crashing!" and think that the test passed. > LayoutTests/animations/crash-on-removing-animation.html:44 > +<body onload="setup();"> No need for the semicolon, and it looks funny, but it doesn't really matter.
Committed r189022: <http://trac.webkit.org/changeset/189022>