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

Side by Side Diff: chrome/test/data/template_url_scraper/submit_handler/index.html

Issue 62145: Yet another scrape atttempt (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 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 <title>Submit handler TemplateURL scraping test</title>
4 <script>
5
6 function submit_handler() {
7 document.getElementById("data").value = "test_data";
8 }
9
10 function submit_form() {
11 document.forms[0].submit();
12 }
13
14 </script>
15 </head>
16
17 <body onload="submit_form();">
18 <form action="http://www.foo.com:1337" onsubmit="submit_handler();">
19 <input type="hidden" id="data" />
20 <input type="text" name="q" />
21 <input type="submit" />
22 </form>
23 </body>
24 </html>
OLDNEW
« no previous file with comments | « chrome/browser/search_engines/template_url_scraper_unittest.cc ('k') | chrome/test/in_process_browser_test.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698