Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / dom / Window / window-object-cross-frame-calls.html
blob81f25f2d4f4f59ab84352fc8eb8a55c16b83940f
1 <html>
2 <head>
3 <script>
4 if (window.testRunner)
5 testRunner.dumpAsText();
7 function bar() { which = "parent"; document.getElementById("result").innerHTML = which; }
8 </script>
9 </head>
10 <body>
11 <p>The following line should say "parent", meaning that the proper window object was used.</p>
12 <p id="result"></p>
13 <iframe src="resources/child.html"></iframe>
14 </body>
15 </html>