Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- Manifest: dom/base/crashtests/crashtests.list
<head>
<script type="text/javascript">
<![CDATA[
function boom()
{
var q = document.getElementsByTagName("style")[0];
window.addEventListener("DOMNodeRemoved", f);
q.innerHTML = "<span><\/span>";
window.removeEventListener("DOMNodeRemoved", f);
function f()
{
window.removeEventListener("DOMNodeRemoved", f);
q.removeChild(q.childNodes[1]);
}
}
]]>
</script>
</head>
<body onload="boom();"><style><span></span><span></span></style></body>
</html>