summaryrefslogtreecommitdiffstats
path: root/layout/base/crashtests/538210-1.html
blob: 7070f8e99760cb3f1b8bddc0816c3327d4f3dc87 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<html>
<head>
<script>
function boom()
{
  var frameset = document.getElementsByTagName("frameset")[0]
  var oldFrame = frameset.firstChild;
  var newFrame = document.createElementNS("http://www.w3.org/1999/xhtml", "frame");
  frameset.appendChild(newFrame);
  frameset.removeChild(oldFrame);
}
</script>
</head>
<frameset onload="boom()"><frame></frame></frameset>
</html>