dom/browser-element/mochitest/file_post_request.html

Thu, 22 Jan 2015 13:21:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 22 Jan 2015 13:21:57 +0100
branch
TOR_BUG_9701
changeset 15
b8a032363ba2
permissions
-rw-r--r--

Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6

     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