|
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 </head> |
|
10 <body> |
|
11 <form id="testForm" method="POST"> |
|
12 <input type="submit" id="send"/> |
|
13 </form> |
|
14 |
|
15 <script class="testbody" type="text/javascript"> |
|
16 |
|
17 if (!window.location.href.match("posted=1")) { |
|
18 // Here we just submit the form |
|
19 var form = document.getElementById("testForm"); |
|
20 form.action = window.location.href + "?posted=1"; |
|
21 form.submit(); |
|
22 } else { |
|
23 window.location.href = "http://mochi.test:8888/tests/toolkit/components/places/tests/bug94514-postpage.html"; |
|
24 } |
|
25 |
|
26 </script> |
|
27 </body> |
|
28 </html> |