toolkit/components/satchel/test/subtst_privbrowsing.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   <title>Subtest for bug 472396</title>
     4   <script>
     5   function submitForm() {
     6     if (location.search.indexOf("field") == -1) {
     7       var form  = document.getElementById("form");
     8       var field = document.getElementById("field");
     9       field.value = "value";
    10       form.submit();
    11     }
    12   }
    13   </script>
    14 </head>
    15 <body onload="submitForm();">
    16   <h2>Subtest for bug 472396</h2>
    17   <form id="form">
    18     <input name="field" id="field">
    19   </form>
    20 </body>
    21 </html>

mercurial