1<html> 2<head> 3<testme:meta charset=windows-1252> 4<meta charset=ISO-2022-JP> 5</head> 6<body> 7This test checks that the charset sniffer ignores namespaced meta tags. 8<pre id="log"></pre> 9<script> 10function log(message) 11{ 12 document.getElementById("log").innerText += message + "\n"; 13} 14 15if (window.layoutTestController) 16 layoutTestController.dumpAsText(); 17 18if (document.inputEncoding == "ISO-2022-JP") 19 log("PASS: " + document.inputEncoding); 20else 21 log("FAIL: " + document.inputEncoding); 22</script> 23</body> 24</html> 25