summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/http/tests/security/frameNavigation/xss-DENIED-plugin-navigation.html
blob: b53c669aea18cfc095f4ef4219ecffff3352f08f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<html>
<head>
    <script src="../resources/cross-frame-access.js"></script>
    <script>
        window.onload = function()
        {
            if (window.testRunner) {
                testRunner.dumpAsText();
                testRunner.dumpChildFramesAsText();
                testRunner.waitUntilDone();
                testRunner.setCanOpenWindows();
                testRunner.setCloseRemainingWindowsWhenComplete(true);
            }
            window.frames[0].postMessage('run test', '*');
        }
    </script>
</head>
<body>
<pre id='console'></pre>
<iframe src="http://localhost:8000/security/frameNavigation/resources/frame-with-plugin-to-navigate.html"></iframe>
<iframe name="toNavigate" src="http://127.0.0.1:8000/security/resources/cross-frame-iframe.html"></iframe>
</body>
</html>