Adding layout test for contentWindow for frames
[WebKit-https.git] / LayoutTests / fast / frames / contentWindow_Frame.html
1 <html>
2
3 <head>
4
5         <title>Testing contentWindow on Frames</title>
6
7         <script>
8                 function putText()
9                 {
10                         var t = document.getElementById("t_frame");
11                         var b = document.getElementById("b_frame");
12         
13                         var dv = t.contentDocument.getElementById("my_div");
14                         
15                         dv.innerText = b.contentWindow.location;
16
17                 }
18         </script>
19
20 </head>
21
22 <body onload="putText()">
23
24   <FRAMESET rows="30%, 70%">
25       <FRAME id="t_frame" name="top" src="resources/frame_top.html">
26       <FRAME id="b_frame" name="bottom" src="about:blank">
27  </FRAMESET>
28
29 </body>
30
31 </html>