blob: b5394ba5f6a6a04c4f8ae9d9d6b00a1a8a4b257b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
<form method="post" 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 POST method, before the 'load' event
// results in the current session history item being replaced by the next one.
document.forms[0].submit();
</script>
|