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

<bindings xmlns="http://www.mozilla.org/xbl">
  <binding id="g">
    <implementation>
      <constructor>
        throw 3;
      </constructor>
    </implementation>
  </binding>
</bindings>

<script type="text/javascript">

function e()
{
  var listboxbody = document.createElementNS("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul", "listboxbody");
  document.getElementById("s").appendChild(listboxbody);
}

</script>
</head>

<body onerror="e();"><span id="s" style="-moz-binding: url(#g)"></span></body>

</html>