summaryrefslogtreecommitdiff
path: root/layout/xul/crashtests/583957-1.html
blob: 85b51bf0c242fe1da82a6d069ebcccab4b9f2936 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<html>
<head>
<script>

function boom()
{
  window.addEventListener("DOMSubtreeModified", function(){}, false);

  var m = document.createElementNS("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul", "menuitem");
  document.body.appendChild(m);
  m.setAttribute("type", "checkbox");
  m.setAttribute("checked", "true");
  m.removeAttribute("type");
}

</script>
</head>

<body onload="boom();"></body>
</html>