chromium/third_party/blink/web_tests/http/tests/navigation/resources/forward-and-cancel-frames.html

<!-- Parent page -->
<script>
function clickLink() {
  // Simulate a mouse click on a link targeting the child frame.
  var evt = document.createEvent("MouseEvents");
  evt.initMouseEvent("click", true, true, window,
      0, 0, 0, 0, 0, false, false, false, false, 0, null);
  document.getElementById("link").dispatchEvent(evt);
}
</script>
<!-- Child iframe -->
<iframe name="frame1" src="data:text/html,initial"></iframe>
<br>
<p>This test checks that the backForward list is not corrupted when a frame load is canceled.
<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.