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

Side by Side Diff: LayoutTests/fast/forms/formmethod-attribute-test.html

Issue 48903019: Delete js-test-post.js. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 1 month 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 | Annotate | Revision Log
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <body> 3 <body>
4 <script src="../js/resources/js-test-pre.js"></script> 4 <script src="../js/resources/js-test-pre.js"></script>
5 5
6 <p>Test formmethod attribute</p> 6 <p>Test formmethod attribute</p>
7 7
8 <form id=f1 method="post"> 8 <form id=f1 method="post">
9 <input type="submit" value="Submit" id="ip1"> 9 <input type="submit" value="Submit" id="ip1">
10 <input type="submit" formmethod="" value="Submit" id="ip2"> 10 <input type="submit" formmethod="" value="Submit" id="ip2">
(...skipping 28 matching lines...) Expand all
39 shouldBeEqualToString("ip4.formMethod", "get"); 39 shouldBeEqualToString("ip4.formMethod", "get");
40 shouldBeEqualToString("ip4.getAttribute('formmethod')", "get"); 40 shouldBeEqualToString("ip4.getAttribute('formmethod')", "get");
41 debug(''); 41 debug('');
42 42
43 debug('Invalid value'); 43 debug('Invalid value');
44 var ip5 = document.getElementById('ip5'); 44 var ip5 = document.getElementById('ip5');
45 shouldBeEqualToString("ip5.formMethod", "get"); 45 shouldBeEqualToString("ip5.formMethod", "get");
46 shouldBeEqualToString("ip5.getAttribute('formmethod')", "foo"); 46 shouldBeEqualToString("ip5.getAttribute('formmethod')", "foo");
47 debug(''); 47 debug('');
48 </script> 48 </script>
49 <script src="../js/resources/js-test-post.js"></script>
50 </body> 49 </body>
51 </html> 50 </html>
52 51
OLDNEW
« no previous file with comments | « LayoutTests/fast/forms/formmethod-attribute-input-html.html ('k') | LayoutTests/fast/forms/formnovalidate-attribute.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698