summaryrefslogtreecommitdiffstats
path: root/chrome_frame/test/data/mshtml_refresh_test.html
blob: bbc69c77a45d37dea383345fd18c8ffcb2cd34fb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<html>
<script>
function openPopup() {
  window.open("mshtml_refresh_test_popup.html","mypopup")
  return false;
}

function onLoad() {
  var request_id = $request_id$;
  if (request_id != 0) {
    location.href = "/quit?OK";
  } else {
    window.setTimeout(openPopup, 100);
  }
}
window.onload = onLoad;
</script>
<body>
  <p>$UA$</p>
  <a href="#" onclick="return openPopup();">Open popup</a>
</body>
</html>