tor-browser

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

test_bug597345.html (877B)


      1 <!DOCTYPE HTML>
      2 <html>
      3 <!--
      4 https://bugzilla.mozilla.org/show_bug.cgi?id=597345
      5 -->
      6 <head>
      7  <title>Test for Bug 597345</title>
      8  <script src="/tests/SimpleTest/SimpleTest.js"></script>
      9  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/>
     10 </head>
     11 <body>
     12 <a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=597345">Mozilla Bug 597345</a>
     13 <pre id="test">
     14  <!-- We want no spaces inside span id="target".  The 'stray' close comment at
     15       the end of that span needs to be there! -->
     16  <span id="target"><script
     17    src="script-1_bug597345.sjs"></script><script
     18    charset="ISO-5559-1" src="script-2_bug597345.js"></script>--></span>
     19 <script type="application/javascript">
     20 
     21 /** Test for Bug 597345 */
     22 is($("target").textContent, "R\u00e4ksm\u00f6rg\u00e5s",
     23   "script-2 should be decoded as UTF-8");
     24 </script>
     25 </pre>
     26 </body>
     27 </html>