content/base/crashtests/398088-1.xul

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/content/base/crashtests/398088-1.xul	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,23 @@
     1.4 +<window onload="boom();" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
     1.5 +
     1.6 +<script>
     1.7 +
     1.8 +function boom()
     1.9 +{
    1.10 +  var p = document.getElementById("p");
    1.11 +  
    1.12 +  document.addEventListener("DOMAttrModified", removeP, true); 
    1.13 +  
    1.14 +  p.removeAttribute("mode");
    1.15 +  
    1.16 +  function removeP()
    1.17 +  {
    1.18 +    document.documentElement.removeChild(p);
    1.19 +  }
    1.20 +}
    1.21 +
    1.22 +</script>
    1.23 +
    1.24 +<progressmeter id="p" mode="determined" />
    1.25 +
    1.26 +</window>

mercurial