layout/generic/crashtests/508908-1.html
author Robert O'Callahan <roc@ocallahan.org>
Fri, 28 Jan 2011 18:44:57 -0800
changeset 34899 b4529434e248b58fcd9aa17bf71731c0e953f359
parent 32747 7f44cd13ad2c9fd4a082c5d11bef16a77e1104da
child 34900 e9231477e05bc0fb0b4791c3a7039b9fad4d2472
permissions -rw-r--r--
Bug 616085 - make 508908-1.html crashtest not hit the network, a=test

<!DOCTYPE HTML>
<html>
<head>
<script type="text/javascript">


function boom()
{
  var sel = document.createElementNS("http://www.w3.org/1999/xhtml", "select");
  var opt;
  for (var i = 0; i < 43; ++i) {
    opt = document.createElementNS("http://www.w3.org/1999/xhtml", "option");
    opt.appendChild(document.createTextNode(i));
    sel.appendChild(opt);
  }
  opt.selected = "selected";
  document.getElementById("div").appendChild(sel);
}

</script>
</head>

<body onload="boom();"><div id="div"></div><embed type="application/x-test"></embed></body>
</html>