gecko-dev/dom/base/crashtests/693212.xhtml

17 строки
405 B
HTML

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<script type="text/javascript">
function boom() {
select = document.createElementNS("http://www.w3.org/1999/xhtml", "select");
text = document.body.childNodes[0];
select.setAttribute("onDOMSubtreeModified", "text.parentNode.removeChild(text);");
select.appendChild(text);
}
</script>
</head>
<body onload="boom()">
</body>
</html>