4 // Simulate a mouse click on a link targeting the child frame.
5 var evt = document.createEvent("MouseEvents");
6 evt.initMouseEvent("click", true, true, window,
7 0, 0, 0, 0, 0, false, false, false, false, 0, null);
8 document.getElementById("link").dispatchEvent(evt);
12 <iframe id="frame1" name="frame1" src="about:blank"></iframe>
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="frame1">click here</a> and then Back. Then click Forward and quickly click Stop. Ensure that Back and Forward still work.