summaryrefslogtreecommitdiffstats
path: root/dom/html/test/file_bug209275_2.html
blob: 36e9ff4672ee6bda49c58197aa2ba11cf07cfa4d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<!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>