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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/forms/multiple-form-submission-protection-mouse.html

Issue 2694903007: Add a warning for the deprecation of content-initiated data URL navigations (Closed)
Patch Set: creis comments 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 unified diff | Download patch
OLDNEW
1 <html> 1 <html>
2 <head> 2 <head>
3 <script> 3 <script>
4 4
5 if (window.testRunner) { 5 if (window.testRunner) {
6 testRunner.dumpAsText(); 6 testRunner.dumpAsText();
7 testRunner.setCanOpenWindows(); 7 testRunner.setCanOpenWindows();
8 testRunner.waitUntilDone(); 8 testRunner.waitUntilDone();
9 } 9 }
10 10
(...skipping 25 matching lines...) Expand all
36 36
37 </script> 37 </script>
38 </head> 38 </head>
39 <body onload="runTest()"> 39 <body onload="runTest()">
40 <p>This test ensures that multiple form submission protection is correctly reset on mouse events. To test manually: 40 <p>This test ensures that multiple form submission protection is correctly reset on mouse events. To test manually:
41 <ol> 41 <ol>
42 <li>Click on "Click 1" to submit form to a new window. The window will close imm ediately. 42 <li>Click on "Click 1" to submit form to a new window. The window will close imm ediately.
43 <li>Click on "Click 2" to submit form to this window. Single word "SUCCESS" shou ld replace the contents of this document. 43 <li>Click on "Click 2" to submit form to this window. Single word "SUCCESS" shou ld replace the contents of this document.
44 </ol> 44 </ol>
45 <p>If either event doesn't occur, the test has failed. 45 <p>If either event doesn't occur, the test has failed.
46 <form method="post" name="test" action="data:text/html,<script>if (opener) { ope ner.postMessage('trololo', '*'); window.close(); } else { document.write('SUCCES S'); window.testRunner && testRunner.notifyDone(); }</script>"> 46 <form method="post" name="test" action="resources/multiple-form-submission-prote ction-post-target.html">
47 <input type="button" id="button1" value="Click 1" onclick="submitTo('_new')"> 47 <input type="button" id="button1" value="Click 1" onclick="submitTo('_new')">
48 <input type="button" id="button2" value="Click 2" onclick="submitTo('_self')"> 48 <input type="button" id="button2" value="Click 2" onclick="submitTo('_self')">
49 </form> 49 </form>
50 </body> 50 </body>
51 </html> 51 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698