dom/browser-element/mochitest/file_post_request.html

Thu, 15 Jan 2015 21:03:48 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 21:03:48 +0100
branch
TOR_BUG_9701
changeset 11
deefc01c0e14
permissions
-rw-r--r--

Integrate friendly tips from Tor colleagues to make (or not) 4.5 alpha 3;
This includes removal of overloaded (but unused) methods, and addition of
a overlooked call to DataStruct::SetData(nsISupports, uint32_t, bool.)

     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