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

Unified Diff: third_party/WebKit/LayoutTests/fast/forms/multiple-form-submission-protection-mouse.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/multiple-form-submission-protection-mouse.html
diff --git a/third_party/WebKit/LayoutTests/fast/forms/multiple-form-submission-protection-mouse.html b/third_party/WebKit/LayoutTests/fast/forms/multiple-form-submission-protection-mouse.html
index e88f6e5798547ae6cbc2380edaa7f2a169213d38..2901e06e06400fb4385adee75786e9c5d7484525 100644
--- a/third_party/WebKit/LayoutTests/fast/forms/multiple-form-submission-protection-mouse.html
+++ b/third_party/WebKit/LayoutTests/fast/forms/multiple-form-submission-protection-mouse.html
@@ -43,7 +43,7 @@ function submitTo(target)
<li>Click on "Click 2" to submit form to this window. Single word "SUCCESS" should replace the contents of this document.
</ol>
<p>If either event doesn't occur, the test has failed.
-<form method="post" name="test" action="data:text/html,<script>if (opener) { opener.postMessage('trololo', '*'); window.close(); } else { document.write('SUCCESS'); window.testRunner && testRunner.notifyDone(); }</script>">
+<form method="post" name="test" action="resources/multiple-form-submission-protection-post-target.html">
<input type="button" id="button1" value="Click 1" onclick="submitTo('_new')">
<input type="button" id="button2" value="Click 2" onclick="submitTo('_self')">
</form>

Powered by Google App Engine
This is Rietveld 408576698