dom/browser-element/mochitest/file_post_request.html

Fri, 16 Jan 2015 18:13:44 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Fri, 16 Jan 2015 18:13:44 +0100
branch
TOR_BUG_9701
changeset 14
925c144e1f1f
permissions
-rw-r--r--

Integrate suggestion from review to improve consistency with existing code.

     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