gecko/dom/events/crashtests/1072137-1.html
2014-09-26 09:10:16 +09:00

19 lines
356 B
HTML

<!DOCTYPE html>
<html>
<script>
function boom()
{
var textareaRoot = document.createElement("textarea");
document.removeChild(document.documentElement);
document.appendChild(textareaRoot);
var input = document.createElement("input");
textareaRoot.appendChild(input);
input.select();
}
</script>
</head>
<body onload="boom();"></body>
</html>