Fri, 16 Jan 2015 18:13:44 +0100
Integrate suggestion from review to improve consistency with existing code.
1 <!DOCTYPE HTML>
2 <html>
3 <head>
4 <meta charset=utf-8>
5 <title>Test for TextDecoder</title>
6 <script type="text/javascript" src="/resources/testharness.js"></script>
7 <script type="text/javascript" src="/resources/testharnessreport.js"></script>
8 <script type="text/javascript" src="test_TextDecoder.js"></script>
9 <script type="text/javascript" src="test_BOMEncoding.js"></script>
10 <script type="text/javascript" src="worker_helper.js"></script>
11 </head>
12 <body>
13 <div id="log"></div>
14 <script>
16 //SimpleTest.expectAssertions(0, 2);
18 setup({explicit_done: true});
19 runTest();
21 function runTest()
22 {
23 runTextDecoderOptions();
24 runTextDecoderBOMEnoding();
25 }
27 runTestInWorker(["test_TextDecoder.js", "test_BOMEncoding.js"]);
29 </script>
30 </body>
31 </html>