gecko-dev/dom/animation/test/crashtests/1277272-1-inner.html
Mantaroh Yoshinaga cb3e27e060 Bug 1277272 - Add crashtests in dom/animation/tests/crash. r=birtles
MozReview-Commit-ID: 7Eqbt4qxYQe

--HG--
extra : rebase_source : 0803c934eaa264b4d34ceceb62822aa8281a77ae
2016-07-01 11:17:43 +09:00

20 lines
425 B
HTML

<!doctype html>
<head>
<script>
function start() {
var animation = document.body.animate([{marks: 'crop'},{marks: 'crop'}], 12);
document.write('<html><body></body></html>');
setTimeout(function() { animation.play(); }, 4);
setTimeout(function() {
animation.timeline = undefined;
SpecialPowers.Cu.forceGC();
window.top.continueTest();
}, 5);
}
</script>
</head>
<body onload="start()"></body>
</html>