Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(70)

Unified Diff: LayoutTests/fast/loader/resources/subframe-navigate-during-main-frame-load2.html

Issue 187103002: id of iframe incorrectly sets window name (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Add back no-referrer-subframe.html Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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>
« no previous file with comments | « LayoutTests/fast/images/exif-orientation-image-document.html ('k') | LayoutTests/fast/overflow/scrollRevealButton.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698