gecko-dev/dom/base/crashtests/327694.html

18 строки
289 B
HTML

<html>
<head>
<script>
function init()
{
var y = document.getElementById("tt");
var z = y.firstChild;
y.removeChild(z);
z.text;
}
window.addEventListener("load", init);
</script>
</head>
<body>
<div id="tt"><a href="http://www.mozilla.org">Foo</a></div>
</body>
</html>