Wed, 31 Dec 2014 06:09:35 +0100
Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.
1 <form name="formGo" method="post">
2 <input type="hidden">
3 </form>
4 <script>
5 var form1 = document.formGo;
6 </script>
7 <form name="formGo2" method="post">
8 <input type="Hidden">
9 </form>
10 <script>
11 var form2 = document.formGo2;
12 </script>
13 <!-- NOTE: The forms and scripts above this comment _must_ come first in this file-->
14 <!DOCTYPE HTML>
15 <html>
16 <!--
17 https://bugzilla.mozilla.org/show_bug.cgi?id=418464
18 -->
19 <head>
20 <title>Test for Bug 418464</title>
21 <script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
22 <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
23 </head>
24 <body>
25 <a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=418464">Mozilla Bug 418464</a>
26 <p id="display"></p>
27 <div id="content" style="display: none">
29 </div>
30 <pre id="test">
31 <script class="testbody" type="text/javascript">
33 /** Test for Bug 418464 **/
34 is(form1 instanceof HTMLFormElement, true,
35 "Should have a form here");
36 is(form2 instanceof HTMLFormElement, true,
37 "Should have a form here");
39 </script>
40 </pre>
41 </body>
42 </html>