Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/Firefox/intl/uconv/tests/   (Browser von der Mozilla Stiftung Version 136.0.1©)  Datei vom 10.2.2025 mit Größe 1 kB image not shown  

Quelle  test_big5_encoder.html   Sprache: HTML

 
 products/Sources/formale Sprachen/C/Firefox/intl/uconv/tests/test_big5_encoder.html


<!DOCTYPE HTML>
<html>
<!--
https://bugzilla.mozilla.org/show_bug.cgi?id=912470
-->

<head>
  <meta http-equiv="Content-type" content="text/html; charset=UTF-8">
  <title>Test for Unicode non-characters</title>
  <script src="/tests/SimpleTest/SimpleTest.js"></script>
  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
</head>
<body onload="test()">
<pre id="test">
<script class="testbody" type="text/javascript">
/* NOTE:
 * When we make our data: URL origin work as in Blink, this test will fail.
 * Hopefully, by that time are URL parser has become spec-compliant, so that
 * we'll pass the Web Platform Test for the big5 encoder
 * (testing/web-platform/tests/encoding/big5-encoder.html) and this test can
 * simply be removed.
 */
SimpleTest.waitForExplicitFinish();

function test() {
  var f = document.getElementsByTagName("iframe")[0];
  f.onload = function() {
    var href = SpecialPowers.wrap(f).contentWindow.location.href;
    var index = href.indexOf("?foo=");
    var actual = href.substring(index + 5);
    var expected = "h%26%2340614%3Bi%26%23156267%3Bj%A1%40k%A3%E1l%A4%40m%C8%A4n%C8%CDo%FE%FEp%26%238365%3Bq%FDjr%F9%F9s%26%23128169%3Bt";
    is(actual, expected, "Should have gotten the expected encode.");
    SimpleTest.finish();
  }
  SpecialPowers.wrap(f).contentDocument.forms[0].submit();
}
</script>
</pre>
<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=912470">Mozilla Bug 912470</a>
<p id="display"></p>
<div id="content" style="display: none"><iframe src="data:text/html;charset=big5,
"
>
</div>
</body>
</html>

Messung V0.5
C=100 H=100 G=100

¤ Dauer der Verarbeitung: 0.1 Sekunden  (vorverarbeitet)  ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

Beweissystem der NASA

Beweissystem Isabelle

NIST Cobol Testsuite

Cephes Mathematical Library

Wiener Entwicklungsmethode

Haftungshinweis

Die Informationen auf dieser Webseite wurden nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit, noch Qualität der bereit gestellten Informationen zugesichert.

Bemerkung:

Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.