DXR is a code search and navigation tool aimed at making sense of large projects. It supports full-text and regex searches as well as structural queries.

Mercurial (5350524bb654)

VCS Links

Line Code
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>