summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/loader/window-clearing.html
blob: fd8c3a3cebe2592e6baeab5601bd8078c806bb96 (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
<html>
<head>
<script>
function test() {
    if (window.testRunner) {
        testRunner.dumpAsText();
        testRunner.waitUntilDone();
    }

    // set up test variables -- they should be cleared
    var o = window;
    do {
        o.x = 1;
        o = o.__proto__;
    } while(o);
    
    window.location.href="resources/window-clearing2.html";
}
</script>
</head>
<body onload="test();">
<p>FAIL: Could not load resources/window-clearing2.html</p>
<hr>
</body>
</html>