summaryrefslogtreecommitdiffstats
path: root/Source/WebCore/manual-tests/test-iframes-loading-the-same-resource.html
blob: 462db02d0aaa5a30642d6b237fe7769d5867138b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<html>
<head>
<script>
    setTimeout('document.getElementById("frame2").src = "resources/test-frame.html";', 100);
    loadCount = 0
    function frame2Loaded() {
        if (loadCount < 40) {
            setTimeout('document.getElementById("frame2").src = "resources/test-frame.html?'+loadCount+'";', 100);
            loadCount++;
        } 
    }
</script>
</head>
<body>
    To perform this test attempt to drag one of the apple images in the left frame while the right frame is doing loads.  This test is not entirely deterministic so it should be attempted a number of times. <br />
<iframe id="frame1" src="resources/test-frame.html"></iframe>
<iframe id="frame2" onload="frame2Loaded();"></iframe>
</body>
</html>