| Index: LayoutTests/fast/autoresize/autoresize-with-iframe.html
|
| diff --git a/LayoutTests/fast/autoresize/autoresize-with-iframe.html b/LayoutTests/fast/autoresize/autoresize-with-iframe.html
|
| index c1abe078944f3316498317b25fc094878cc69cab..aff02c660789f16c6ce924434308b0a3c1082e61 100644
|
| --- a/LayoutTests/fast/autoresize/autoresize-with-iframe.html
|
| +++ b/LayoutTests/fast/autoresize/autoresize-with-iframe.html
|
| @@ -11,7 +11,7 @@ if (window.testRunner) {
|
|
|
| function run()
|
| {
|
| - var frameWindow = document.getElementById("frame").contentWindow;
|
| + var frameWindow = window.frames['frame'];
|
| frameWindow.postMessage("shouldBe('document.body.scrollWidth', 400)", "*");
|
| frameWindow.postMessage("shouldBe('document.body.scrollHeight', 200)", "*");
|
| frameWindow.postMessage("log('DONE'); if (window.testRunner) testRunner.notifyDone();", "*");
|
| @@ -19,7 +19,7 @@ function run()
|
| </script>
|
| </head>
|
| <body onload="run()" style="width:400px; height:200px; background-color:yellow;">
|
| -<iframe id="frame" style="width:100%; height:100%;" src="resources/iframe.html">
|
| +<iframe name="frame" style="width:100%; height:100%;" src="resources/iframe.html">
|
| </iframe>
|
| </body>
|
| </html>
|
|
|