2008-11-04 Anders Carlsson <andersca@apple.com>
[webkit/qt.git] / LayoutTests / fast / encoding / mailto-always-utf-8.html
blob44c96a1eb07738d47846f160325998372014ed99
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2 <html lang="ja">
3 <HEAD>
4 <meta http-equiv="Content-Type" content="text/html;charset=Shift_JIS">
5 </HEAD>
6 <body onload="test()">
7 <p>Test encoding of mailto URLs. Click on the URL - a new message
8 with Japanese subject and body should open in your mail client.</p>
10 <a href="mailto:?subject=ƒ^ƒCƒgƒ‹&body=–{•¶">
11 <span>Subject : Japanese Body : Japanese</span>
12 </a>
14 <script>
15 function test() {
16 if (window.layoutTestController) {
17 layoutTestController.dumpAsText();
18 layoutTestController.setCustomPolicyDelegate(true);
19 var a = document.getElementsByTagName("a")[0];
20 eventSender.mouseMoveTo(a.offsetLeft + 5, a.offsetTop + 5);
21 eventSender.mouseDown();
22 eventSender.mouseUp();
23 layoutTestController.setCustomPolicyDelegate(false);
26 </script>
28 </body>
29 </html>