gecko-dev/dom/html/crashtests/673853.html

21 строка
490 B
HTML

<!DOCTYPE html>
<html>
<head>
<script>
function boom()
{
var otherDoc = document.implementation.createDocument('', '', null);
var input = otherDoc.createElementNS("http://www.w3.org/1999/xhtml", "input");
var form = otherDoc.createElementNS("http://www.w3.org/1999/xhtml", "form");
input.setAttributeNS(null, "form", "x");
form.setAttributeNS(null, "id", "x");
input.appendChild(form);
otherDoc.appendChild(input);
}
</script>
</head>
<body onload="boom();"></body>
</html>