gecko-dev/dom/html/test/file_bug209275_2.html

24 lines
457 B
HTML
Raw Normal View History

<!DOCTYPE HTML>
<html>
<head>
<base href="http://example.com" />
</head>
<body onload="load();">
Page 2 initial state
<script>
function load() {
// Nuke and rebuild the page.
document.removeChild(document.documentElement);
html = document.createElement("html");
html.innerHTML = "<body><a href='/' id='link'>B</a></body>"
document.appendChild(html);
// Tell our parent to have a look at us
parent.gGen.next();
}
</script>
</body>
</html>