summaryrefslogtreecommitdiffstats
path: root/dom/html/crashtests/465466-1.xhtml
blob: 4e12587026840c47749a69efd8f36377fbb9dbf1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<html xmlns="http://www.w3.org/1999/xhtml">
<head>

<bindings xmlns="http://www.mozilla.org/xbl"><binding id="u">
<content><foopy><children xmlns="http://www.mozilla.org/xbl"/></foopy></content>
</binding></bindings>


<script type="text/javascript">

function boom()
{
  var f = document.getElementById("f");
  var anon = SpecialPowers.unwrap(SpecialPowers.wrap(document).getAnonymousNodes(f))[0];
  document.body.removeChild(f);
  anon.appendChild(document.createElement("label"));
}

</script>
</head>

<body onload="boom();"><form id="f" style="-moz-binding: url(#u);"><label></label></form></body>
</html>