summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/frames/seamless/seamless-window-open-override.html
blob: 8c74c581a1a2ddc71995d7ac44b633b10fa5bb7c (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].frames[0].document.body.textContent", "DONE\n");

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