summaryrefslogtreecommitdiffstats
path: root/image/test/crashtests/1763581-1.html
blob: 167f541a24a1f7c6a4130797ddae7ffb9db89a76 (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
<!DOCTYPE html>
<html class="reftest-wait">
<head>
<script>
window.onload = function() {
    setTimeout(step, 500);
}

var reloads = 5;

function step() {
    if (--reloads) {
        document.getElementById("ifr").contentWindow.location.reload();
    } else {
        document.documentElement.className = "";
    }
}

function settimouestep() {
    setTimeout(step, 500);
}
</script>
</head>
<body>
  <iframe id="ifr" src="1763581-1-iframe.html" height="500" width="400" onload="settimouestep()"></iframe>
</body>
</html>