tor-browser

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

test_bug1448048.html (961B)


      1 <!DOCTYPE HTML>
      2 <html>
      3 <!--
      4 https://bugzilla.mozilla.org/show_bug.cgi?id=1448048
      5 -->
      6 <head>
      7  <meta charset="utf-8">
      8  <title>Test for Bug 1448048</title>
      9  <script src="/tests/SimpleTest/SimpleTest.js"></script>
     10  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/>
     11  <script type="application/javascript">
     12 
     13    /** Test for Bug 1448048 **/
     14    var { AppConstants } = SpecialPowers.ChromeUtils.importESModule(
     15      "resource://gre/modules/AppConstants.sys.mjs"
     16    );
     17    if (AppConstants.NIGHTLY_BUILD) {
     18      is(typeof Components, "undefined", "Should be no Components shim on Nightly");
     19    } else {
     20      is(typeof Components, "object", "Should have a components shim on non-Nightly");
     21    }
     22  </script>
     23 </head>
     24 <body>
     25 <a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1448048">Mozilla Bug 1448048</a>
     26 <p id="display"></p>
     27 <div id="content" style="display: none">
     28 
     29 </div>
     30 <pre id="test">
     31 </pre>
     32 </body>
     33 </html>