<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>
