| Index: LayoutTests/fast/loader/resources/subframe-navigate-during-main-frame-load2.html
|
| diff --git a/LayoutTests/fast/loader/resources/subframe-navigate-during-main-frame-load2.html b/LayoutTests/fast/loader/resources/subframe-navigate-during-main-frame-load2.html
|
| index 313b7c13074512c58c41e46a38f92db5732aba7e..03363293a06b401554d5c554adf6a29b45d697d2 100644
|
| --- a/LayoutTests/fast/loader/resources/subframe-navigate-during-main-frame-load2.html
|
| +++ b/LayoutTests/fast/loader/resources/subframe-navigate-during-main-frame-load2.html
|
| @@ -4,7 +4,7 @@
|
|
|
| function runTest()
|
| {
|
| - document.getElementById("subframe").contentWindow.location = 'data:text/html,<body onload="testRunner.notifyDone();"></body>';
|
| + window.frames["subframe"].location = 'data:text/html,<body onload="testRunner.notifyDone();"></body>';
|
| }
|
|
|
| </script>
|
| @@ -13,7 +13,7 @@ function runTest()
|
| <body onload="runTest();">
|
| This test navigates an iframe while it's onload handler is still running.<br>
|
| The iframe navigation should *not* result in a second back-history item being created for the top level navigation.<br>
|
| -<iframe id="subframe" src="about:blank"></iframe><br>
|
| +<iframe name="subframe" src="about:blank"></iframe><br>
|
|
|
| </body>
|
|
|
|
|