summaryrefslogtreecommitdiff
path: root/dom/base/crashtests/628599-1.html
blob: 09be38f1e07622010c0e016ad0b6b91d2f724667 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<!DOCTYPE html>
<html>
<head>
<script>

var w;

function b1()
{
  w = window.open("404.gif", "w2", "f");
  setTimeout(b2, 1200);
}

function b2()
{
  w.close();
  setTimeout(b3, 500);
}

function b3()
{
  w.location = "data:text/html,2";
  document.body.appendChild(document.createTextNode("Done"));
}

</script>
</head>
<body>
<div><button onclick="b1();">Start test</button></div>
</body>
</html>