summaryrefslogtreecommitdiffstats
path: root/chrome_frame/test/data/full_tab_post_mshtml.html
blob: 7170e8addc2e8d0c87fb6cb55ff64ab1767f6767 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<html>
  <head>
    <title>FullTab mode POST test</title>
  </head>

  <script type="text/javascript" src="chrome_frame_tester_helpers.js"></script>

  <script type="text/javascript">
    function onLoad() {
      if (isRunningInChrome()) {
        location.href = "/quit?unexpectedly_running_in_chrome";
      } else {
        document.getElementById("myform").submit();
      }
    }
  </script>

  <body onload="setTimeout(onLoad, 100);">
    <form id="myform" action="full_tab_post_target_cf.html" method="POST">
      Field nr 1: <input type="text" name="field1" value="test1"/><br/>
      Field nr 2: <input type="text" name="field1" value="test2"/><br/>
      <input type="submit" value="Submit"/>
    </form>
  </body>
</html>