dom/browser-element/mochitest/file_post_request.html

Wed, 31 Dec 2014 06:55:50 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:55:50 +0100
changeset 2
7e26c7da4463
permissions
-rw-r--r--

Added tag UPSTREAM_283F7C6 for changeset ca08bd8f51b2

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

mercurial