summaryrefslogtreecommitdiffstats
path: root/toolkit/components/satchel/test/subtst_privbrowsing.html
blob: a61da1a714f12e5575ec1f3902f061a32206e9d8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<html>
<head>
  <meta charset=UTF-8>
  <title>Subtest for bug 472396</title>
  <script>
  /* exported submitForm */
  function submitForm() {
    if (!location.search.includes("field")) {
      let form  = document.getElementById("form");
      let field = SpecialPowers.wrap(document.getElementById("field"));
      field.setUserInput("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>