Index: trunk/LayoutTests/fast/loader/resources/subframe-navigate-during-main-frame-load2.html |
=================================================================== |
--- trunk/LayoutTests/fast/loader/resources/subframe-navigate-during-main-frame-load2.html (revision 168578) |
+++ trunk/LayoutTests/fast/loader/resources/subframe-navigate-during-main-frame-load2.html (working copy) |
@@ -4,7 +4,7 @@ |
function runTest() |
{ |
- window.frames["subframe"].location = 'data:text/html,<body onload="testRunner.notifyDone();"></body>'; |
+ document.getElementById("subframe").contentWindow.location = 'data:text/html,<body onload="testRunner.notifyDone();"></body>'; |
} |
</script> |
@@ -13,7 +13,7 @@ |
<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 name="subframe" src="about:blank"></iframe><br> |
+<iframe id="subframe" src="about:blank"></iframe><br> |
</body> |