summaryrefslogtreecommitdiffstats
path: root/dom/events/crashtests/1072137-1.html
blob: ae26188abfab9d3216079088a8df0149bc7d413a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<!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>