summaryrefslogtreecommitdiffstats
path: root/dom/base/crashtests/745495.html
blob: f513a33a8b31475be161a9e5c76827b2dcd9d0e6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<!DOCTYPE html>
<html>
<head>
<script>

function boom()
{
  var frame = document.createElementNS("http://www.w3.org/1999/xhtml", "iframe");
  document.body.appendChild(frame);
  var frameScreen = frame.contentWindow.screen;
  document.body.removeChild(frame);
  frameScreen.top;
}

</script>
</head>

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