1 <!-- temp --><script language="JavaScript" type="text/JavaScript"> 2 if (window.layoutTestController) { 3 layoutTestController.dumpAsText(); 4 layoutTestController.waitUntilDone(); 5 } 6 document.write ('<SCR' + 'IPT>' + 7 8 'setTimeout(function () {' + 9 <!-- The letters CCE below are Cyrillic, so we do test that the encoding is correct. --> 10 <!-- We also take an opportunity to test that this weirdly located script actually executes. --> 11 'document.getElementById("result").innerHTML="SUSS";' + 12 'if (window.layoutTestController)' + 13 'layoutTestController.notifyDone();' + 14 '}, 0);' + 15 '</SCR' + 'IPT>');document.close(); </script> 16 <!-- /temp --><!--HEADER--> 17 18 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" 19 "http://www.w3.org/TR/html4/loose.dtd"> 20 <html> 21 <head> 22 <meta http-equiv="Content-Type" content="text/html; charset=koi8-r"> 23 </head> 24 <body> 25 <p>Test for <a href="http://bugs.webkit.org/show_bug.cgi?id=12165">bug 12165</a>: 26 text encoding problem at jn.sapo.pt</p> 27 <p>Should see a success message below.</p> 28 <div id="result"></div> 29 </body> 30 </html> 31