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

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

<script type="text/javascript">
// <![CDATA[

function boom()
{
  var s = document.getElementById("s");
  var o = document.getAnonymousNodes(s)[0];
  (document.body).appendChild(s);
  o.appendChild(document.createTextNode("F"));
}

// ]]>
</script>
</head>

<body onload="boom();"><span id="s" style="-moz-binding: url(#foo)"></span></body>
</html>