content/base/test/test_bug322317.html

changeset 0
6474c204b198
equal deleted inserted replaced
-1:000000000000 0:a34bdaf9b33f
1 <!DOCTYPE HTML>
2 <html>
3 <!--
4 https://bugzilla.mozilla.org/show_bug.cgi?id=322317
5 -->
6 <head>
7 <title>Test for Bug 322317</title>
8 <script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
9 <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
10 </head>
11 <body>
12 <a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=322317">Mozilla Bug 322317</a>
13 <p id="display"></p>
14 <div id="content" style="display: none">
15
16 </div>
17 <pre id="test">
18 <script class="testbody" type="text/javascript">
19
20 /** Test for Bug 322317 **/
21 /* Test that this does not throw exceptions */
22 var http =new XMLHttpRequest();
23 http.open("GET", window.location.href);
24 http.send(null);
25 http.open("GET", window.location.href);
26 http.send(null);
27 is(1, 1, "Got here, yay!");
28
29 </script>
30 </pre>
31 </body>
32 </html>
33

mercurial