Bug 1942639 - Propagate --filter argument from desktop_unittest.py to runreftest...
[gecko.git] / dom / bindings / test / test_bug788369.html
blob02d03ac1994061aa0438f9c9c6ae7b369ef9209c
1 <!DOCTYPE HTML>
2 <html>
3 <!--
4 https://bugzilla.mozilla.org/show_bug.cgi?id=788369
5 -->
6 <head>
7 <meta charset="utf-8">
8 <title>Test for Bug 788369</title>
9 <script src="/tests/SimpleTest/SimpleTest.js"></script>
10 <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/>
11 </head>
12 <body>
13 <a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=788369">Mozilla Bug 788369</a>
14 <p id="display"></p>
15 <div id="content" style="display: none">
16 </div>
17 <pre id="test">
18 <script type="application/javascript">
20 /** Test for Bug 788369 **/
21 try {
22 var xhr = new (window.ActiveXObject || XMLHttpRequest)("Microsoft.XMLHTTP");
23 ok(xhr instanceof XMLHttpRequest, "Should have an XHR object");
24 } catch (e) {
25 ok(false, "Should not throw exception when constructing: " + e);
27 </script>
28 </pre>
29 </body>
30 </html>