blob: 44c96a1eb07738d47846f160325998372014ed99 [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html lang="ja">
<HEAD>
<meta http-equiv="Content-Type" content="text/html;charset=Shift_JIS">
</HEAD>
<body onload="test()">
<p>Test encoding of mailto URLs. Click on the URL - a new message
with Japanese subject and body should open in your mail client.</p>
<a href="mailto:?subject=ƒ^ƒCƒgƒ‹&body=–{•¶">
<span>Subject : Japanese Body : Japanese</span>
</a>
<script>
function test() {
if (window.layoutTestController) {
layoutTestController.dumpAsText();
layoutTestController.setCustomPolicyDelegate(true);
var a = document.getElementsByTagName("a")[0];
eventSender.mouseMoveTo(a.offsetLeft + 5, a.offsetTop + 5);
eventSender.mouseDown();
eventSender.mouseUp();
layoutTestController.setCustomPolicyDelegate(false);
}
}
</script>
</body>
</html>