2008-04-21 03:50:45 -07:00
|
|
|
<!DOCTYPE HTML>
|
|
|
|
<html>
|
|
|
|
<!--
|
|
|
|
https://bugzilla.mozilla.org/show_bug.cgi?id=171813
|
|
|
|
-->
|
|
|
|
<head>
|
|
|
|
<title>Test for Bug 171813</title>
|
2010-02-03 13:35:15 -08:00
|
|
|
<script type="text/javascript"
|
|
|
|
src="chrome://mochikit/content/MochiKit/packed.js"></script>
|
|
|
|
<script type="text/javascript"
|
|
|
|
src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js">
|
|
|
|
</script>
|
2008-04-21 03:50:45 -07:00
|
|
|
<script type="text/javascript" src="CharsetDetectionTests.js"></script>
|
2010-02-03 13:35:15 -08:00
|
|
|
<link rel="stylesheet" type="text/css"
|
|
|
|
href="chrome://mochikit/content/tests/SimpleTest/test.css" />
|
2008-04-21 03:50:45 -07:00
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=171813">Mozilla Bug 171813</a>
|
|
|
|
<p id="display"></p>
|
|
|
|
<div id="content" style="display: none">
|
|
|
|
</div>
|
|
|
|
<iframe id="testframe"></iframe>
|
|
|
|
<pre id="test">
|
|
|
|
<script class="testbody" type="text/javascript">
|
|
|
|
/** Test for Bug 171813 **/
|
|
|
|
CharsetDetectionTests("bug171813_text.html",
|
|
|
|
"gb18030",
|
|
|
|
new Array("zh_parallel_state_machine",
|
|
|
|
"zhcn_parallel_state_machine",
|
|
|
|
"cjk_parallel_state_machine",
|
|
|
|
"universal_charset_detector"));
|
|
|
|
</script>
|
|
|
|
</pre>
|
|
|
|
</body>
|
|
|
|
</html>
|
|
|
|
|