Home | History | Annotate | Download | only in encoding
      1 <html>
      2     <head>
      3         <title>Encoding test.</title>
      4         <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> 
      5            </head>
      6     <body>
      7         This page tests that the character encoding is used for dynamically loaded 
      8         scripts when no charset is specified directly or provided by the server.
      9         
     10         <div id="target"></div>
     11         <script>
     12             if (window.layoutTestController) {
     13                 window.layoutTestController.waitUntilDone();
     14                 window.layoutTestController.dumpAsText();
     15             }
     16             tokyo = '';
     17             oDIVResults=document.createElement('script'); 
     18             oDIVResults.src="resources/dynamic-load-target.js";
     19             document.getElementsByTagName("head").item(0).appendChild(oDIVResults);
     20         </script>
     21     </body>
     22 </html>
     23