dom/src/jsurl/test/form-submit.html

Thu, 15 Jan 2015 15:55:04 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 15:55:04 +0100
branch
TOR_BUG_9701
changeset 9
a63d609f5ebe
permissions
-rw-r--r--

Back out 97036ab72558 which inappropriately compared turds to third parties.

     1 <!DOCTYPE html>
     2 <head>
     3 <script>
     4   function test() {
     5     var form = document.getElementById("test");
     6     form.action = "pass.html";
     7     form.submit();
     8   }
     9 </script>
    10 <body>
    11 <form id="test" action="javascript:test()">
    12 <input type="submit" value="Submit the form; you should PASS when done">
    13 </form>
    14 </body>

mercurial