summaryrefslogtreecommitdiffstats
path: root/dom/html/crashtests/1228876.html
blob: b7beb645cfe2f2c9a6642919392641e7df2620b3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<!DOCTYPE html>
<html>
<head>
<script>

function boom()
{
    var a = document.createElement("select");
    var f = document.createElement("optgroup");
    var g = document.createElement("optgroup");
    a.appendChild(f);
    g.appendChild(document.createElement("option"));
    f.appendChild(g);
    a.appendChild(document.createElement("option"));
    document.body.appendChild(a);
}

</script>
</head>
<body onload="boom();"></body>
</html>