Add copy of .ttf font with .eot extension for testing
[wine-gecko.git] / docshell / test / bug94514-postpage.html
blobcbbaf638a355f671abc6244c06736bea8c9d46e4
1 <!DOCTYPE HTML>
2 <html>
3 <!--
4 https://bugzilla.mozilla.org/show_bug.cgi?id=94514
5 Specifically, this is a test page that actually submits a form.
6 -->
7 <head>
8 <title>Test Page for Bug 94515</title>
9 <script type="text/javascript" src="/MochiKit/MochiKit.js"></script>
10 </head>
11 <body>
12 <form id="testForm" method="POST">
13 <input type="submit" id="send"/>
14 </form>
16 <script class="testbody" type="text/javascript">
18 netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect");
19 if (!window.location.href.match("posted=1")) {
20 // Here we just submit the form
21 var form = $("testForm");
22 form.action = window.location.href + "?posted=1";
23 form.submit();
24 } else {
25 window.opener.finishTest();
28 </script>
29 </body>
30 </html>