blob: 0bb6206ecdb8a98eb539e63ba353702232d4562c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
<!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=タイトル&body=本文">
<span>Subject : Japanese Body : Japanese</span>
</a>
<script>
function test() {
if (window.layoutTestController) {
layoutTestController.dumpAsText();
layoutTestController.waitForPolicyDelegate();
var a = document.getElementsByTagName("a")[0];
eventSender.mouseMoveTo(a.offsetLeft + 5, a.offsetTop + 5);
eventSender.mouseDown();
eventSender.mouseUp();
}
}
</script>
</body>
</html>
|