gecko-dev/dom/base/crashtests/325730-1.html

27 строки
444 B
HTML
Исходник Обычный вид История

2007-12-14 06:37:05 +03:00
<html>
<head>
<script>
function init()
{
document.addEventListener("DOMNodeRemoved", meep, false);
document.body.appendChild(document.getElementById("b"));
function meep()
{
document.removeEventListener("DOMNodeRemoved", meep, false);
document.body.removeChild(document.getElementById("c"));
}
}
window.addEventListener("load", init, false);
</script>
</head>
<body><div id="b"></div><div id="c"></div></body>
</html>