summaryrefslogtreecommitdiffstats
path: root/dom/bindings/crashtests/869038.html
blob: dedb4dd4d798236248d2cacde06b4575fd0591b1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<script>

function boom()
{
  var frame = document.createElementNS("http://www.w3.org/1999/xhtml", "iframe");
  document.body.appendChild(frame);
  var frameDoc = frame.contentDocument;
  frameDoc.contentEditable = "true";
  document.body.removeChild(frame);
  SpecialPowers.gc();
  frameDoc.focus();
}

</script>
</head>

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