summaryrefslogtreecommitdiff
path: root/layout/generic/crashtests/385885-1.xul
blob: e36a41034d698d139784896b40edb065297cdc10 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" onload="boom()">
        
<script>
<![CDATA[

function boom()
{
  var de = document.documentElement; 
  
  de.style.MozBinding = "url('data:text/xml,<bindings xmlns=%22http://www.mozilla.org/xbl%22><binding id=%22foo%22><content></content></binding></bindings>')";

  document.removeChild(de);
  document.appendChild(de);
}

]]>
</script>

</window>