diff options
Diffstat (limited to 'layout/generic/crashtests/508908-1.html')
-rw-r--r-- | layout/generic/crashtests/508908-1.html | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/layout/generic/crashtests/508908-1.html b/layout/generic/crashtests/508908-1.html new file mode 100644 index 0000000000..71af22c427 --- /dev/null +++ b/layout/generic/crashtests/508908-1.html @@ -0,0 +1,24 @@ +<!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> |