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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 <html> 1 <html>
2 <head> 2 <head>
3 <script> 3 <script>
4 4
5 function runTest() 5 function runTest()
6 { 6 {
7 document.getElementById("subframe").contentWindow.location = 'data:text/html ,<body onload="testRunner.notifyDone();"></body>'; 7 window.frames["subframe"].location = 'data:text/html,<body onload="testRunne r.notifyDone();"></body>';
8 } 8 }
9 9
10 </script> 10 </script>
11 </head> 11 </head>
12 12
13 <body onload="runTest();"> 13 <body onload="runTest();">
14 This test navigates an iframe while it's onload handler is still running.<br> 14 This test navigates an iframe while it's onload handler is still running.<br>
15 The iframe navigation should *not* result in a second back-history item being cr eated for the top level navigation.<br> 15 The iframe navigation should *not* result in a second back-history item being cr eated for the top level navigation.<br>
16 <iframe id="subframe" src="about:blank"></iframe><br> 16 <iframe name="subframe" src="about:blank"></iframe><br>
17 17
18 </body> 18 </body>
19 19
20 </html> 20 </html>
OLDNEW
« 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