gecko-dev/layout/base/crashtests/538210-1.html
2010-01-21 16:06:35 -06:00

17 lines
375 B
HTML

<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>