summaryrefslogtreecommitdiffstats
path: root/dom/base/crashtests/398088-1.xul
blob: 6548a11be97fb1572e12829dd9ef314cf7867138 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<window onload="boom();" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">

<script>

function boom()
{
  var p = document.getElementById("p");
  
  document.addEventListener("DOMAttrModified", removeP, true); 
  
  p.removeAttribute("mode");
  
  function removeP()
  {
    document.documentElement.removeChild(p);
  }
}

</script>

<progressmeter id="p" mode="determined" />

</window>