mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-01 22:55:23 +00:00
24 lines
457 B
HTML
24 lines
457 B
HTML
|
<!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>
|