summaryrefslogtreecommitdiffstats
path: root/toolkit/components/satchel/test/subtst_privbrowsing.html
blob: b53e0b2291790cf603d9ccad9467887579bf41fd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<html>
<head>
  <meta charset=UTF-8>
  <title>Subtest for bug 472396</title>
  <script>
  function submitForm() {
    if (location.search.indexOf("field") == -1) {
      var form  = document.getElementById("form");
      var field = document.getElementById("field");
      field.value = "value";
      form.submit();
    }
  }
  </script>
</head>
<body onload="submitForm();">
  <h2>Subtest for bug 472396</h2>
  <form id="form">
    <input name="field" id="field">
  </form>
</body>
</html>