|
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> |
|
15 |
|
16 //SimpleTest.expectAssertions(0, 2); |
|
17 |
|
18 setup({explicit_done: true}); |
|
19 runTest(); |
|
20 |
|
21 function runTest() |
|
22 { |
|
23 runTextDecoderOptions(); |
|
24 runTextDecoderBOMEnoding(); |
|
25 } |
|
26 |
|
27 runTestInWorker(["test_TextDecoder.js", "test_BOMEncoding.js"]); |
|
28 |
|
29 </script> |
|
30 </body> |
|
31 </html> |