Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- Manifest: dom/smil/crashtests/crashtests.list
<?xml version="1.0"?>
<script>
function boom()
{
animate.setAttributeNS(null, "begin", "0.5s");
document.documentElement.appendChild(animate);
setTimeout(function() {
var g = document.createElement("g");
g.appendChild(svg);
document.documentElement.appendChild(g);
svg.setCurrentTime(0.2);
svg.appendChild(animate);
svg.setCurrentTime(0.0); // Trigger backwards seek
document.documentElement.removeAttribute("class");
}, 400);
}
window.addEventListener("load", function() { setTimeout(boom, 200) }, false);
</script>
</svg>