summaryrefslogtreecommitdiffstats
path: root/dom/browser-element/mochitest/file_post_request.html
blob: 773193067c9a69538e5c110b175f46e5fc0270fc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<html>
<head>
  <script>
  addEventListener('load', function() {
    document.getElementsByTagName('form')[0].submit();
  });
  </script>
</head>
<body>
  <form action="file_empty.html" method="POST">
    <input type="text" name="postvalue" value="I am a test string!!" />
    <input type="submit" />
  </form>
</body>
</html>