| Index: LayoutTests/fast/events/open-window-from-another-frame.html
|
| diff --git a/LayoutTests/fast/events/open-window-from-another-frame.html b/LayoutTests/fast/events/open-window-from-another-frame.html
|
| index db197948da6a3297d453e5ebac1883b54ba80075..1e67c6e78b7d111516406ac2aa8b70a26be22b02 100644
|
| --- a/LayoutTests/fast/events/open-window-from-another-frame.html
|
| +++ b/LayoutTests/fast/events/open-window-from-another-frame.html
|
| @@ -13,7 +13,7 @@
|
| function test()
|
| {
|
| var myLink = document.getElementById('link');
|
| - var myFrame = document.getElementById('otherFrame').contentWindow;
|
| + var myFrame = window.frames['otherFrame'];
|
| myLink.onclick = myFrame.handleClick;
|
| if (window.testRunner) {
|
| var x = myLink.offsetLeft + 2;
|
| @@ -35,7 +35,7 @@
|
| This tests that window.open works across frames.<br>
|
| To run manually click the link below.<br>
|
| <a href="resources/greenbox.png" id="link">GreenBox or Success page.</a><br>
|
| - <iframe src="resources/open-window-from-another-frame-otherFrame.html" id="otherFrame"></iframe>
|
| + <iframe src="resources/open-window-from-another-frame-otherFrame.html" name="otherFrame"></iframe>
|
| <div id="res"></div>
|
| </body>
|
| </html>
|
|
|