Index: third_party/WebKit/LayoutTests/fast/forms/button-state-restore.html |
diff --git a/third_party/WebKit/LayoutTests/fast/forms/button-state-restore.html b/third_party/WebKit/LayoutTests/fast/forms/button-state-restore.html |
index cc75ab666561cb349da9cff1f2cf3bc9d332981c..33d25d5f5a7c0d4441ab043d621cd29e99a78ba0 100644 |
--- a/third_party/WebKit/LayoutTests/fast/forms/button-state-restore.html |
+++ b/third_party/WebKit/LayoutTests/fast/forms/button-state-restore.html |
@@ -31,8 +31,8 @@ |
input.value = "FAIL"; |
var form = document.getElementById("form"); |
- |
- // Submit form in a timeout to make sure that we create a new back/forward list item. |
+ |
+ // Submit form in a timeout to make sure that we create a new back/forward list item. |
setTimeout(function() {form.submit();}, 0); |
} |
</script> |
@@ -49,6 +49,6 @@ |
<button type="button" name="foo">Button</button> |
<input id="input" type="button" name="foo" value="PASS"> |
<input id="beenHere"> |
- <form action="data:text/html,<script>history.back()</script>" method="POST" id="form"></form> |
+ <form action="../../resources/back.html" method="POST" id="form"></form> |
</body> |
</html> |