Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(38)

Unified Diff: third_party/WebKit/LayoutTests/fast/forms/button-state-restore.html

Issue 2741513002: [Merge M-57] Add a warning for the deprecation of content-initiated data URL navigations (Closed)
Patch Set: Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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>

Powered by Google App Engine
This is Rietveld 408576698