dom/xbl/crashtests/415192-1.xul

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/dom/xbl/crashtests/415192-1.xul	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,22 @@
     1.4 +<?xml version="1.0"?>
     1.5 +<?xml-stylesheet href="chrome://global/skin/global.css"?>
     1.6 +<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" onload="boom();">
     1.7 +<script type="text/javascript">
     1.8 +
     1.9 +function boom()
    1.10 +{
    1.11 +  var XUL_NS = "http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul";
    1.12 +
    1.13 +  var wizard = document.createElementNS(XUL_NS, "wizard");
    1.14 +  var space = document.createTextNode(" ");
    1.15 +  var hbox = document.createElementNS(XUL_NS, "hbox");
    1.16 +  hbox.setAttribute("anonid", "Buttons");
    1.17 +
    1.18 +  document.documentElement.appendChild(wizard);
    1.19 +  wizard.appendChild(space);
    1.20 +  wizard.appendChild(hbox);
    1.21 +  wizard.cloneNode(true);
    1.22 +}
    1.23 +
    1.24 +</script>
    1.25 +</window>

mercurial