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

Side by Side Diff: Tools/TestWebKitAPI/Tests/WebKit2/auto-submitting-form.html

Issue 13602008: Remove non-chromium code from TestWebKitAPI (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 8 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 | Annotate | Revision Log
OLDNEW
(Empty)
1 <html>
2 <head>
3 <script>
4 function submitFormIfNecessary()
5 {
6 if (window.location.search)
7 return;
8 document.forms[0].submit.click();
9 }
10 </script>
11 </head>
12 <body onload="submitFormIfNecessary()">
13 <form action="#" method="GET">
14 <input type="text" name="textField" value="text field">
15 <input type="password" name="passwordField" value="password field">
16 <input type="hidden" name="hiddenField" value="hidden field">
17 <input type="submit" name="submit">
18 </form>
19 </body>
20 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698