tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

test_bug788369.html (823B)


      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">
     19 
     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);
     26 }
     27 </script>
     28 </pre>
     29 </body>
     30 </html>