1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/generic/crashtests/508908-1.html Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,24 @@ 1.4 +<!DOCTYPE HTML> 1.5 +<html> 1.6 +<head> 1.7 +<script type="text/javascript"> 1.8 + 1.9 + 1.10 +function boom() 1.11 +{ 1.12 + var sel = document.createElementNS("http://www.w3.org/1999/xhtml", "select"); 1.13 + var opt; 1.14 + for (var i = 0; i < 43; ++i) { 1.15 + opt = document.createElementNS("http://www.w3.org/1999/xhtml", "option"); 1.16 + opt.appendChild(document.createTextNode(i)); 1.17 + sel.appendChild(opt); 1.18 + } 1.19 + opt.selected = "selected"; 1.20 + document.getElementById("div").appendChild(sel); 1.21 +} 1.22 + 1.23 +</script> 1.24 +</head> 1.25 + 1.26 +<body onload="boom();"><div id="div"></div><embed type="application/x-test"></embed></body> 1.27 +</html>