Added layout test for just-fixed JavaScriptCore bug.
[WebKit-https.git] / LayoutTests / fast / js / window-object-cross-frame-calls.html
1 <html>
2  <head>
3   <script>
4    function bar() { which = "parent"; document.getElementById("result").innerHTML = which; }
5   </script>
6  </head>
7  <body>
8   <p>The following line should say "parent", meaning that the proper window object was used.</p>
9   <p id="result"></p>
10   <iframe src="resources/child.html"></iframe>
11  </body>
12 </html>