tor-browser

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

test_singlebyte_overconsumption.html (974B)


      1 <!DOCTYPE HTML>
      2 <html>
      3 <!--
      4 https://bugzilla.mozilla.org/show_bug.cgi?id=564679
      5 -->
      6 <head>
      7  <meta http-equiv="Content-type" content="text/html; charset=windows-1253">
      8  <title>Test for undefined codepoints</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 onload="test()">
     13 <pre id="test">
     14 <script class="testbody" type="text/javascript">
     15 
     16 /** test that single byte decoding resynchronizes after undefined codepoints */
     17 function test()
     18 {
     19    is($("display").innerHTML, "All good.", "No overconsumption");
     20    SimpleTest.finish();
     21 }
     22 
     23  SimpleTest.waitForExplicitFinish();
     24 </script>
     25 </pre>
     26 <a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=564679">Mozilla Bug 564679</a>
     27 <p id="display">Evil.</p>
     28 <div id="content" style="display: none"></div>
     29 <script type="text/javascript">
     30 $("display").innerHTML = "All good.";
     31  </script> ->
     32 </body>
     33 </html>