summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/frames/seamless/seamless-window-location-href.html
blob: 9757bea9c4cf0fd3851a2cace6d2673de80970c4 (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.layoutTestController)
    layoutTestController.waitUntilDone();

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

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