13 lines
454 B
HTML
13 lines
454 B
HTML
<form method="get" action="resources/form-submission-before-load-page2.html"></form>
|
|
<script>
|
|
if (window.testRunner) {
|
|
testRunner.clearBackForwardList();
|
|
testRunner.dumpBackForwardList();
|
|
testRunner.dumpAsText();
|
|
testRunner.waitUntilDone();
|
|
}
|
|
// Test that submitting the form, using a GET method, before the 'load' event
|
|
// results in the current session history item being replaced by the next one.
|
|
document.forms[0].submit();
|
|
</script>
|