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.

Untracked file

Line Code
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
<!DOCTYPE HTML>
<html>
<!--
https://bugzilla.mozilla.org/show_bug.cgi?id=94514
Specifically, this is a test page that actually submits a form.
-->
<head>
  <title>Test Page for Bug 94515</title>
  <script type="text/javascript" src="/MochiKit/MochiKit.js"></script>
</head>
<body>
<form id="testForm" method="POST">
  <input type="submit" id="send"/>
</form>

<script class="testbody" type="text/javascript">

netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect");
if (!window.location.href.match("posted=1")) {
  // Here we just submit the form
  var form = $("testForm");
  form.action = window.location.href + "?posted=1";
  form.submit();
} else {
  window.opener.finishTest();
}

</script>
</body>
</html>