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

Side by Side Diff: LayoutTests/http/tests/navigation/resources/forward-and-cancel-frames.html

Issue 196523007: Revert of id of iframe incorrectly sets window name (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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 <!-- Parent page --> 1 <!-- Parent page -->
2 <script> 2 <script>
3 function clickLink() { 3 function clickLink() {
4 // Simulate a mouse click on a link targeting the child frame. 4 // Simulate a mouse click on a link targeting the child frame.
5 var evt = document.createEvent("MouseEvents"); 5 var evt = document.createEvent("MouseEvents");
6 evt.initMouseEvent("click", true, true, window, 6 evt.initMouseEvent("click", true, true, window,
7 0, 0, 0, 0, 0, false, false, false, false, 0, null); 7 0, 0, 0, 0, 0, false, false, false, false, 0, null);
8 document.getElementById("link").dispatchEvent(evt); 8 document.getElementById("link").dispatchEvent(evt);
9 } 9 }
10 </script> 10 </script>
11 <!-- Child iframe --> 11 <!-- Child iframe -->
12 <iframe name="frame1" src="about:blank"></iframe> 12 <iframe id="frame1" src="about:blank"></iframe>
13 <br> 13 <br>
14 <p>This test checks that the backForward list is not corrupted when a frame load is canceled. 14 <p>This test checks that the backForward list is not corrupted when a frame load is canceled.
15 <p>If testing manually, <a id="link" href="slow-resource.pl?delay=250" target="f rame1">click here</a> and then Back. Then click Forward and quickly click Stop. Ensure that Back and Forward still work. 15 <p>If testing manually, <a id="link" href="slow-resource.pl?delay=250" target="f rame1">click here</a> and then Back. Then click Forward and quickly click Stop. Ensure that Back and Forward still work.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698