summaryrefslogtreecommitdiffstats
path: root/layout/xul/crashtests/475133.html
blob: ea4ee63250742140c162aceaf4e212a8826033ea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<!DOCTYPE html>
<html>
<head>
<script type="text/javascript">
function x()
{
  document.removeEventListener("DOMAttrModified", x, false);
  document.removeChild(document.documentElement);
}

function boom()
{
  var p = document.createElementNS("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul", "progressmeter");
  document.addEventListener("DOMAttrModified", x, false);
  document.documentElement.appendChild(p);
}
</script>
</head>
<body onload="boom();"></body>
</html>