2012-09-28 14:19:18 +04:00
|
|
|
<!DOCTYPE HTML>
|
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<meta charset=utf-8>
|
2012-12-22 04:16:14 +04:00
|
|
|
<title>Test for TextDecoder</title>
|
2012-09-28 14:19:18 +04:00
|
|
|
<script type="text/javascript" src="/resources/testharness.js"></script>
|
|
|
|
<script type="text/javascript" src="/resources/testharnessreport.js"></script>
|
|
|
|
<script type="text/javascript" src="test_TextDecoder.js"></script>
|
|
|
|
<script type="text/javascript" src="test_BOMEncoding.js"></script>
|
2012-12-22 04:16:14 +04:00
|
|
|
<script type="text/javascript" src="worker_helper.js"></script>
|
2012-09-28 14:19:18 +04:00
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<div id="log"></div>
|
|
|
|
<script>
|
|
|
|
|
2013-06-20 19:54:40 +04:00
|
|
|
//SimpleTest.expectAssertions(0, 2);
|
2013-02-26 06:39:21 +04:00
|
|
|
|
2012-12-22 04:16:14 +04:00
|
|
|
setup({explicit_done: true});
|
2012-09-28 14:19:18 +04:00
|
|
|
runTest();
|
|
|
|
|
|
|
|
function runTest()
|
|
|
|
{
|
|
|
|
runTextDecoderOptions();
|
|
|
|
runTextDecoderBOMEnoding();
|
|
|
|
}
|
|
|
|
|
2012-12-22 04:16:14 +04:00
|
|
|
runTestInWorker(["test_TextDecoder.js", "test_BOMEncoding.js"]);
|
|
|
|
|
2012-09-28 14:19:18 +04:00
|
|
|
</script>
|
|
|
|
</body>
|
|
|
|
</html>
|