tor-browser

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

test_bug_1271796.html (1141B)


      1 <!DOCTYPE HTML>
      2 <!-- Any copyright is dedicated to the Public Domain.
      3     http://creativecommons.org/publicdomain/zero/1.0/ -->
      4 <html>
      5 <head>
      6  <script src="/tests/SimpleTest/SimpleTest.js"></script>
      7  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/>
      8  <script type="application/javascript">
      9      SimpleTest.waitForExplicitFinish();
     10 
     11      function good_shouldLoadEncodingProblem() {
     12        ok(true, "Problematically encoded file correctly loaded.")
     13      };
     14      function bad_shouldntEncounterBug1271796() {
     15        ok(false, "Problematically encoded should load!")
     16      }
     17      window.onload = function() {
     18        SimpleTest.finish();
     19      }
     20    </script>
     21   <link rel="stylesheet" href="file_bug_1271796.css" crossorigin="anonymous"
     22         integrity="sha384-8Xl0mTN4S2QZ5xeliG1sd4Ar9o1xMw6JoJy9RNjyHGQDha7GiLxo8l1llwLVgTNG"
     23         onload="good_shouldLoadEncodingProblem();"
     24         onerror="bad_shouldntEncounterBug1271796();">
     25 </head>
     26 <body>
     27 <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=1271796">Bug 1271796</a><br>
     28 <p>This text is prepended by emdash if css has loaded</p>
     29 </body>
     30 </html>