Roll src/third_party/WebKit e0eac24:489c548 (svn 193311:193320)
[chromium-blink-merge.git] / content / test / data / session_history / post.html
blobab89b76d8781a744f75a4b94ea1e0889da9aeaf2
1 <html>
2 <head>
3 <title>post</title>
4 <script>
5 // stolen from darin's page cycler
6 var options = location.search.substring(1).split('&');
8 function getopt(name) {
9 var r = new RegExp("^" + name + "=");
10 for (i = 0; i < options.length; ++i) {
11 if (options[i].match(r)) {
12 return options[i].substring(name.length + 1);
15 return null;
18 function checkParams() {
19 document.title = "post:" + getopt("text") + "," + getopt("select");
21 checkParams();
22 </script>
23 </head>
25 <body>
26 Form submission accepted. Thanks for playing.
27 </body>
28 </html>