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

Side by Side Diff: LayoutTests/http/tests/navigation/location-change-repeated-from-blank.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 <body> 1 <body>
2 This test checks the following case:<br> 2 This test checks the following case:<br>
3 * Create an iframe<br> 3 * Create an iframe<br>
4 * Set its location to about:blank<br> 4 * Set its location to about:blank<br>
5 * In a setTimeout(), navigate to a non-blank page<br> 5 * In a setTimeout(), navigate to a non-blank page<br>
6 The iframe navigations should not create new history entries, even though the no n-blank navigation is after the load (there is only one history entry in the ifr ame context, and it is about:blank). 6 The iframe navigations should not create new history entries, even though the no n-blank navigation is after the load (there is only one history entry in the ifr ame context, and it is about:blank).
7 <iframe id="i"></iframe> 7 <iframe id="i" name="i"></iframe>
8 <script> 8 <script>
9 if (window.testRunner) { 9 if (window.testRunner) {
10 testRunner.dumpAsText(); 10 testRunner.dumpAsText();
11 testRunner.waitUntilDone(); 11 testRunner.waitUntilDone();
12 testRunner.dumpBackForwardList(); 12 testRunner.dumpBackForwardList();
13 } 13 }
14 14
15 var i = document.getElementById("i"); 15 var i = document.getElementById("i");
16 i.src = "about:blank"; 16 i.src = "about:blank";
17 setTimeout(function() { 17 setTimeout(function() {
18 i.src = "resources/pass-and-notify-done.html" 18 i.src = "resources/pass-and-notify-done.html"
19 }, 0); 19 }, 0);
20 </script> 20 </script>
21 </body> 21 </body>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698