summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/frames/seamless/seamless-window-location.html
blob: 20cb8796667f2223748f87153a5b18b053bf1938 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<!DOCTYPE html>
<script src="../../js/resources/js-test-pre.js"></script>
<script>
if (window.testRunner)
    testRunner.waitUntilDone();

window.addEventListener('message', function(evt) {
    shouldBeEqualToString("frames[0].document.body.textContent", "DONE\n");

    if (window.testRunner)
        testRunner.notifyDone();
}, false);
</script>
<iframe srcdoc="
    Waiting...
    <iframe seamless
            srcdoc='
                <script>
                    window.location = &quot;resources/done.html&quot;;
                </script>
            '>
    </iframe>
"></iframe>