mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
5aaa5f807f
--HG-- extra : rebase_source : ccaa4e2f64ef6aeeaf6371fba3f3d15c3ed7a340
31 lines
792 B
HTML
31 lines
792 B
HTML
<!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/packed.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.location.href = "http://mochi.test:8888/tests/docshell/test/bug94514-postpage.html";
|
|
}
|
|
|
|
</script>
|
|
</body>
|
|
</html>
|