2008-02-06 18:18:07 +00:00
|
|
|
<!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>
|
2009-05-06 20:46:04 +00:00
|
|
|
<script type="text/javascript" src="/MochiKit/packed.js"></script>
|
2008-02-06 18:18:07 +00:00
|
|
|
</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>
|