summaryrefslogtreecommitdiffstats
path: root/LayoutTests/fast/encoding/euckr-name.html
blob: b8d62feb6c1b40d83888bcb47c59c8a0df016aa7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=euc-kr" />
</head>
<BODY>
<p>Test for <a href="http://bugs.webkit.org/show_bug.cgi?id=25487">bug 25487</a>. Even though we treat EUC-KR as windows-949, the name exposed via DOM APIs should still be EUC-KR.</p>  
<script>
  if (window.layoutTestController)
    layoutTestController.dumpAsText();

  var encodingElems = ["characterSet", "charset", "inputEncoding"];
  for (var i in encodingElems) {
    var charset = eval('document.' + encodingElems[i]);
    document.write(encodingElems[i] +": " + charset + " (should be EUC-KR)<br>");
  }
</script>
</body>
</html>