test_TextDecoder.html 750 B

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