2012-09-28 03:19:18 -07:00
|
|
|
<!DOCTYPE HTML>
|
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<meta charset=utf-8>
|
2012-12-21 16:16:14 -08:00
|
|
|
<title>Test for TextDecoder</title>
|
2012-09-28 03:19:18 -07: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-21 16:16:14 -08:00
|
|
|
<script type="text/javascript" src="worker_helper.js"></script>
|
2012-09-28 03:19:18 -07:00
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<div id="log"></div>
|
|
|
|
<script>
|
|
|
|
|
2013-02-25 18:39:21 -08:00
|
|
|
SimpleTest.expectAssertions(0, 2);
|
|
|
|
|
2012-12-21 16:16:14 -08:00
|
|
|
setup({explicit_done: true});
|
2012-09-28 03:19:18 -07:00
|
|
|
runTest();
|
|
|
|
|
|
|
|
function runTest()
|
|
|
|
{
|
|
|
|
runTextDecoderOptions();
|
|
|
|
runTextDecoderBOMEnoding();
|
|
|
|
}
|
|
|
|
|
2012-12-21 16:16:14 -08:00
|
|
|
runTestInWorker(["test_TextDecoder.js", "test_BOMEncoding.js"]);
|
|
|
|
|
2012-09-28 03:19:18 -07:00
|
|
|
</script>
|
|
|
|
</body>
|
|
|
|
</html>
|